Skip Menu |

This queue is for tickets about the File-Path CPAN distribution.

Report information
The Basics
Id: 53061
Status: resolved
Priority: 0/
Queue: File-Path

People
Owner: RICHE [...] cpan.org
Requestors: ambs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.08
Fixed in: 2.10_001



Subject: 2.08 tests failing under MacOS
Hello When running under sudo..., # Failed test '... owned by group 4294967295' # at t/Path.t line 481. # got: '20' # expected: '4294967295' # Failed test '... owned by group 4294967295' # at t/Path.t line 488. # got: '20' # expected: '4294967295' # Looks like you failed 2 tests of 129. t/Path.t ... Dubious, test returned 2 (wstat 512, 0x200) But tests do not fail as standard user.
Hi all! Same here when installing with sudo. However, installing as normal user fails due to lack of permissions. Attached, you will find the cpan output and perl -V. hth, Alex This is perl, v5.10.0 built for darwin-thread-multi-2level Am Do 24. Dez 2009, 09:28:16, http://ambs.myopenid.com/ schrieb: Show quoted text
> Hello > > When running under sudo..., > # Failed test '... owned by group 4294967295' > # at t/Path.t line 481. > # got: '20' > # expected: '4294967295' > > # Failed test '... owned by group 4294967295' > # at t/Path.t line 488. > # got: '20' > # expected: '4294967295' > # Looks like you failed 2 tests of 129. > t/Path.t ... Dubious, test returned 2 (wstat 512, 0x200) > > But tests do not fail as standard user.
Subject: perl_V.txt
$ perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8: tue may 5 19:29:59 pdt 2009; root:xnu-1437.2~2release_i386 i386 ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=gcc-4.2' hint=recommended, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include', optimize='-Os', cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64 -arch i386 -arch ppc -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: /Library/Perl/Updates/<version> comes before system perl directories installprivlib and installarchlib points to the Updates directory Built under darwin Compiled at Jun 24 2009 00:35:27 @INC: /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .
Subject: file_path.txt
cpan[1]> install File::Path CPAN: Storable loaded ok (v2.18) Going to read '/Users/pktm/Library/Application Support/.cpan/Metadata' Database was generated on Tue, 09 Nov 2010 01:29:53 GMT Running install for module 'File::Path' CPAN: YAML loaded ok (v0.71) Running make for D/DL/DLAND/File-Path-2.08.tar.gz CPAN: Digest::SHA loaded ok (v5.45) CPAN: Compress::Zlib loaded ok (v2.008) Checksum for /Users/pktm/Library/Application Support/.cpan/sources/authors/id/D/DL/DLAND/File-Path-2.08.tar.gz ok Scanning cache /Users/pktm/Library/Application Support/.cpan/build for sizes .............................................-------------------------------DONE DEL(1/5): /Users/pktm/Library/Application Support/.cpan/build/Alien-SDL-1.421-ZtI9SG DEL(2/5): /Users/pktm/Library/Application Support/.cpan/build/Alien-SDL-1.421-ZtI9SG.yml DEL(3/5): /Users/pktm/Library/Application Support/.cpan/build/SDL-2.522-BAjPnc DEL(4/5): /Users/pktm/Library/Application Support/.cpan/build/File-Path-2.08-_kPw9V.yml DEL(5/5): /Users/pktm/Library/Application Support/.cpan/build/File-Path-2.08-_kPw9V CPAN: Archive::Tar loaded ok (v1.38) Will not use Archive::Tar, need 1.00 x File-Path-2.08 x File-Path-2.08/Path.pm x File-Path-2.08/t x File-Path-2.08/META.yml x File-Path-2.08/Changes x File-Path-2.08/MANIFEST x File-Path-2.08/eg x File-Path-2.08/TODO x File-Path-2.08/MANIFEST.SKIP x File-Path-2.08/Makefile.PL x File-Path-2.08/README x File-Path-2.08/eg/setup-extra-tests x File-Path-2.08/t/Path.t x File-Path-2.08/t/taint.t x File-Path-2.08/t/pod.t CPAN: File::Temp loaded ok (v0.22) CPAN.pm: Going to build D/DL/DLAND/File-Path-2.08.tar.gz Checking if your kit is complete... Looks good Writing Makefile for File::Path cp Path.pm blib/lib/File/Path.pm Manifying blib/man3/File::Path.3pm DLAND/File-Path-2.08.tar.gz /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/Path.t ... 1/129 # Failed test '... owned by group 4294967295' # at t/Path.t line 481. # got: '20' # expected: '4294967295' # Failed test '... owned by group 4294967295' # at t/Path.t line 488. # got: '20' # expected: '4294967295' # Looks like you failed 2 tests of 129. t/Path.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/129 subtests (less 41 skipped subtests: 86 okay) t/pod.t .... skipped: PERL_AUTHOR_TESTING environment variable not set (or zero) t/taint.t .. ok Test Summary Report ------------------- t/Path.t (Wstat: 512 Tests: 129 Failed: 2) Failed tests: 92, 95 Non-zero exit status: 2 Files=3, Tests=135, 0 wallclock secs ( 0.05 usr 0.01 sys + 0.12 cusr 0.03 csys = 0.21 CPU) Result: FAIL Failed 1/3 test programs. 2/135 subtests failed. make: *** [test_dynamic] Error 255 DLAND/File-Path-2.08.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DLAND/File-Path-2.08.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: DLAND/File-Path-2.08.tar.gz : make_test NO cpan[2]>
This has been fixed as of 2.09
This issue has been resolved in dev release http://search.cpan.org/~riche/File-Path/Path.pm version 2.10_001.