[uClibc] gnu tar

Robert Connolly robert at linuxfromscratch.org
Mon Nov 15 03:34:33 UTC 2004


Hello. The gnu tar in buildroot's packages is version 1.14.90. This version of 
tar seems to have a bug with uclibc. When 'tar jxf' is used it fails with:
tar: Unaligned block (5000 bytes) in archive
tar: Error is not recoverable: exiting now

'tar -B -jxf' however works. Perhaps this is more of a problem with bzip2. 
Anyway, my question is why not use tar-1.13.25 in buildroot's packages? 
Tar-1.13.25 does not have any problem decompressing bzip2 files. Another idea 
is adding an "#ifndef __UCLIBC__" in tar-1.14's src/buffer.c where that error 
code is found (around line 655).

I am curious to the status of this bug.

Regards
Robert



More information about the uClibc mailing list