Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 07:41:11 -0800 (PST)
From:      Idar Tollefsen <idart@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33170: zip -T [zip file] fails with message about missing end signature
Message-ID:  <200112251541.fBPFfBl42365@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33170
>Category:       ports
>Synopsis:       zip -T [zip file] fails with message about missing end signature
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 25 07:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Idar Tollefsen
>Release:        4.4-STABLE
>Organization:
Performance Design
>Environment:
FreeBSD blackbird.performancedesign.no 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Dec 14 22:02:02 CET 2001     idart@blackbird.performancedesign.no:/usr/obj/usr/src/sys/BLACKBIRD  alpha
>Description:
While building Mozilla wiht --enable-chrome-format=jar (the default),
the build would fail while testing the integrity of en-US.jar, which
is just a zip file.

Upon further investigation, it turned out that doing
zip test.zip anyfile
followed by
zip -T test.zip
always would yield an error about a missing end signature.

Here is the exact message:

zip warning: missing end signature--probably not a zip file (did you
zip warning: remember to use binary mode when you transferred it?)

zip error: Zip file structure invalid (test.zip)

This is done with zip-2.3 on a 21164A running 4.4-STABLE.
It has not been established wether this is spesific for the Alpha or
not, but I suspect it is since breaking the Mozilla build is something
that the i386 crowd would have screamed about a long time ago.
>How-To-Repeat:
Run the following (on an Alpha):
zip [name of zip file] [any file]
zip -T [name of zip file]

>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112251541.fBPFfBl42365>