darcs

Issue 1476 Can't unpack Windows binary release with Cygwin unzip

Title Can't unpack Windows binary release with Cygwin unzip
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kirby, kowey, simonmar, simonpj, thorkilnaur, wglozer
Assigned To kirby
Topics Windows

Created on 2009-06-03.09:07:53 by marlowsd, last changed 2017-07-30.23:31:12 by gh.

Messages
msg7869 (view) Author: simonmar Date: 2009-06-03.09:07:50
For some reason, when the Windows binary distribution is unzipped with 
Cygwin's unzip, the files are not made executable.

$ unzip darcs-2.2.1-win1.zip
Archive:  darcs-2.2.1-win1.zip
    creating: darcs-2.2.1-win1/
   inflating: darcs-2.2.1-win1/darcs.exe
   inflating: darcs-2.2.1-win1/libcurl.dll
   inflating: darcs-2.2.1-win1/libeay32.dll
   inflating: darcs-2.2.1-win1/libidn-11.dll
   inflating: darcs-2.2.1-win1/libssh2.dll
   inflating: darcs-2.2.1-win1/libssl32.dll
   inflating: darcs-2.2.1-win1/libz.dll
   inflating: darcs-2.2.1-win1/zlib1.dll
$ cd darcs-2.2.1-win1
$ ls -l
total 10724
-rw-rw-r-- 1 simonmar mkgroup-l-d 8093584 Feb 16 15:03 darcs.exe
-rw-rw-r-- 1 simonmar mkgroup-l-d  415744 Nov 25  2008 libcurl.dll
-rw-rw-r-- 1 simonmar mkgroup-l-d 1537326 Oct 14  2008 libeay32.dll
-rw-rw-r-- 1 simonmar mkgroup-l-d  286371 Nov 12  2008 libidn-11.dll
-rw-rw-r-- 1 simonmar mkgroup-l-d  170496 Nov 15  2007 libssh2.dll
-rw-rw-r-- 1 simonmar mkgroup-l-d  331742 Oct 14  2008 libssl32.dll
-rw-rw-r-- 1 simonmar mkgroup-l-d   69632 Oct 15  2006 libz.dll
-rw-rw-r-- 1 simonmar mkgroup-l-d   69632 Oct 15  2006 zlib1.dll

It works if I use Windows' built-in unzip.  This seems to be specific to 
this zip file, if I unzip an older version of darcs I have lying around

$ unzip darcs.zip
Archive:  darcs.zip
   inflating: darcs.exe
$ ls -l darcs.exe
-rwxr-xr-x 1 simonmar mkgroup-l-d 9003999 Aug 20  2008 darcs.exe*

it is executable.

Obviously the workaround is easy: chmod +x *.exe *.dll

but this is just another bump in the road for Windows users, it would be 
nice to squash it.

Cheers,
	Simon
msg7905 (view) Author: kirby Date: 2009-06-10.07:32:14
This zip file is made using 7zip on Windows, that I guess is doing something 
funny.
I'll try using winzip for the next release.
History
Date User Action Args
2009-06-03 09:07:53marlowsdcreate
2009-06-10 07:32:19kirbysetstatus: unread -> unknown
priority: bug
nosy: + wglozer, eivuokko, kirby, jaredj
messages: + msg7905
topic: + Windows
assignedto: kirby
2009-08-17 06:16:24koweysetstatus: unknown -> has-patch
nosy: kowey, wglozer, eivuokko, simonpj, simon, thorkilnaur, jaredj, dmitry.kurochkin, marlowsd, kirby
2009-08-25 17:45:33adminsetnosy: + darcs-devel, - simon
2009-08-27 14:25:02adminsetnosy: kowey, wglozer, darcs-devel, eivuokko, simonpj, thorkilnaur, jaredj, dmitry.kurochkin, marlowsd, kirby
2009-10-23 23:34:59adminsetnosy: + simonmar, - marlowsd
2017-07-30 23:31:12ghsetstatus: has-patch -> given-up