Date: Sat, 08 Feb 2020 13:59:14 +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-Se8pxVc70D@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-243738-227@https.bugs.freebsd.org/bugzilla/> References: <bug-243738-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243738 Hans Christian Woithe <chwoithe@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chwoithe@yahoo.com --- Comment #2 from Hans Christian Woithe <chwoithe@yahoo.com> --- I was also able to reproduce the problem. It seems this was fixed in libarchive commit c8d40b27 issue #1257. use the program above to create a test.zip file $ echo "test" > test.txt $ python3.6 ziplzma.py test.zip test.txt $ rm test.txt $ unzip -o test.zip unzip: lzma unknown error 1 $ cd /tmp $ git clone https://github.com/libarchive/libarchive.git $ cd libarchive $ git checkout c8d40b27 $ build/autogen.sh $ ./configure $ make $ LD_PRELOAD="/tmp/libarchive/.libs/libarchive.so" unzip -o test.zip This fix should be part of r356212. So instead of the above procedure, you should be able make lib/archive and LD_PRELOAD the generated library. In my testing environment that's currently in /usr/obj/... $ LD_PRELOAD="/usr/obj/.../amd64.amd64/lib/libarchive/libarchive.so" unzip -o test.zip -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243738-227-Se8pxVc70D>
