Subject: | CPAN install of Unix::Lsof 0.0.5 fails |
Date: | Wed, 18 Feb 2009 14:19:05 +0100 |
To: | bug-Unix-Lsof [...] rt.cpan.org |
From: | Riccardo Murri <rmurri [...] cscs.ch> |
On a CentOS5.2 (perl 5.8.8, lsof 4.78), installation fails::
# cpan -i Unix::Lsof
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 17 Feb 2009 17:26:55 GMT
Running install for module Unix::Lsof
Running make for M/MA/MARCB/Unix-Lsof/Unix-Lsof-v0.0.5.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/root/.cpan/sources/authors/id/M/MA/MARCB/Unix-Lsof/Unix-Lsof-v0.0.5.tar.gz
ok
Scanning cache /root/.cpan/build for sizes
Unix-Lsof-v0.0.5/
Unix-Lsof-v0.0.5/Makefile.PL
Unix-Lsof-v0.0.5/MANIFEST
Unix-Lsof-v0.0.5/Changes
Unix-Lsof-v0.0.5/t/
Unix-Lsof-v0.0.5/t/20.lsof-result.t
Unix-Lsof-v0.0.5/t/10.procedural.t
Unix-Lsof-v0.0.5/t/pod-coverage.t
Unix-Lsof-v0.0.5/t/pod.t
Unix-Lsof-v0.0.5/README
Unix-Lsof-v0.0.5/META.yml
Unix-Lsof-v0.0.5/Build.PL
Unix-Lsof-v0.0.5/lib/
Unix-Lsof-v0.0.5/lib/Unix/
Unix-Lsof-v0.0.5/lib/Unix/Lsof.pm
Unix-Lsof-v0.0.5/lib/Unix/Lsof/
Unix-Lsof-v0.0.5/lib/Unix/Lsof/Result.pm
Removing previously used /root/.cpan/build/Unix-Lsof-v0.0.5
CPAN.pm: Going to build M/MA/MARCB/Unix-Lsof/Unix-Lsof-v0.0.5.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Unix::Lsof
cp lib/Unix/Lsof/Result.pm blib/lib/Unix/Lsof/Result.pm
cp lib/Unix/Lsof.pm blib/lib/Unix/Lsof.pm
Manifying blib/man3/Unix::Lsof::Result.3pm
Manifying blib/man3/Unix::Lsof.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/10.procedural.....ok 1/19Use of uninitialized value in hash element
at /root/.cpan/build/Unix-Lsof-v0.0.5/blib/lib/Unix/Lsof.pm line 208.
Can't parse line g8186R8239cperlu0Lroot
# Looks like you planned 19 tests but only ran 13.
# Looks like your test died just after 13.
t/10.procedural.....dubious
Test
returned
status
255
(wstat
65280,
0xff00)
DIED. FAILED tests 14-19
Failed 6/19 tests, 68.42% okay (less 9 skipped tests: 4 okay,
21.05%)
t/20.lsof-result....ok 9/62Use of uninitialized value in hash element
at /root/.cpan/build/Unix-Lsof-v0.0.5/blib/lib/Unix/Lsof.pm line 208.
Can't parse line g8186R8239cperlu0Lroot
# Looks like you planned 62 tests but only ran 11.
# Looks like your test died just after 11.
t/20.lsof-result....dubious
Test
returned
status
255
(wstat
65280,
0xff00)
DIED. FAILED tests 12-62
Failed 51/62 tests, 17.74% okay
t/pod-coverage......skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD
coverage
t/pod...............skipped
all skipped: Test::Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/10.procedural.t 255 65280 19 12 63.16% 14-19
t/20.lsof-result.t 255 65280 62 102 164.52% 12-62
2 tests and 9 subtests skipped.
Failed 2/4 test scripts, 50.00% okay. 57/81 subtests failed, 29.63%
okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Using stock Perl 5.8.8:
# perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
# lsof -v
lsof version information:
revision: 4.78
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page:
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
constructed: Tue Jan 9 15:54:39 EST 2007
constructed by and on: mockbuild@builder5.centos.org
compiler: cc
compiler version: 4.1.1 20061011 (Red Hat 4.1.1-30)
compiler flags: -DLINUXV=26016 -DGLIBCV=205 -DHASIPv6 -DHASSELINUX
-D_FILE_OFFSET_BITS=64 -DLSOF_VSTR="2.6.16" -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables
loader flags: -L./lib -llsof -lselinux
system info: Linux builder5.centos.org 2.6.9-42.0.3.ELsmp #1 SMP
Fri Oct 6 06:28:26 CDT 2006 i686 i686 i386 GNU/Linux
Anyone can list all files.
/dev warnings are disabled.
Kernel ID check is disabled.
--
Riccardo Murri
CSCS - Swiss National Centre for Supercomputing
Galleria 2, via Cantonale
CH-6928 Manno (Switzerland)
tel.: +41 91 610 8234
Fax: +41 91 610 8282