Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
127994
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
welleozean [...] googlemail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Windows 10 Strawberryperl 5.28 installation fail
Date: Tue, 11 Dec 2018 22:15:35 +0100
To: bug-Archive-Zip@rt.cpan.org
From: welle Ozean <welleozean@googlemail.com>
Impossible to install on a Windows 10 machine with strawberryperl 5.28. Any solution?

cpanm (App::cpanminus) 1.7044 on perl 5.028000 built for MSWin32-x86-multi-thread
Work directory is C:\Users\FC/.cpanm/work/1544561725.21252
You have make C:\berrybrew\5.28.0_32\c\bin\gmake.exe
You have LWP 6.35
Falling back to Archive::Tar 2.30
Searching Archive::Zip () on cpanmetadb ...
--> Working on Archive::Zip
Fetching http://www.cpan.org/authors/id/P/PH/PHRED/Archive-Zip-1.64.tar.gz
-> OK
Unpacking Archive-Zip-1.64.tar.gz
Entering Archive-Zip-1.64
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.34)
Configuring Archive-Zip-1.64
Running Makefile.PL
Checking if your kit is complete...
Looks good
... Detected uninstalled Perl.  Trying to continue.
Have \berryb~1\528~1.0_3\perl\lib
Want \strawberry\perl\lib
Generating a gmake-style Makefile
Writing Makefile for Archive::Zip
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have IO::File 0 ... Yes (1.39)
Checking if you have File::Temp 0 ... Yes (0.2304)
Checking if you have Compress::Raw::Zlib 2.017 ... Yes (2.081)
Checking if you have Encode 0 ... Yes (2.98)
Checking if you have File::Path 0 ... Yes (2.15)
Checking if you have File::Copy 0 ... Yes (2.33)
Checking if you have Test::More 0.88 ... Yes (1.302136)
Checking if you have IO::Seekable 0 ... Yes (1.39)
Checking if you have Time::Local 0 ... Yes (1.28)
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have IO::Handle 0 ... Yes (1.39)
Checking if you have Test::MockModule 0 ... Yes (0.15)
Checking if you have File::Find 0 ... Yes (1.34)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.34)
Checking if you have File::Spec 0.80 ... Yes (3.74)
Building and testing Archive-Zip-1.64
cp lib/Archive/Zip/MockFileHandle.pm blib\lib\Archive\Zip\MockFileHandle.pm
cp lib/Archive/Zip/Member.pm blib\lib\Archive\Zip\Member.pm
cp lib/Archive/Zip/DirectoryMember.pm blib\lib\Archive\Zip\DirectoryMember.pm
cp lib/Archive/Zip/NewFileMember.pm blib\lib\Archive\Zip\NewFileMember.pm
cp lib/Archive/Zip/FileMember.pm blib\lib\Archive\Zip\FileMember.pm
cp lib/Archive/Zip/StringMember.pm blib\lib\Archive\Zip\StringMember.pm
cp lib/Archive/Zip/Archive.pm blib\lib\Archive\Zip\Archive.pm
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/FAQ.pod blib\lib\Archive\Zip\FAQ.pod
cp lib/Archive/Zip/ZipFileMember.pm blib\lib\Archive\Zip\ZipFileMember.pm
cp lib/Archive/Zip/Tree.pm blib\lib\Archive\Zip\Tree.pm
cp lib/Archive/Zip/BufferedFileHandle.pm blib\lib\Archive\Zip\BufferedFileHandle.pm
"C:\berrybrew\5.28.0_32\perl\bin\perl.exe" "-IC:/berrybrew/5.28.0_32/perl/lib" -MExtUtils::Command -e cp -- script/crc32 blib\script\crc32
pl2bat.bat blib\script\crc32
"C:\berrybrew\5.28.0_32\perl\bin\perl.exe" "-IC:/berrybrew/5.28.0_32/perl/lib" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01_compile.t ................ ok
t/02_main.t ................... ok
t/03_ex.t ..................... ok
t/04_readmember.t ............. ok
t/05_tree.t ................... ok
t/06_update.t ................. ok
t/07_filenames_of_0.t ......... ok
t/08_readmember_record_sep.t .. ok
t/09_output_record_sep.t ...... ok
t/10_chmod.t .................. ok
t/11_explorer.t ............... ok
t/12_bug_47223.t .............. ok
t/13_bug_46303.t .............. ok
t/14_leading_separator.t ...... ok
t/15_decrypt.t ................ ok
t/16_decrypt.t ................ ok
t/17_101092.t ................. ok
t/18_bug_92205.t .............. ok
t/19_bug_101240.t ............. ok
t/20_bug_github11.t ........... ok
t/21_zip64.t .................. ok
t/22_deflated_dir.t ........... ok
t/23_closed_handle.t .......... ok
t/24_unicode_win32.t .......... ok

#   Failed test 'Tree extraction aborted'
#   at t/25_traversal.t line 97.
#          got: '0'
#     expected: '2'

#   Failed test 'A file was not created in a parent directory'
#   at t/25_traversal.t line 100.
# Looks like you failed 2 tests of 41.
t/25_traversal.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/41 subtests
    (less 31 skipped subtests: 8 okay)

Test Summary Report
-------------------
t/25_traversal.t            (Wstat: 512 Tests: 41 Failed: 2)
  Failed tests:  16-17
  Non-zero exit status: 2
Files=25, Tests=346, 26 wallclock secs ( 0.17 usr +  0.25 sys =  0.42 CPU)
Result: FAIL
Failed 1/25 test programs. 2/346 subtests failed.
gmake: *** [Makefile:930: test_dynamic] Error 2
-> FAIL Installing Archive::Zip failed. See C:\Users\FC\.cpanm\work\1544561725.21252\build.log for details. Retry with --force to force install it.
Expiring 9 work directories.
The patch for this is supposedly in the current GitHub library (10 months ago). If this is the only bug holding up a clean install/update on Windows (and a number of other non-Unixy OS's), it sure would be nice for the owner to kick out a new CPAN release. Please?
Subject: Re: [rt.cpan.org #127994] Windows 10 Strawberryperl 5.28 installation fail
Date: Sun, 9 Jun 2019 08:55:43 -0700
To: bug-Archive-Zip@rt.cpan.org
From: Fred Moyer <fred@redhotpenguin.com>
Huh, thanks for the ping. I'll see what I can do 

On Sun, Jun 9, 2019, 8:33 AM Phil M. Perry via RT <bug-Archive-Zip@rt.cpan.org> wrote:
Show quoted text
       Queue: Archive-Zip
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=127994 >

The patch for this is supposedly in the current GitHub library (10 months ago). If this is the only bug holding up a clean install/update on Windows (and a number of other non-Unixy OS's), it sure would be nice for the owner to kick out a new CPAN release. Please?
On Sun Jun 09 11:56:13 2019, fred@redhotpenguin.com wrote:
Show quoted text
> Huh, thanks for the ping. I'll see what I can do
Thanks much. RT 126905 seems to be the same issue.
Subject: Re: [rt.cpan.org #127994] Windows 10 Strawberryperl 5.28 installation fail
Date: Sun, 9 Jun 2019 22:40:06 -0700
To: bug-Archive-Zip@rt.cpan.org
From: Fred Moyer <fred@redhotpenguin.com>
The traversal fix was in 1.63, the current release is 1.64. Did that not fix the issue? https://github.com/redhotpenguin/perl-Archive-Zip/commit/50b4003a444e1dc2aa52f802dd718cae10df7c0a On Sun, Jun 9, 2019 at 9:03 AM Phil M. Perry via RT <bug-Archive-Zip@rt.cpan.org> wrote:
Show quoted text
> > Queue: Archive-Zip > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=127994 > > > On Sun Jun 09 11:56:13 2019, fred@redhotpenguin.com wrote:
> > Huh, thanks for the ping. I'll see what I can do
> > Thanks much. RT 126905 seems to be the same issue. > >
On Mon Jun 10 01:40:50 2019, fred@redhotpenguin.com wrote:
Show quoted text
> The traversal fix was in 1.63, the current release is 1.64. Did that > not fix the issue?
Apparently not. My current install (Windows 10, Strawberry Perl 5.26) is 1.60. When I run "cpan" and request "upgrade Archive::Zip", it fails on t/25_traversal.t while attempting to upgrade to 1.64. t/25_traversal.t .............. 1/41 # Failed test 'Tree extraction aborted' # at t/25_traversal.t line 97. # got: '0' # expected: '2' # Looks like you failed 1 test of 41. t/25_traversal.t .............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/41 subtests (less 32 skipped subtests: 8 okay) Test Summary Report ------------------- t/25_traversal.t (Wstat: 256 Tests: 41 Failed: 1) Failed test: 16 Non-zero exit status: 1 Please check that t-test in the CPAN 1.64 release and see if it matches your code repository... perhaps your test upgrade fell out somewhere in the build? (Sorry about the late response... I thought CPAN was going to email me if there was a ticket update)
Today's 1.65 release upgraded cleanly for me (Windows 10, Strawberry Perl 5.26). I didn't open the ticket so I can't close it, but I have no more issues (and will no longer be following this ticket). Thanks for the fix!
Subject: Re: [rt.cpan.org #127994] Windows 10 Strawberryperl 5.28 installation fail
Date: Sun, 8 Sep 2019 07:48:47 -0700
To: bug-Archive-Zip@rt.cpan.org
From: Fred Moyer <fred@redhotpenguin.com>
Great news, thanks for the feedback!

On Sun, Sep 8, 2019, 7:39 AM Phil M. Perry via RT <bug-Archive-Zip@rt.cpan.org> wrote:
Show quoted text
       Queue: Archive-Zip
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=127994 >

Today's 1.65 release upgraded cleanly for me (Windows 10, Strawberry Perl 5.26). I didn't open the ticket so I can't close it, but I have no more issues (and will no longer be following this ticket). Thanks for the fix!


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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