Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2020 19:03:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243738] unzip cannot handle LZMA-compressed ZIP-entries
Message-ID:  <bug-243738-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243738

            Bug ID: 243738
           Summary: unzip cannot handle LZMA-compressed ZIP-entries
           Product: Base System
           Version: 11.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: mi@FreeBSD.org

Created attachment 211204
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211204&action=
=3Dedit
Sample script to build ZIP-files with LZMA-compressed entries

Any entry in a ZIP-file, that was compressed using LZMA, can be listed, but
cannot be extracted. This is true for both unzip(1) and tar:

    unzip: lzma unknown error 1

and

    x core.26303.txt: lzma unknown error 1
    tar: Error exit delayed from previous errors.

Unzip installed by archivers/unzip cannot handle such entries either, but 7=
za
can.

Both tar and unzip already link with liblzma, so it should be working, but =
does
not -- and with the same message. Which suggests, the problem is with
libarchive...

Attaching a Python-script, with which such ZIP-files can be created:

    ./ziplzma.py foo.zip file1 file2 ...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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