Re: Bug#686502: pxz produces archives broken for busybox's unxz
Hi Bastian,
On Sonntag, 2. September 2012, Bastian Blank wrote:
> On Sun, Sep 02, 2012 at 03:18:40PM +0200, Holger Levsen wrote:
> > ~/t$ busybox unxz typo3-src_4.5.19+dfsg1.orig.tar.xz
> > ~/t$ tar tf typo3-src_4.5.19+dfsg1.orig.tar 1>/dev/null
> > tar: Unexpected EOF in archive
> > tar: Error is not recoverable: exiting now
>
> Where does busybox choke here? I only see tar choking on the result of
> the decompression. What do you find in the file?
understandable, my instructions to reproduce it hide the problem a bit ;)
tar fails, because "busybox unxz" fails to decompress correctly (as can be
seen in the filesize) despite exiting with exit code 0:
~/t$ gunzip typo3-src_4.5.19+dfsg1.orig.tar.gz
~/t$ ls -l typo3-src_4.5.19+dfsg1.orig.tar
-rw-r--r-- 1 me me 51845120 Aug 18 05:36 typo3-src_4.5.19+dfsg1.orig.tar
~/t$ pxz -z typo3-src_4.5.19+dfsg1.orig.tar
~/t$ busybox unxz typo3-src_4.5.19+dfsg1.orig.tar.xz
~/t$ echo $?
0
~/t$ ls -l typo3-src_4.5.19+dfsg1.orig.tar
-rw-r--r-- 1 me me 25169920 Sep 2 14:32 typo3-src_4.5.19+dfsg1.orig.tar
cheers,
Holger
Reply to: