#24 perl bug compilation on archlinux


# cat /root/.cpanm/build.log
cpanm (App::cpanminus) 1.5017 on perl 5.016002 built for x86_64-linux-thread-multi
Work directory is /root/.cpanm/work/1358280129.2581
You have make /usr/bin/make
You have LWP 6.04
You have /bin/tar: tar (GNU tar) 1.26
Copyright © 2011 Free Software Foundation, Inc.
Licence GPLv3+ : GNU GPL version 3 ou ultérieure <http://gnu.org/licenses/gpl.html>
Ceci est un logiciel libre : vous êtes libre de le modifier et de le redistribuer.
Il est fourni SANS GARANTIE, dans la mesure de ce que permet la loi.

Écrit par John Gilmore et Jay Fenlason.
You have /usr/bin/unzip
Searching Geo::IP on cpanmetadb ...
--> Working on Geo::IP
Fetching http://www.cpan.org/authors/id/B/BO/BORISZ/Geo-IP-1.40.tar.gz
-> OK
Unpacking Geo-IP-1.40.tar.gz
Entering Geo-IP-1.40
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02)
Configuring Geo-IP-1.40
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Geo::IP
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.63_02)
Building and testing Geo-IP-1.40
cp lib/Geo/Mirror.pm blib/lib/Geo/Mirror.pm
cp lib/Geo/IP/Record.pod blib/lib/Geo/IP/Record.pod
cp lib/Geo/IP/Record.pm blib/lib/Geo/IP/Record.pm
cp lib/Geo/IP.pm blib/lib/Geo/IP.pm
/usr/bin/perl /usr/share/perl5/core_perl/ExtUtils/xsubpp -typemap /usr/share/perl5/core_perl/ExtUtils/typemap -typemap typemap IP.xs > IP.xsc && mv IP.xsc IP.c
cc -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 -DVERSION=\"1.40\" -DXS_VERSION=\"1.40\" -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DPERL_EXT IP.c
Running Mkbootstrap for Geo::IP ()
chmod 644 IP.bs
rm -f blib/arch/auto/Geo/IP/IP.so
LD_RUN_PATH="/lib/../lib" cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector IP.o -o blib/arch/auto/Geo/IP/IP.so \ -lGeoIP \

chmod 755 blib/arch/auto/Geo/IP/IP.so
cp IP.bs blib/arch/auto/Geo/IP/IP.bs
chmod 644 blib/arch/auto/Geo/IP/IP.bs
Manifying blib/man3/Geo::Mirror.3pm
Manifying blib/man3/Geo::IP::Record.3pm
Manifying blib/man3/Geo::IP.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/0_base.t ............... ok
t/1_lookup.t ............. ok
t/20_min_capi_version.t .. ok
t/2_namelookup.t ......... ok
# Test 3 got: "http://cpan.hjc.edu.sg" (t/3_mirror.t at line 21)
# Expected: "http://www.adzu.edu.ph/CPAN"
# t/3_mirror.t line 21 is: ok($gm->find_mirror_by_addr(''), 'http://www.adzu.edu.ph/CPAN');
t/3_mirror.t .............
Failed 1/3 subtests

Test Summary Report
t/3_mirror.t (Wstat: 0 Tests: 3 Failed: 1)
Failed test: 3
Files=5, Tests=34, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.11 cusr 0.01 csys = 0.19 CPU)
Result: FAIL
Failed 1/5 test programs. 1/34 subtests failed.
make: *** [test_dynamic] Erreur 255
-> FAIL Installing Geo::IP failed. See /root/.cpanm/build.log for details.

note: I solved this problem by forcing installation.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks