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
>Organization:
        
>Environment:
        
        
System: NetBSD radl.falu.nl 5.0.1 NetBSD 5.0.1 
(Radl-s_Pervasion_of_the_Incorrect_Chord) #0: Tue Aug 4 20:57:29 CEST 2009 
root%radl.falu.nl@localhost:/usr/src/sys/arch/amd64/compile/RADL5.0.1 amd64
Architecture: x86_64
Machine: amd64
>Description:
        Unzip in pkgsrc is version 5.52, but version 6.0 has been out
        for nearly a year.
>How-To-Repeat:
        $ l bigzipfile.zip
        -rw-r--r--  1 rhialto  wheel  5503854812 Feb 27 21:38 bigzipfile.zip

        $ unzip -l bigzipfile.zip
        Archive:  bigzipfile.zip
        warning [bigzipfile.zip]:  1199032651 extra bytes at beginning or 
within zipfile
        (attempting to process anyway)
        error [bigzipfile.zip]:  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)

>Fix:
        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.
-- 
___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index