pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42896: UnZip is out of date; fails on archives > 4 GB

>Number:         42896
>Category:       pkg
>Synopsis:       UnZip is out of date; fails on archives > 4 GB
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 28 12:00:00 +0000 2010
>Originator:     Rhialto
>Release:        NetBSD 5.0.1
System: NetBSD 5.0.1 NetBSD 5.0.1 
(Radl-s_Pervasion_of_the_Incorrect_Chord) #0: Tue Aug 4 20:57:29 CEST 2009 amd64
Architecture: x86_64
Machine: amd64
        Unzip in pkgsrc is version 5.52, but version 6.0 has been out
        for nearly a year.
        $ l
        -rw-r--r--  1 rhialto  wheel  5503854812 Feb 27 21:38

        $ unzip -l
        warning []:  1199032651 extra bytes at beginning or 
within zipfile
        (attempting to process anyway)
        error []:  start of central directory not found;
        zipfile corrupt.
        (please check that you have transferred or created the zipfile in the
        appropriate BINARY mode and that you have compiled UnZip properly)

        Strangely enough, the version of Zip 3.0 in pkgsrc is apparently
        able to *create* 64-bit archives: output from zip -v includes
        ZIP64_SUPPORT        (use Zip64 to store large files in archives)

        Workaround: use 7zip.
        Fix: update unzip to version 6.0:

        New features in UnZip 6.0, released 20 April 2009:

            * Support PKWARE ZIP64 extensions, allowing Zip archives and Zip
              archive entries larger than 4 GiBytes and more than 65536 entries
              within a single Zip archive. This support is currently only
              available for Unix, OpenVMS and Win32/Win64. 

___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/      -- Cetero censeo "authored" delendum esse.


Home | Main Index | Thread Index | Old Index