[uClibc]bug#1092: busybox tar does not work w/uClibc

Hugo Woijters hugo_woijters at yahoo.de
Sun Jan 14 13:39:00 UTC 2001


Package: uClibc
Version: CVS

Problem:
--------

(Note: while the bug showed up in busybox-0.48, I
suppose it is due to a
bug in uClibc, because it does NOT happen if
busybox-0.48 is linked
against GNU libc (glibc 2.1.3)

If busybox-0.48 is linked against uClibc, then 
i) 'busybox tar tvf tarfile' lists only the first 
directory and the first
   file therein from the tar archive, and
ii) 'busybox tar xvf tarfile' extracts only the first
directory and the first
   file therein from the tar archive.

This happens regardless whether the tar archive has
been created by 
GNU tar or by busybox tar. Tar archives *created* by
busybox/uClibc seem to be
OK, and can be extracted by GNU tar.

As noted above, if busybox-0.48 is linked against GNU
libc, all is fine.

On a sidenote, when listing the tarfile, the leading
'0' in the month
seems to miss. That would be a pain if one tries to
sort the listing 
on the filename ... also happens only if linked
against uClibc.


Example:
--------

rainer at jezebel:~/src/busybox-0.48 > uname -a
Linux jezebel 2.2.14 #1 Fri May 5 17:41:28 GMT 2000
i686 unknown
rainer at jezebel:~/src/busybox-0.48 > tar cvf test.tar .
./
./Makefile
./Config.h.Hurd
./basename.c
./ar.c
./Config.h
./busybox.c
./busybox.h
./dos2unix.c
./cat.c
.
(and some dozen more files)
tar: ./test.tar: file is the archive; not dumped
rainer at jezebel:~/src/busybox-0.48/test > busybox tar
tvf test.tar
drwxr-xr-x rainer/users      0 2001- 1-14 11:16:55 ./
-rw------- rainer/users   8409 2001- 1-14 10:58:56
./Makefile
rainer at jezebel:~/src/busybox-0.48 > busybox tar xvf
test.tar
./
./Makefile
rainer at jezebel:~/src/busybox-0.48 >



__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de






More information about the uClibc mailing list