[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#233627: CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY disabled



On Thu, Feb 19, 2004 at 10:02:08AM +0100, Bastian Blank wrote:
> tags 233627 unreproducible moreinfo
> severity 233627 important
> thanks
> 
> On Wed, Feb 18, 2004 at 11:29:20AM -0800, Matt Kraai wrote:
> > Recent versions of tar produce archives that BusyBox tar does not
> > support if CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY is not
> > enabled.  As a result, debootstrap fails under d-i.
> 
> | [..]/busybox-cvs-20040101/debian$ grep OLDGNU config-*
> | config-deb:# CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY is not set
> | config-static:CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
> | config-udeb:CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
> | config-udeb-linux:CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY=y
> 
> Also current GNU tar sets the old flags but don't realy need them.

Here's what happens with busybox-cvs:

 $ dpkg -s busybox-cvs | grep Version
 Version: 20040101-6
 $ dpkg -s tar | grep Version
 Version: 1.3.92-5
 $ mkdir foo
 $ tar cf foo.tar foo
 $ busybox tar tvf foo.tar
 ?rwxr-xr-x 1000/1000         0 2004-02-19 01:49:06 foo
 $ busybox tar xf foo.tar
 tar: Couldnt remove old file: Is a directory
 $ rmdir foo
 $ busybox tar xf foo.tar
 tar: Unrecognised file type

If CONFIG_FEATURE_TAR_OLDGNU_COMPATABILITY is enabled, the type is
displayed correctly and the directory is extracted correctly.

-- 
Matt Kraai            kraai@ftbfs.org            http://ftbfs.org/



Reply to: