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:
101442
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
PHRED [...] cpan.org
Requestors:
DJIBEL [...] cpan.org
Cc:
AdminCc:

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



Subject: Installation of Archive::Zip 1.41 failed on Windows - Perl Strawberry 5.20
Dear, Win8.1 64 bits Strawberry Perl 5.20 It's impossible to install Archive::Zip 1.41 or Archive::Zip 1.40 Error with Archive::Zip 1.41 ==============================================
Show quoted text
cpan> install Archive::Zip
Running install for module 'Archive::Zip' Checksum for E:\Strawberry\cpan\sources\authors\id\P\PH\PHRED\Archive-Zip-1.41.tar.gz ok Scanning cache E:\Strawberry\cpan\build for sizes ............................................................................DONE Configuring P/PH/PHRED/Archive-Zip-1.41.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Archive::Zip Writing MYMETA.yml and MYMETA.json PHRED/Archive-Zip-1.41.tar.gz E:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for P/PH/PHRED/Archive-Zip-1.41.tar.gz cp lib/Archive/Zip/BufferedFileHandle.pm blib\lib\Archive\Zip\BufferedFileHandle.pm cp lib/Archive/Zip/Member.pm blib\lib\Archive\Zip\Member.pm cp lib/Archive/Zip/FAQ.pod blib\lib\Archive\Zip\FAQ.pod cp lib/Archive/Zip/MockFileHandle.pm blib\lib\Archive\Zip\MockFileHandle.pm cp lib/Archive/Zip/StringMember.pm blib\lib\Archive\Zip\StringMember.pm cp lib/Archive/Zip/ZipFileMember.pm blib\lib\Archive\Zip\ZipFileMember.pm cp lib/Archive/Zip/DirectoryMember.pm blib\lib\Archive\Zip\DirectoryMember.pm cp lib/Archive/Zip/FileMember.pm blib\lib\Archive\Zip\FileMember.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/Tree.pm blib\lib\Archive\Zip\Tree.pm cp lib/Archive/Zip/MemberRead.pm blib\lib\Archive\Zip\MemberRead.pm cp lib/Archive/Zip/NewFileMember.pm blib\lib\Archive\Zip\NewFileMember.pm E:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- script/crc32 blib\script\crc32 pl2bat.bat blib\script\crc32 PHRED/Archive-Zip-1.41.tar.gz E:\Strawberry\c\bin\dmake.exe -- OK Running make test E:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\ar ch')" t/*.t t/01_compile.t ................ ok t/02_main.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/02_main.t ................... 1/141 # Failed test at t/02_main.t line 95. # got: 'testdir/jAlFT4kTM2/' # expected: 'testdir\jAlFT4kTM2/' error: member not found at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 185. Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2a8f4c8), "testdir\\jAlFT4kTM2/") called at t/02_main.t line 128 # Failed test at t/02_main.t line 129. # got: '2' # expected: '0' # Failed test at t/02_main.t line 130. # Failed test at t/02_main.t line 133. # Failed test at t/02_main.t line 146. # got: 'testdir/jAlFT4kTM2/string.txt' # expected: 'testdir\jAlFT4kTM2/string.txt' error: member not found at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 185. Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2a8f4c8), "testdir\\jAlFT4kTM2/string.txt") called at t/02_main.t line 175 # Failed test at t/02_main.t line 176. # got: '2' # expected: '0' # Failed test at t/02_main.t line 177. Can't use an undefined value as a symbol reference at t/common.pm line 162. # Looks like you planned 141 tests but ran 47. # Looks like you failed 7 tests of 47 run. # Looks like your test exited with 2 just after 47. t/02_main.t ................... Dubious, test returned 2 (wstat 512, 0x200) Failed 101/141 subtests (less 3 skipped subtests: 37 okay) t/03_ex.t ..................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/03_ex.t ..................... 1/17 error: member not found at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 185. Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x3fcf68), "testdir\\ygzZPds2kh/testing.txt") called at examples/extract.pl li ne 34 Extracting testdir\ygzZPds2kh/testing.txt from C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zip failed # Failed test at t/03_ex.t line 37. t/03_ex.t ..................... 4/17 # got: '65280' # expected: '0' Can't call method "desiredCompressionLevel" on an undefined value at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 257. # Failed test at t/03_ex.t line 41. # got: '512' # expected: '0' # Failed test at t/03_ex.t line 55. # got: 'testdir/ygzZPds2kh/testing.txt:100 # ' # expected: 'testdir\ygzZPds2kh/testing.txt:100 # ' error: testdir\ygzZPds2kh\testing.txt is neither a file nor a directory at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 355. Archive::Zip::Archive::addFileOrDirectory(Archive::Zip::Archive=HASH(0x52d088), "testdir\\ygzZPds2kh\\testing.txt") called at examples/selfex. pl line 28 # Failed test 'extracted\testdir\ygzZPds2kh\testing.txt exists' # at t/03_ex.t line 69. # got: undef # expected: '1' error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zip as C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zbk Permission denied at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 472. Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x5ff0d8), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-Nchne.zip") called at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 440 Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x5ff0d8)) called at examples/updateTree.pl line 28 # Failed test 'updateTree.pl create' # at t/03_ex.t line 78. # got: '512' # expected: '0' error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zip as C:\Users\djibril\AppData\Local\Temp\testout-Nchne.zbk Permission denied at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 472. Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x1cbf0d8), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-Nchne.zip") calle d at E:\Strawberry\cpan\build\Archive-Zip-1.41-lIEkAw\blib\lib/Archive/Zip/Archive.pm line 440 Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x1cbf0d8)) called at examples/updateTree.pl line 28 # Failed test 'updateTree.pl update' # at t/03_ex.t line 81. # got: '512' # expected: '0' # Looks like you failed 6 tests of 17. t/03_ex.t ..................... Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/17 subtests t/04_readmember.t ............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/04_readmember.t ............. ok t/05_tree.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/05_tree.t ................... ok t/06_update.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/06_update.t ................. ok t/07_filenames_of_0.t ......... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/07_filenames_of_0.t ......... ok t/08_readmember_record_sep.t .. skipped: Ignoring failing tests on Win32 t/09_output_record_sep.t ...... ok t/10_chmod.t .................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . 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 ...... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/14_leading_separator.t ...... ok t/15_decrypt.t ................ ok t/16_decrypt.t ................ ok t/17_101092.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/17_101092.t ................. ok t/18_bug_92205.t .............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 188 . t/18_bug_92205.t .............. ok Test Summary Report ------------------- t/02_main.t (Wstat: 512 Tests: 47 Failed: 7) Failed tests: 25, 32-34, 38, 46-47 Non-zero exit status: 2 Parse errors: Bad plan. You planned 141 tests but ran 47. t/03_ex.t (Wstat: 1536 Tests: 17 Failed: 6) Failed tests: 4, 6, 10, 13-14, 16 Non-zero exit status: 6 Files=18, Tests=174, 4 wallclock secs ( 0.05 usr + 0.08 sys = 0.13 CPU) Result: FAIL Failed 2/18 test programs. 13/174 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' PHRED/Archive-Zip-1.41.tar.gz E:\Strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PHRED/Archive-Zip-1.41.tar.gz Stopping: 'install' failed for 'Archive::Zip'. Failed during this command: PHRED/Archive-Zip-1.41.tar.gz : make_test NO
Show quoted text
cpan>
===================================================== Best Regards
On windows, strawberry perl same version, I cannot install anything newer than 1.38, which is also shipped with the distribution.
Dear, It's impossible to install Archive::Zip 1.42 or Archive::Zip 1.43 with Strawberry Perl or ActivePerl.
Subject: Installation of Archive::Zip 1.4, 42, 43 failed on Windows - Perl Strawberry 5.20
Le Jeu 15 Jan 2015 07:22:58, DJIBEL a écrit :
Show quoted text
> Dear, > > It's impossible to install Archive::Zip 1.42 or Archive::Zip 1.43 with > Strawberry Perl or ActivePerl.
not fixed !
Subject: Re: [rt.cpan.org #101442] Installation of Archive::Zip 1.41 failed on Windows - Perl Strawberry 5.20
Date: Thu, 15 Jan 2015 07:17:07 -0800
To: bug-Archive-Zip@rt.cpan.org
From: Fred Moyer <fred@redhotpenguin.com>

Dijbril can get you please add details?

On Jan 15, 2015 4:23 AM, "Djibril Ousmanou 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=101442 >

Dear,

It's impossible to install Archive::Zip 1.42 or Archive::Zip 1.43 with Strawberry Perl or ActivePerl.

Le Jeu 15 Jan 2015 10:17:23, fred@redhotpenguin.com a écrit :
Show quoted text
> Dijbril can get you please add details? > On Jan 15, 2015 4:23 AM, "Djibril Ousmanou via RT" < > bug-Archive-Zip@rt.cpan.org> wrote: >
> > Queue: Archive-Zip > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=101442 > > > > > Dear, > > > > It's impossible to install Archive::Zip 1.42 or Archive::Zip 1.43 with > > Strawberry Perl or ActivePerl. > > > >
Dear, That is some details : Configuring P/PH/PHRED/Archive-Zip-1.43.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for Archive::Zip Writing MYMETA.yml and MYMETA.json PHRED/Archive-Zip-1.43.tar.gz E:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for P/PH/PHRED/Archive-Zip-1.43.tar.gz 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/StringMember.pm blib\lib\Archive\Zip\StringMember.pm cp lib/Archive/Zip/Tree.pm blib\lib\Archive\Zip\Tree.pm cp lib/Archive/Zip/ZipFileMember.pm blib\lib\Archive\Zip\ZipFileMember.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/FileMember.pm blib\lib\Archive\Zip\FileMember.pm cp lib/Archive/Zip/Archive.pm blib\lib\Archive\Zip\Archive.pm cp lib/Archive/Zip/MemberRead.pm blib\lib\Archive\Zip\MemberRead.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/BufferedFileHandle.pm blib\lib\Archive\Zip\BufferedFileHandle.pm E:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- script/crc32 blib\script\crc32 pl2bat.bat blib\script\crc32 PHRED/Archive-Zip-1.43.tar.gz E:\Strawberry\c\bin\dmake.exe -- OK Running make test E:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\a ch')" t/*.t t/01_compile.t ................ ok t/02_main.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/02_main.t ................... 1/141 # Failed test at t/02_main.t line 95. # got: 'testdir/h_1NPVjy35/' # expected: 'testdir\h_1NPVjy35/' error: member not found at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 185. Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2aed4c8), "testdir\\h_1NPVjy35/") called at t/02_main.t line 128 # Failed test at t/02_main.t line 129. # got: '2' # expected: '0' # Failed test at t/02_main.t line 130. # Failed test at t/02_main.t line 133. # Failed test at t/02_main.t line 146. # got: 'testdir/h_1NPVjy35/string.txt' # expected: 'testdir\h_1NPVjy35/string.txt' error: member not found at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 185. Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2aed4c8), "testdir\\h_1NPVjy35/string.txt") called at t/02_main.t line 175 # Failed test at t/02_main.t line 176. # got: '2' # expected: '0' # Failed test at t/02_main.t line 177. Can't use an undefined value as a symbol reference at t/common.pm line 162. # Looks like you planned 141 tests but ran 47. # Looks like you failed 7 tests of 47 run. # Looks like your test exited with 2 just after 47. t/02_main.t ................... Dubious, test returned 2 (wstat 512, 0x200) Failed 101/141 subtests (less 3 skipped subtests: 37 okay) t/03_ex.t ..................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/03_ex.t ..................... 1/17 error: member not found at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 185. Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x5acf68), "testdir\\u1ScN3bShm/testing.txt") called at examples/extract.pl l ne 34 Extracting testdir\u1ScN3bShm/testing.txt from C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zip failed # Failed test at t/03_ex.t line 37. # got: '65280' # expected: '0' Can't call method "desiredCompressionLevel" on an undefined value at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 257. # Failed test at t/03_ex.t line 41. # got: '512' # expected: '0' # Failed test at t/03_ex.t line 55. # got: 'testdir/u1ScN3bShm/testing.txt:100 # ' # expected: 'testdir\u1ScN3bShm/testing.txt:100 # ' error: testdir\u1ScN3bShm\testing.txt is neither a file nor a directory at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 355. Archive::Zip::Archive::addFileOrDirectory(Archive::Zip::Archive=HASH(0x3fd088), "testdir\\u1ScN3bShm\\testing.txt") called at examples/selfex pl line 28 t/03_ex.t ..................... 11/17 # Failed test 'extracted\testdir\u1ScN3bShm\testing.txt exists' # at t/03_ex.t line 69. # got: undef # expected: '1' error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zip as C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zbk Permission denied at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 472. Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x43f048), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-wwtxN.zip") calle at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 440 Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x43f048)) called at examples/updateTree.pl line 28 # Failed test 'updateTree.pl create' # at t/03_ex.t line 78. # got: '512' # expected: '0' error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zip as C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zbk Permission denied at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 472. Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x5df048), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-wwtxN.zip") calle at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 440 Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x5df048)) called at examples/updateTree.pl line 28 # Failed test 'updateTree.pl update' # at t/03_ex.t line 81. # got: '512' # expected: '0' # Looks like you failed 6 tests of 17. t/03_ex.t ..................... Dubious, test returned 6 (wstat 1536, 0x600) Failed 6/17 subtests t/04_readmember.t ............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/04_readmember.t ............. ok t/05_tree.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/05_tree.t ................... ok t/06_update.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/06_update.t ................. ok t/07_filenames_of_0.t ......... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/07_filenames_of_0.t ......... ok t/08_readmember_record_sep.t .. skipped: Ignoring failing tests on Win32 t/09_output_record_sep.t ...... ok t/10_chmod.t .................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . 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 ...... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/14_leading_separator.t ...... ok t/15_decrypt.t ................ ok t/16_decrypt.t ................ ok t/17_101092.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/17_101092.t ................. ok t/18_bug_92205.t .............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/18_bug_92205.t .............. ok t/19_bug_101240.t ............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 . t/19_bug_101240.t ............. ok Test Summary Report ------------------- t/02_main.t (Wstat: 512 Tests: 47 Failed: 7) Failed tests: 25, 32-34, 38, 46-47 Non-zero exit status: 2 Parse errors: Bad plan. You planned 141 tests but ran 47. t/03_ex.t (Wstat: 1536 Tests: 17 Failed: 6) Failed tests: 4, 6, 10, 13-14, 16 Non-zero exit status: 6 Files=19, Tests=178, 4 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU) Result: FAIL Failed 2/19 test programs. 13/178 subtests failed. dmake.exe: Error code 255, while making 'test_dynamic' PHRED/Archive-Zip-1.43.tar.gz E:\Strawberry\c\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PHRED/Archive-Zip-1.43.tar.gz Stopping: 'install' failed for 'P/PH/PHRED/Archive-Zip-1.43.tar.gz'. Failed during this command: PHRED/Archive-Zip-1.43.tar.gz : make_test NO
Show quoted text
cpan>
Subject: Re: [rt.cpan.org #101442] Installation of Archive::Zip 1.41 failed on Windows - Perl Strawberry 5.20
Date: Thu, 15 Jan 2015 22:55:13 -0800
To: bug-Archive-Zip@rt.cpan.org
From: Fred Moyer <fred@redhotpenguin.com>
Can you try this diff for t/02_main.t? phred@sisu ~/dev/perl-Archive-Zip $ git diff t/02_main.t diff --git a/t/02_main.t b/t/02_main.t index 353b7cf..e8643dc 100644 --- a/t/02_main.t +++ b/t/02_main.t @@ -85,7 +85,7 @@ SKIP: { # unzip -t returns error code=1 for warning on empty #--------- add a directory -my $memberName = TESTDIR . '/'; +my $memberName = TESTDIR . '\\'; my $dirName = TESTDIR; # addDirectory # Archive::Zip::Archive On Thu, Jan 15, 2015 at 10:41 AM, Djibril Ousmanou 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=101442 > > > Le Jeu 15 Jan 2015 10:17:23, fred@redhotpenguin.com a écrit :
>> Dijbril can get you please add details? >> On Jan 15, 2015 4:23 AM, "Djibril Ousmanou via RT" < >> bug-Archive-Zip@rt.cpan.org> wrote: >>
>> > Queue: Archive-Zip >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=101442 > >> > >> > Dear, >> > >> > It's impossible to install Archive::Zip 1.42 or Archive::Zip 1.43 with >> > Strawberry Perl or ActivePerl. >> > >> >
> > Dear, > > That is some details : > > Configuring P/PH/PHRED/Archive-Zip-1.43.tar.gz with Makefile.PL > Checking if your kit is complete... > Looks good > Generating a dmake-style Makefile > Writing Makefile for Archive::Zip > Writing MYMETA.yml and MYMETA.json > PHRED/Archive-Zip-1.43.tar.gz > E:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK > Running make for P/PH/PHRED/Archive-Zip-1.43.tar.gz > 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/StringMember.pm blib\lib\Archive\Zip\StringMember.pm > cp lib/Archive/Zip/Tree.pm blib\lib\Archive\Zip\Tree.pm > cp lib/Archive/Zip/ZipFileMember.pm blib\lib\Archive\Zip\ZipFileMember.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/FileMember.pm blib\lib\Archive\Zip\FileMember.pm > cp lib/Archive/Zip/Archive.pm blib\lib\Archive\Zip\Archive.pm > cp lib/Archive/Zip/MemberRead.pm blib\lib\Archive\Zip\MemberRead.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/BufferedFileHandle.pm blib\lib\Archive\Zip\BufferedFileHandle.pm > E:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e cp -- script/crc32 blib\script\crc32 > pl2bat.bat blib\script\crc32 > PHRED/Archive-Zip-1.43.tar.gz > E:\Strawberry\c\bin\dmake.exe -- OK > Running make test > E:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\a > ch')" t/*.t > t/01_compile.t ................ ok > t/02_main.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/02_main.t ................... 1/141 > # Failed test at t/02_main.t line 95. > # got: 'testdir/h_1NPVjy35/' > # expected: 'testdir\h_1NPVjy35/' > error: member not found > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 185. > Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2aed4c8), "testdir\\h_1NPVjy35/") called at t/02_main.t line 128 > > # Failed test at t/02_main.t line 129. > # got: '2' > # expected: '0' > > # Failed test at t/02_main.t line 130. > > # Failed test at t/02_main.t line 133. > > # Failed test at t/02_main.t line 146. > # got: 'testdir/h_1NPVjy35/string.txt' > # expected: 'testdir\h_1NPVjy35/string.txt' > error: member not found > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 185. > Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x2aed4c8), "testdir\\h_1NPVjy35/string.txt") called at t/02_main.t line 175 > > # Failed test at t/02_main.t line 176. > # got: '2' > # expected: '0' > > # Failed test at t/02_main.t line 177. > Can't use an undefined value as a symbol reference at t/common.pm line 162. > # Looks like you planned 141 tests but ran 47. > # Looks like you failed 7 tests of 47 run. > # Looks like your test exited with 2 just after 47. > t/02_main.t ................... Dubious, test returned 2 (wstat 512, 0x200) > Failed 101/141 subtests > (less 3 skipped subtests: 37 okay) > t/03_ex.t ..................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/03_ex.t ..................... 1/17 error: member not found > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 185. > Archive::Zip::Archive::extractMember(Archive::Zip::Archive=HASH(0x5acf68), "testdir\\u1ScN3bShm/testing.txt") called at examples/extract.pl l > ne 34 > Extracting testdir\u1ScN3bShm/testing.txt from C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zip failed > > # Failed test at t/03_ex.t line 37. > # got: '65280' > # expected: '0' > Can't call method "desiredCompressionLevel" on an undefined value at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm > line 257. > > # Failed test at t/03_ex.t line 41. > # got: '512' > # expected: '0' > > # Failed test at t/03_ex.t line 55. > # got: 'testdir/u1ScN3bShm/testing.txt:100 > # ' > # expected: 'testdir\u1ScN3bShm/testing.txt:100 > # ' > error: testdir\u1ScN3bShm\testing.txt is neither a file nor a directory > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 355. > Archive::Zip::Archive::addFileOrDirectory(Archive::Zip::Archive=HASH(0x3fd088), "testdir\\u1ScN3bShm\\testing.txt") called at examples/selfex > pl line 28 > t/03_ex.t ..................... 11/17 > # Failed test 'extracted\testdir\u1ScN3bShm\testing.txt exists' > # at t/03_ex.t line 69. > # got: undef > # expected: '1' > error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zip as C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zbk Permission denied > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 472. > Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x43f048), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-wwtxN.zip") calle > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 440 > Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x43f048)) called at examples/updateTree.pl line 28 > > # Failed test 'updateTree.pl create' > # at t/03_ex.t line 78. > # got: '512' > # expected: '0' > error: Can't rename C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zip as C:\Users\djibril\AppData\Local\Temp\testout-wwtxN.zbk Permission denied > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 472. > Archive::Zip::Archive::overwriteAs(Archive::Zip::Archive=HASH(0x5df048), "C:\\Users\\djibril\\AppData\\Local\\Temp\\testout-wwtxN.zip") calle > at E:\Strawberry\cpan\build\Archive-Zip-1.43-jaWRno\blib\lib/Archive/Zip/Archive.pm line 440 > Archive::Zip::Archive::overwrite(Archive::Zip::Archive=HASH(0x5df048)) called at examples/updateTree.pl line 28 > > # Failed test 'updateTree.pl update' > # at t/03_ex.t line 81. > # got: '512' > # expected: '0' > # Looks like you failed 6 tests of 17. > t/03_ex.t ..................... Dubious, test returned 6 (wstat 1536, 0x600) > Failed 6/17 subtests > t/04_readmember.t ............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/04_readmember.t ............. ok > t/05_tree.t ................... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/05_tree.t ................... ok > t/06_update.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/06_update.t ................. ok > t/07_filenames_of_0.t ......... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/07_filenames_of_0.t ......... ok > t/08_readmember_record_sep.t .. skipped: Ignoring failing tests on Win32 > t/09_output_record_sep.t ...... ok > t/10_chmod.t .................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > 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 ...... Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/14_leading_separator.t ...... ok > t/15_decrypt.t ................ ok > t/16_decrypt.t ................ ok > t/17_101092.t ................. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/17_101092.t ................. ok > t/18_bug_92205.t .............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/18_bug_92205.t .............. ok > t/19_bug_101240.t ............. Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus. > warning: E:\Strawberry\perl\bin\perl.exe -pe "BEGIN{binmode(STDIN);binmode(STDOUT)}" doesn't seem to work, may skip some tests at t/common.pm line 18 > . > t/19_bug_101240.t ............. ok > > Test Summary Report > ------------------- > t/02_main.t (Wstat: 512 Tests: 47 Failed: 7) > Failed tests: 25, 32-34, 38, 46-47 > Non-zero exit status: 2 > Parse errors: Bad plan. You planned 141 tests but ran 47. > t/03_ex.t (Wstat: 1536 Tests: 17 Failed: 6) > Failed tests: 4, 6, 10, 13-14, 16 > Non-zero exit status: 6 > Files=19, Tests=178, 4 wallclock secs ( 0.06 usr + 0.03 sys = 0.09 CPU) > Result: FAIL > Failed 2/19 test programs. 13/178 subtests failed. > dmake.exe: Error code 255, while making 'test_dynamic' > PHRED/Archive-Zip-1.43.tar.gz > E:\Strawberry\c\bin\dmake.exe test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports PHRED/Archive-Zip-1.43.tar.gz > Stopping: 'install' failed for 'P/PH/PHRED/Archive-Zip-1.43.tar.gz'. > Failed during this command: > PHRED/Archive-Zip-1.43.tar.gz : make_test NO >
> cpan>
>
Le Ven 16 Jan 2015 01:55:29, fred@redhotpenguin.com a écrit :
Show quoted text
> Can you try this diff for t/02_main.t? > > phred@sisu ~/dev/perl-Archive-Zip $ git diff t/02_main.t > diff --git a/t/02_main.t b/t/02_main.t > index 353b7cf..e8643dc 100644 > --- a/t/02_main.t > +++ b/t/02_main.t > @@ -85,7 +85,7 @@ SKIP: { > # unzip -t returns error code=1 for warning on empty > > #--------- add a directory > -my $memberName = TESTDIR . '/'; > +my $memberName = TESTDIR . '\\'; > my $dirName = TESTDIR; > > # addDirectory # Archive::Zip::Archive > > On Thu, Jan 15, 2015 at 10:41 AM, Djibril Ousmanou via RT > <bug-Archive-Zip@rt.cpan.org> wrote:
I am using Windows XP (ActivePerl) or Win 8.1 (Strawberry), I can not use diff. But you want to compare which 02_maint.t file ?


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.