Skip Menu |

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 107392
Status: new
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc: ether [...] cpan.org
AdminCc:

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



Subject: Failing test in dev version
The newly added t/abs2rel.t relies on being able to import File::Path::make_path() which exists only as of File::Path version 2.06_05[1] (perl 5.10.1 and higher). Example failure attached. Obviously there are several ways to go about fixing this, though I really encourage you to not bump a prereq for a test alone. Cheers! [1] https://metacpan.org/source/RICHE/File-Path-2.11/Changes#L77
Subject: example_fail.txt
Building and testing PathTools-3.56_02 ... "/home/travis/perl5/perlbrew/perls/5.8.7/bin/perl" "/home/travis/perl5/perlbrew/perls/5.8.7/lib/5.8.7/ExtUtils/xsubpp" -typemap "/home/travis/perl5/perlbrew/perls/5.8.7/lib/5.8.7/ExtUtils/typemap" Cwd.xs > Cwd.xsc && mv Cwd.xsc Cwd.c Running Mkbootstrap for Cwd () chmod 644 "Cwd.bs" cp lib/File/Spec/OS2.pm blib/lib/File/Spec/OS2.pm cp lib/File/Spec/Mac.pm blib/lib/File/Spec/Mac.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 cp lib/File/Spec/Epoc.pm blib/lib/File/Spec/Epoc.pm cp lib/File/Spec/Cygwin.pm blib/lib/File/Spec/Cygwin.pm cp lib/File/Spec.pm blib/lib/File/Spec.pm cp Cwd.pm blib/lib/Cwd.pm cp lib/File/Spec/Unix.pm blib/lib/File/Spec/Unix.pm cp lib/File/Spec/Win32.pm blib/lib/File/Spec/Win32.pm cc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"3.56_02\" -DXS_VERSION=\"3.56_02\" -fpic "-I/home/travis/perl5/perlbrew/perls/5.8.7/lib/5.8.7/x86_64-linux-thread-multi/CORE" -DDOUBLE_SLASHES_SPECIAL=0 Cwd.c rm -f blib/arch/auto/Cwd/Cwd.so cc -shared -L/usr/local/lib Cwd.o -o blib/arch/auto/Cwd/Cwd.so \ \ chmod 755 blib/arch/auto/Cwd/Cwd.so "/home/travis/perl5/perlbrew/perls/5.8.7/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Cwd.bs blib/arch/auto/Cwd/Cwd.bs 644 Running Mkbootstrap for Cwd () chmod 644 "Cwd.bs" PERL_DL_NONLAZY=1 "/home/travis/perl5/perlbrew/perls/5.8.7/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/abs2rel..............."make_path" is not exported by the File::Path module Can't continue after import errors at t/abs2rel.t line 9 BEGIN failed--compilation aborted at t/abs2rel.t line 9. dubious Test returned status 255 (wstat 65280, 0xff00) t/crossplatform.........ok 10/71 skipped: Can't load File::Spec::VMS t/cwd...................ok t/Functions.............ok t/rel2abs2rel...........ok t/rel2abs_vs_symlink....ok t/Spec-taint............ok t/Spec..................ok 120/637 skipped: various reasons t/taint.................ok t/tmpdir................ok t/win32.................skipped all skipped: this is not win32 Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/abs2rel.t 255 65280 ?? ?? % ?? 1 test and 130 subtests skipped. Failed 1/11 test scripts, 90.91% okay. 0/791 subtests failed, 100.00% okay. make: *** [test_dynamic] Error 22 ! Installing File::Spec failed.
On Mon Sep 28 20:55:58 2015, RIBASUSHI wrote: Show quoted text
> The newly added t/abs2rel.t relies on being able to import > File::Path::make_path() which exists only as of File::Path version > 2.06_05[1] (perl 5.10.1 and higher).
P::T 3.59 (and later 3.60) both shipped without addressing this. Let me know if there is something I can do to help (the fix is a single line of META). You also didn't reply to my p5p "what do you have in mind" email.