Skip Menu |

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 7909
Status: resolved
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors: reto-company-rt [...] schuettel.ch
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.01
Fixed in: (no value)



Subject: can't install File::Spec
During the make test on a perl-5.6.1 machine (debian stable) i've got several error messages: $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Cwd $ make test cp lib/File/Spec/Win32.pm blib/lib/File/Spec/Win32.pm cp lib/File/Spec/Unix.pm blib/lib/File/Spec/Unix.pm cp lib/File/Spec/Cygwin.pm blib/lib/File/Spec/Cygwin.pm cp lib/File/Spec.pm blib/lib/File/Spec.pm cp lib/File/Spec/Epoc.pm blib/lib/File/Spec/Epoc.pm cp Cwd.pm blib/lib/Cwd.pm cp lib/File/Spec/Mac.pm blib/lib/File/Spec/Mac.pm cp lib/File/Spec/OS2.pm blib/lib/File/Spec/OS2.pm cp lib/File/Spec/VMS.pm blib/lib/File/Spec/VMS.pm cp lib/File/Spec/Functions.pm blib/lib/File/Spec/Functions.pm /usr/local/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.1/ExtUtils/xsubpp -typemap /usr/share/perl/5.6.1/ExtUtils/typemap Cwd.xs > Cw d.xsc && mv Cwd.xsc Cwd.c cc -c -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"3.01\" -DXS_VERSION=\"3.01\" -fPIC -I/usr/lib /perl/5.6.1/CORE Cwd.c Running Mkbootstrap for Cwd () chmod 644 Cwd.bs rm -f blib/arch/auto/Cwd/Cwd.so LD_RUN_PATH="" cc -shared -L/usr/local/lib Cwd.o -o blib/arch/auto/Cwd/Cwd.so chmod 755 blib/arch/auto/Cwd/Cwd.so cp Cwd.bs blib/arch/auto/Cwd/Cwd.bs chmod 644 blib/arch/auto/Cwd/Cwd.bs PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/Functions........ok t/Spec.............ok 83/465 skipped: various reasons t/crossplatform....ok 7/50 skipped: Can't load File::Spec::VMS t/cwd..............ok 4/24Can't exec "pwd": No such file or directory at /usr/share/perl/5.6.1/Cwd.pm line 17. Can't exec "pwd": No such file or directory at /usr/share/perl/5.6.1/Cwd.pm line 17. t/cwd..............NOK 5# Failed test (t/cwd.t at line 96) # got: undef # expected: '/home/reto/.cpan/build/PathTools-3.01/t' t/cwd..............NOK 8# Failed test (t/cwd.t at line 99) # got: undef # expected: '/home/reto/.cpan/build/PathTools-3.01/t' t/cwd..............ok 20/24opendir(cwd.t/..): Not a directory at t/cwd.t line 164 t/cwd..............NOK 21# Failed test (t/cwd.t at line 199) # '' # doesn't match '(?i-xsm:\[cwd\.t\]$)' Cannot chdir to cwd.t:Not a directory at t/cwd.t line 165 # Looks like you planned 24 tests but only ran 21. # Looks like your test died just after 21. t/cwd..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5, 8, 21-24 Failed 6/24 tests, 75.00% okay t/rel2abs2rel......ok t/taint............NOK 3# Failed test (t/taint.t at line 25) # got: 'Insecure $ENV{PATH} while running with -T switch at /usr/share/perl/5.6.1/Cwd.pm line 17. # ' # expected: '' t/taint............NOK 4# Failed test (t/taint.t at line 26) t/taint............NOK 6# Failed test (t/taint.t at line 26) t/taint............NOK 7# Failed test (t/taint.t at line 25) # got: 'Insecure $ENV{PATH} while running with -T switch at /usr/share/perl/5.6.1/Cwd.pm line 17. # ' # expected: '' t/taint............NOK 8# Failed test (t/taint.t at line 26) t/taint............NOK 11# Failed test (t/taint.t at line 25) # got: 'Insecure dependency in chdir while running with -T switch at /usr/share/perl/5.6.1/Cwd.pm line 231. # ' # expected: '' t/taint............NOK 12# Failed test (t/taint.t at line 26) t/taint............NOK 15# Failed test (t/taint.t at line 25) # got: 'Insecure dependency in chdir while running with -T switch at /usr/share/perl/5.6.1/Cwd.pm line 231. # ' # expected: '' t/taint............NOK 16# Failed test (t/taint.t at line 26) # Looks like you failed 9 tests of 16. t/taint............dubious Test returned status 9 (wstat 2304, 0x900) DIED. FAILED tests 3-4, 6-8, 11-12, 15-16 Failed 9/16 tests, 43.75% okay t/win32............skipped all skipped: this is not win32 Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/cwd.t 255 65280 24 9 37.50% 5 8 21-24 t/taint.t 9 2304 16 9 56.25% 3-4 6-8 11-12 15-16 1 test and 90 subtests skipped. Failed 2/7 test scripts, 71.43% okay. 15/562 subtests failed, 97.33% okay. make: *** [test_dynamic] Error 11 thank you for your help!
I'm going back through some older bug reports - I believe this one is fixed in recent beta versions of PathTools, such as the 3.01_03 I've just uploaded. -Ken