Subject: | test fails when installing Module::Build |
This probably isn't a real bug. Was using CPAN to install a bunch of perl
modules as needed by Request Tracker, but this module fails.
Any suggestions would be great.
Details:
[root@optical rt-3-0-7_01]# cat /etc/issue ; uname -a
Red Hat Enterprise Linux AS release 3 (Taroon)
Kernel \r on an \m
Linux optical.math.ucdavis.edu 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:32:58 EDT 2003 x86_64 x86_64 x86_64 GNU/Linux
[root@optical rt-3-0-7_01]# perl -MCPAN -e shell
Undefined value assigned to typeglob at (eval 13) line 15, <RC> line 11.
Warning [/etc/inputrc line 11]:
Invalid variable `mark-symlinked-directories'
cpan shell -- CPAN exploration and modules installation (v1.76)
ReadLine support enabled
Show quoted text
cpan> install Module::Build
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 16 Dec 2003 14:46:52 GMT
Running install for module Module::Build
Running make for K/KW/KWILLIAMS/Module-Build-0.21.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/K/KW/KWILLIAMS/Module-Build-0.21.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/HTML-Parser-3.35 (10.5>10.0 MB)
Module-Build-0.21/
Module-Build-0.21/Build.PL
Module-Build-0.21/Changes
Module-Build-0.21/INSTALL.txt
Module-Build-0.21/lib/
Module-Build-0.21/lib/Module/
Module-Build-0.21/lib/Module/Build/
Module-Build-0.21/lib/Module/Build/Base.pm
Module-Build-0.21/lib/Module/Build/Compat.pm
Module-Build-0.21/lib/Module/Build/Cookbook.pm
Module-Build-0.21/lib/Module/Build/Platform/
Module-Build-0.21/lib/Module/Build/Platform/Amiga.pm
Module-Build-0.21/lib/Module/Build/Platform/cygwin.pm
Module-Build-0.21/lib/Module/Build/Platform/darwin.pm
Module-Build-0.21/lib/Module/Build/Platform/Default.pm
Module-Build-0.21/lib/Module/Build/Platform/EBCDIC.pm
Module-Build-0.21/lib/Module/Build/Platform/MacOS.pm
Module-Build-0.21/lib/Module/Build/Platform/MPEiX.pm
Module-Build-0.21/lib/Module/Build/Platform/RiscOS.pm
Module-Build-0.21/lib/Module/Build/Platform/Unix.pm
Module-Build-0.21/lib/Module/Build/Platform/VMS.pm
Module-Build-0.21/lib/Module/Build/Platform/VOS.pm
Module-Build-0.21/lib/Module/Build/Platform/Windows.pm
Module-Build-0.21/lib/Module/Build/PPMMaker.pm
Module-Build-0.21/lib/Module/Build.pm
Module-Build-0.21/Makefile.PL
Module-Build-0.21/MANIFEST
Module-Build-0.21/META.yml
Module-Build-0.21/README
Module-Build-0.21/SIGNATURE
Module-Build-0.21/t/
Module-Build-0.21/t/basic.t
Module-Build-0.21/t/common.pl
Module-Build-0.21/t/compat.t
Module-Build-0.21/t/extend.t
Module-Build-0.21/t/install.t
Module-Build-0.21/t/lib/
Module-Build-0.21/t/lib/ModuleBuildOne.pm
Module-Build-0.21/t/MANIFEST
Module-Build-0.21/t/manifypods.t
Module-Build-0.21/t/notes.t
Module-Build-0.21/t/runthrough.t
Module-Build-0.21/t/Sample/
Module-Build-0.21/t/Sample/bin/
Module-Build-0.21/t/Sample/bin/sample.pl
Module-Build-0.21/t/Sample/Build.PL
Module-Build-0.21/t/Sample/lib/
Module-Build-0.21/t/Sample/lib/Sample/
Module-Build-0.21/t/Sample/lib/Sample/Docs.pod
Module-Build-0.21/t/Sample/lib/Sample/NoPod.pm
Module-Build-0.21/t/Sample/lib/Sample/Script.PL
Module-Build-0.21/t/Sample/lib/Sample.pm
Module-Build-0.21/t/Sample/MANIFEST
Module-Build-0.21/t/Sample/META.yml
Module-Build-0.21/t/Sample/script
Module-Build-0.21/t/Sample/test.pl
Module-Build-0.21/t/signature.t
Module-Build-0.21/t/versions.t
Module-Build-0.21/t/xs.t
Module-Build-0.21/t/XSTest/
Module-Build-0.21/t/XSTest/Build.PL
Module-Build-0.21/t/XSTest/Changes
Module-Build-0.21/t/XSTest/lib/
Module-Build-0.21/t/XSTest/lib/XSTest.pm
Module-Build-0.21/t/XSTest/lib/XSTest.xs
Module-Build-0.21/t/XSTest/MANIFEST
Module-Build-0.21/t/XSTest/test.pl
Removing previously used /root/.cpan/build/Module-Build-0.21
CPAN.pm: Going to build K/KW/KWILLIAMS/Module-Build-0.21.tar.gz
/usr/bin/perl Build.PL
Checking whether your kit is complete...
Looks good
WARNING: YAML: Prerequisite YAML isn't installed
WARNING: ExtUtils::ParseXS: Prerequisite ExtUtils::ParseXS isn't installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation.
Creating new 'Build' script for 'Module-Build' version '0.21'
/usr/bin/perl Build
lib/Module/Build/Platform/darwin.pm -> blib/lib/Module/Build/Platform/darwin.pm
lib/Module/Build/Platform/MacOS.pm -> blib/lib/Module/Build/Platform/MacOS.pm
lib/Module/Build/Compat.pm -> blib/lib/Module/Build/Compat.pm
lib/Module/Build/Platform/RiscOS.pm -> blib/lib/Module/Build/Platform/RiscOS.pm
lib/Module/Build/Platform/VOS.pm -> blib/lib/Module/Build/Platform/VOS.pm
lib/Module/Build/Platform/Windows.pm -> blib/lib/Module/Build/Platform/Windows.pm
lib/Module/Build/Platform/Unix.pm -> blib/lib/Module/Build/Platform/Unix.pm
lib/Module/Build/Platform/Amiga.pm -> blib/lib/Module/Build/Platform/Amiga.pm
lib/Module/Build/Base.pm -> blib/lib/Module/Build/Base.pm
lib/Module/Build/Platform/cygwin.pm -> blib/lib/Module/Build/Platform/cygwin.pm
lib/Module/Build/Platform/EBCDIC.pm -> blib/lib/Module/Build/Platform/EBCDIC.pm
lib/Module/Build/Platform/MPEiX.pm -> blib/lib/Module/Build/Platform/MPEiX.pm
lib/Module/Build/Platform/VMS.pm -> blib/lib/Module/Build/Platform/VMS.pm
lib/Module/Build.pm -> blib/lib/Module/Build.pm
lib/Module/Build/PPMMaker.pm -> blib/lib/Module/Build/PPMMaker.pm
lib/Module/Build/Cookbook.pm -> blib/lib/Module/Build/Cookbook.pm
lib/Module/Build/Platform/Default.pm -> blib/lib/Module/Build/Platform/Default.pm
Manifying blib/lib/Module/Build/Platform/Unix.pm -> blib/libdoc/Module::Build::Platform::Unix.3pm
Manifying blib/lib/Module/Build/Platform/EBCDIC.pm -> blib/libdoc/Module::Build::Platform::EBCDIC.3pm
Manifying blib/lib/Module/Build/Platform/MacOS.pm -> blib/libdoc/Module::Build::Platform::MacOS.3pm
Manifying blib/lib/Module/Build.pm -> blib/libdoc/Module::Build.3pm
Manifying blib/lib/Module/Build/Platform/Amiga.pm -> blib/libdoc/Module::Build::Platform::Amiga.3pm
Manifying blib/lib/Module/Build/Platform/cygwin.pm -> blib/libdoc/Module::Build::Platform::cygwin.3pm
Manifying blib/lib/Module/Build/PPMMaker.pm -> blib/libdoc/Module::Build::PPMMaker.3pm
Manifying blib/lib/Module/Build/Platform/Windows.pm -> blib/libdoc/Module::Build::Platform::Windows.3pm
Manifying blib/lib/Module/Build/Platform/MPEiX.pm -> blib/libdoc/Module::Build::Platform::MPEiX.3pm
Manifying blib/lib/Module/Build/Platform/VOS.pm -> blib/libdoc/Module::Build::Platform::VOS.3pm
Manifying blib/lib/Module/Build/Platform/Default.pm -> blib/libdoc/Module::Build::Platform::Default.3pm
Manifying blib/lib/Module/Build/Platform/RiscOS.pm -> blib/libdoc/Module::Build::Platform::RiscOS.3pm
Manifying blib/lib/Module/Build/Cookbook.pm -> blib/libdoc/Module::Build::Cookbook.3pm
Manifying blib/lib/Module/Build/Platform/darwin.pm -> blib/libdoc/Module::Build::Platform::darwin.3pm
Manifying blib/lib/Module/Build/Platform/VMS.pm -> blib/libdoc/Module::Build::Platform::VMS.3pm
Manifying blib/lib/Module/Build/Base.pm -> blib/libdoc/Module::Build::Base.3pm
Manifying blib/lib/Module/Build/Compat.pm -> blib/libdoc/Module::Build::Compat.3pm
/usr/bin/make -- OK
Running make test
/usr/bin/perl Build test
t/basic.........ok
t/compat........ok
t/extend........ok
t/install.......ok
t/manifypods....ok 2/17Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 52.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 53.
Use of uninitialized value in string eq at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 54.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 54.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 55.
Use of uninitialized value in string eq at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 56.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 56.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 57.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 52.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 53.
Use of uninitialized value in string eq at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 54.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 54.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 55.
Use of uninitialized value in string eq at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 56.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 56.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.0/File/Spec/Unix.pm line 57.
t/manifypods....ok
t/notes.........ok
t/runthrough....ok 19/27Couldn't load YAML.pm: Can't locate YAML.pm in @INC (@INC contains: /root/.cpan/build/Module-Build-0.21/blib/lib /root/.cpan/build/Module-Build-0.21/blib/arch /root/.cpan/build/Module-Build-0.21/lib /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib64/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /root/.cpan/build/Module-Build-0.21 /usr/lib64/perl5/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib64/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0 .) at /root/.cpan/build/Module-Build-0.21/blib/lib/Module/Build/Base.pm line 1626.
t/runthrough....ok
6/27 skipped: YAML.pm is not installed
t/signature.....skipped
all skipped: Skipping unless $ENV{TEST_SIGNATURE} is true
t/versions......ok
t/xs............ok 2/10/usr/bin/ld: lib/XSTest.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
lib/XSTest.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
# Test 3 got: 'error building lib/XSTest.o from 'lib/XSTest.so' at /root/.cpan/build/Module-Build-0.21/blib/lib/Module/Build/Base.pm line 1856.
' (t/xs.t at line 27)
# Expected: ''
# t/xs.t line 27 is: ok $@, '';
t/xs............ok 5/10/usr/bin/ld: lib/XSTest.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
lib/XSTest.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
error building lib/XSTest.o from 'lib/XSTest.so' at /root/.cpan/build/Module-Build-0.21/blib/lib/Module/Build/Base.pm line 1856.
t/xs............ok 6/10/usr/bin/ld: lib/XSTest.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
lib/XSTest.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
# Test 7 got: 'error building lib/XSTest.o from 'lib/XSTest.so' at /root/.cpan/build/Module-Build-0.21/blib/lib/Module/Build/Base.pm line 1856.
' (t/xs.t at line 44)
t/xs............NOK 7# Expected: ''
# t/xs.t line 44 is: ok $@, '';
t/xs............FAILED tests 3, 7
Failed 2/10 tests, 80.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/xs.t 10 2 20.00% 3 7
1 test and 6 subtests skipped.
Failed 1/10 test scripts, 90.00% okay. 2/157 subtests failed, 98.73% okay.
make: *** [test] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Show quoted textcpan>