[Bug 243738] unzip cannot handle LZMA-compressed ZIP-entries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 30 19:03:39 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243738

            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 at FreeBSD.org
          Reporter: mi at FreeBSD.org

Created attachment 211204
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211204&action=edit
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 7za
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 ...

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


More information about the freebsd-bugs mailing list