Skip Menu |
 

This queue is for tickets about the PathTools CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: blair [...] orcaware.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.02
Fixed in: 3.03



Subject: Test failure in PathTools 3.02 on Debian
Download (untitled) / with headers
text/plain 3.7k
3.01 passed make test just fine, but with 3.02 I'm getting this error: PERL_DL_NONLAZY=1 /opt/i386-linux/installed/perl-5.8.6/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/crossplatform....ok 7/50 skipped: Can't load File::Spec::VMS t/cwd..............NOK 29 # Failed test (t/cwd.t at line 197) # got: '/boot/vmlinuz-2.6.8-1-386' # expected: '/vmlinuz' t/cwd..............NOK 30 # Failed test (t/cwd.t at line 198) # got: '/boot/vmlinuz-2.6.8-1-386' # expected: '/vmlinuz' t/cwd..............NOK 31 # Failed test (t/cwd.t at line 199) # got: '/boot/vmlinuz-2.6.8-1-386' # expected: '/vmlinuz' # Looks like you failed 3 tests of 31. t/cwd..............dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 29-31 Failed 3/31 tests, 90.32% okay t/Functions........ok t/rel2abs2rel......ok t/Spec.............ok 83/466 skipped: various reasons t/taint............ok t/win32............skipped all skipped: this is not win32 Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/cwd.t 3 768 31 3 9.68% 29-31 This is with my own compiled Perl 5.8.6: $ perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=linux, osvers=2.6.8-1-386, archname=i686-linux-thread-multi uname='linux www1 2.6.8-1-386 #1 thu nov 25 04:24:08 utc 2004 i686 gnulinux ' config_args='-Dprefix=/opt/i386-linux/installed/perl-5.8.6 -Dcc=/usr/bin/gcc-3.4 -Doptimize=-Os -march=i386 -mtune=i686 -Duseshrplib -Uinstallusrbinperl -Ulocincpth -Dcf_email=blair@orcaware.com -Ui_db -Uversiononly -Ubincompat5005 -Dusethreads -Duseithreads -Dlibpth=/lib /usr/lib -Dlibspath=/lib /usr/lib -Dd_dosuid' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/usr/bin/gcc-3.4', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-Os -march=i386 -mtune=i686', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe' ccversion='', gccversion='3.4.2 (Debian 3.4.2-2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='/usr/bin/gcc-3.4', ldflags ='' libpth=/lib /usr/lib libs=-lnsl -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/i386-linux/installed/perl-5.8.6/lib/5.8.6/i686-linux-thread-multi/CORE' cccdlflags='-fpic', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under linux Compiled at Dec 20 2004 13:45:45 @INC: /opt/i386-linux/installed/perl-5.8.6/lib/5.8.6/i686-linux-thread-multi /opt/i386-linux/installed/perl-5.8.6/lib/5.8.6 /opt/i386-linux/installed/perl-5.8.6/lib/site_perl/5.8.6/i686-linux-thread-multi /opt/i386-linux/installed/perl-5.8.6/lib/site_perl/5.8.6 /opt/i386-linux/installed/perl-5.8.6/lib/site_perl .
From: Ken Williams <ken [...] mathforum.org>
Subject: Re: [cpan #9594] Test failure in PathTools 3.02 on Debian
Date: Mon, 10 Jan 2005 14:32:58 -0600
To: bug-PathTools [...] rt.cpan.org
RT-Send-Cc:
Download (untitled) / with headers
text/plain 965b
Hi Blair, I'm guessing that the file /vmlinuz is a symbolic link - if so, the following testing patch ought to fix the error: =================================================================== RCS file: /Users/ken/src/CVS-repository/modules/PathTools/t/cwd.t,v retrieving revision 1.10 diff -u -r1.10 cwd.t --- cwd.t 2004/12/09 04:07:42 1.10 +++ cwd.t 2005/01/10 20:30:34 @@ -189,7 +189,7 @@ my $root = File::Spec->rootdir; local *FH; opendir FH, $root or skip("Can't opendir($root): $!", 2+$EXTRA_ABSPATH_TESTS); - ($file) = grep {-f $_} map File::Spec->catfile($root, $_), readdir FH; + ($file) = grep {not -l $_} grep {-f $_} map File::Spec->catfile($root, $_), readdir FH; closedir FH; } skip "No plain file in root directory to test with", 2+$EXTRA_ABSPATH_TESTS unless $file; =================================================================== If so, I'll make sure that fix gets into the next version. -Ken


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.