Subject: | Makepkg fails in Term::TermKey 0.14 |
Date: | Tue, 03 Jul 2012 14:38:39 +0200 |
To: | bug-Term-TermKey [...] rt.cpan.org |
From: | Maciej Ciemborowicz <pub [...] ciemborowicz.pl> |
I tried to install Term::TermKey with Perl v5.16.0 and libtermkey 0.15.
Here is full log:
==> Zaczynam build()
Version::Requirements is deprecated; replace with
CPAN::Meta::Requirements at
/usr/share/perl5/core_perl/Version/Requirements.pm line 17.
require Version/Requirements.pm called at
/usr/share/perl5/site_perl/CPAN/Meta/Prereqs.pm line 10
CPAN::Meta::Prereqs::BEGIN() called at
/usr/share/perl5/core_perl/Version/Requirements.pm line 0
eval {...} called at
/usr/share/perl5/core_perl/Version/Requirements.pm line 0
require CPAN/Meta/Prereqs.pm called at
/usr/share/perl5/site_perl/CPAN/Meta/Feature.pm line 7
CPAN::Meta::Feature::BEGIN() called at
/usr/share/perl5/core_perl/Version/Requirements.pm line 0
eval {...} called at
/usr/share/perl5/core_perl/Version/Requirements.pm line 0
require CPAN/Meta/Feature.pm called at
/usr/share/perl5/site_perl/CPAN/Meta.pm line 9
CPAN::Meta::BEGIN() called at
/usr/share/perl5/core_perl/Version/Requirements.pm line 0
eval {...} called at
/usr/share/perl5/core_perl/Version/Requirements.pm line 0
require CPAN/Meta.pm called at (eval 29) line 2
eval 'require CPAN::Meta
;' called at /usr/share/perl5/vendor_perl/Module/Build/Base.pm line 1664
Module::Build::Base::try_require('Module::Build=HASH(0x1896a30)',
'CPAN::Meta', 2.110420) called at
/usr/share/perl5/vendor_perl/Module/Build/Base.pm line 1897
Module::Build::Base::create_mymeta('Module::Build=HASH(0x1896a30)')
called at /usr/share/perl5/vendor_perl/Module/Build/Base.pm line 1957
Module::Build::Base::create_build_script('Module::Build=HASH(0x1896a30)')
called at Build.PL line 64
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Term-TermKey' version '0.14'
Building Term-TermKey
cc -I/usr/lib/perl5/core_perl/CORE -DXS_VERSION="0.14"
-DVERSION="0.14" -fPIC -c -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -o
lib/Term/TermKey.o lib/Term/TermKey.c
lib/Term/TermKey.xs: In function 'setup_constants':
lib/Term/TermKey.xs:47:3: error: 'TERMKEY_TYPE_POSITION' undeclared
(first use in this function)
lib/Term/TermKey.xs:47:3: note: each undeclared identifier is
reported only once for each function it appears in
lib/Term/TermKey.xs: In function
'XS_Term__TermKey__Key_type_is_position':
lib/Term/TermKey.xs:167:30: error: 'TERMKEY_TYPE_POSITION'
undeclared (first use in this function)
lib/Term/TermKey.xs: In function 'XS_Term__TermKey__Key_line':
lib/Term/TermKey.xs:282:62: error: 'TERMKEY_TYPE_POSITION'
undeclared (first use in this function)
lib/Term/TermKey.xs: In function 'XS_Term__TermKey__Key_col':
lib/Term/TermKey.xs:293:62: error: 'TERMKEY_TYPE_POSITION'
undeclared (first use in this function)
lib/Term/TermKey.xs: In function 'XS_Term__TermKey_new_abstract':
lib/Term/TermKey.xs:338:16: warning: assignment makes pointer from
integer without a cast [enabled by default]
lib/Term/TermKey.xs: In function 'XS_Term__TermKey_getkey':
lib/Term/TermKey.xs:465:54: error: 'TERMKEY_TYPE_POSITION'
undeclared (first use in this function)
lib/Term/TermKey.xs: In function 'XS_Term__TermKey_getkey_force':
lib/Term/TermKey.xs:481:54: error: 'TERMKEY_TYPE_POSITION'
undeclared (first use in this function)
lib/Term/TermKey.xs: In function 'XS_Term__TermKey_waitkey':
lib/Term/TermKey.xs:508:54: error: 'TERMKEY_TYPE_POSITION'
undeclared (first use in this function)
error building lib/Term/TermKey.o from 'lib/Term/TermKey.c' at
/usr/share/perl5/core_perl/ExtUtils/CBuilder/Base.pm line 177.
==> B?A;D: Wysta;pi? b?a;d w build().
Przerywam...
==> ERROR: Makepkg was unable to build perl-term-termkey.
--
Maciej Ciemborowicz
http://ciemborowicz.pl