Skip Menu |

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 19713
Status: resolved
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: perl-diddler [...] tlinx.org
Cc:
AdminCc:

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



Subject: Archive::Zip won't test under Cygwin w/o many spurious runtime error/warnings
CPAN.pm: Going to build S/SM/SMPETERS/Archive-Zip-1.16.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Archive::Zip cp lib/Archive/Zip.pod blib/lib/Archive/Zip.pod cp lib/Archive/Zip/Tree.pm blib/lib/Archive/Zip/Tree.pm cp lib/Archive/Zip/FAQ.pod blib/lib/Archive/Zip/FAQ.pod cp lib/Archive/Zip.pm blib/lib/Archive/Zip.pm cp lib/Archive/Zip/MemberRead.pm blib/lib/Archive/Zip/MemberRead.pm cp lib/Archive/Zip/MockFileHandle.pm blib/lib/Archive/Zip/MockFileHandle.pm cp lib/Archive/Zip/BufferedFileHandle.pm blib/lib/Archive/Zip/BufferedFileHandle .pm cp crc32 blib/script/crc32 /usr/bin/perl.exe "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/crc32 /usr/bin/make -- OK Running make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'b lib/arch')" t/*.t t/00.load...........ok 1/2 t/00.load...........ok t/pod...............ok t/test..............ok 1/123Use of uninitialized value in string eq at /usr/lib/ perl5/5.8/cygwin/File/Spec/Cygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. t/test..............ok 74/123Use of uninitialized value in string eq at /usr/lib /perl5/5.8/cygwin/File/Spec/Cygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. t/test..............ok t/testex............ok 1/15Use of uninitialized value in string eq at /usr/lib/p erl5/5.8/cygwin/File/Spec/Cygwin.pm line 50. Use of uninitialized value in string eq at /usr/lib/perl5/5.8/cygwin/File/Spec/C ygwin.pm line 50. t/testex............ok t/testMemberRead....ok t/testTree..........ok t/testUpdate........ok All tests successful. Files=7, Tests=173, 18 wallclock secs (10.52 cusr + 6.43 csys = 16.95 CPU) /usr/bin/make test -- OK ---- This is perl, v5.8.7 built for cygwin-thread-multi-64int (with 1 registered patch, see perl -V for more detail) --- Running under XP-SP1, uname: CYGWIN_NT-5.1 Shiva 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin
Subject: File::Spec->catdir produces warning
From: Alexandr Ciornii <alexchorny [...] gmail.com>
sub _asLocalName('x/') calls File::Spec->catdir() with empty array. This produces an error under Cygwin. From documentation for catdir: "Concatenate two or more directory names". Patch: replace my $localDirs = File::Spec->catdir(@paths); with my $localDirs = @paths?File::Spec->catdir(@paths):''; ------- Alexandr Ciornii, http://chorny.net
From: SMPETERS [...] cpan.org
On Wed Aug 09 17:32:28 2006, alexchorny@gmail.com wrote: Show quoted text
> sub _asLocalName('x/') calls File::Spec->catdir() with empty array. This > produces an error under Cygwin. > From documentation for catdir: "Concatenate two or more directory names". > Patch: > replace > my $localDirs = File::Spec->catdir(@paths); > with > my $localDirs = @paths?File::Spec->catdir(@paths):''; > > ------- > Alexandr Ciornii, http://chorny.net
This has been included with Archive::Zip 1.20.