Subject: pkg/6685: unzip broken after update to version 5.40
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 12/30/1998 01:50:28
>Number:         6685
>Category:       pkg
>Synopsis:       unzip broken after update to version 5.40
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    packages (NetBSD software packages team)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 29 17:05:00 1998
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        981029
>Environment:
System: NetBSD lyssa.owl.de 1.3I NetBSD 1.3I (LYSSA) #2: Wed Dec 30 00:37:20 MET 1998 tron@lyssa.owl.de:/src/sys/compile/LYSSA i386


>Description:
New version 5.40 of the "unzip" package doesn't work properly:

With 5.40 archives (e.g. "http://www.compaq.de/service/treiber/fullneu1.zip"
or "ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/hp850.zip") can't be
extracted:

tron@lyssa:~>/usr/pkg/bin/unzip fullneu1.zip
Archive:  fullneu1.zip
  inflating: fullneu1.rtf             bad CRC 9a267c37  (should be e0f3169f)

With the old 5.32 version everything works fine:

tron@lyssa:~>bin/unzip fullneu1.zip 
Archive:  fullneu1.zip
  inflating: fullneu1.rtf            

It's not an egcs code generation problem because this problem occurs under
NetBSD 1.3.3, too. Compiling the package with "-O" or without optimization
doesn't help.

>How-To-Repeat:
ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/hp850.zip
unzip -t hp850.zip

>Fix:
Downgrade the package to version 5.32.
>Audit-Trail:
>Unformatted: