2015-12-21 23:11 GMT+01:00 Heinrich Schuchardt <[email protected]>: > OpenWRT ChaosCalmer uses busybox 1.23.2. > > For many tar.gz files I receive errors like: > > user@MR3020:~/src$ wget http://tukaani.org/xz/xz-5.2.2.tar.gz > user@MR3020:~/src$ tar -xzf xz-5.2.2.tar.gz > tar: invalid tar magic > user@MR3020:~/src$ tar: write: Broken pipe > > GNU tar on Debian Jessie amd64 has no problem with the same file.
This file seems to be created with an old version of tar, setting CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY makes it work for me just fine, though. N.B.: This is unrelated to the gzip around the tar archive, the behaviour is the same if I gunzip the file before handing it to tar. _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
