Bug in tar option parsing.

Denys Vlasenko vda.linux at googlemail.com
Mon Apr 16 16:48:19 UTC 2012


Hi Rob,

On Mon, Apr 16, 2012 at 6:04 PM, Rob Landley <rob at landley.net> wrote:
> The uClibc install does this:
>
> build/host/tar --exclude=ld-uClibc.so.lds -c *.so.*

>From what I see in uClibc/Makefile.in, it does a bit different
thing (-cf - instead of -c):

$(TAR) --exclude=$(UCLIBC_LDSO_NAME).so.lds -cf - *.so.*

But anyway...

> And gets this:
>
> build/host/tar: invalid option -- '-'
> BusyBox v1.19.3 (2012-04-15 20:55:55 CDT) multi-call binary.

Tried in pristine busybox-1.19.3 tree:

make defconfig
make -j9
./busybox tar --exclude=ld-uClibc.so.lds -c M* >z.tar

and it worked.

Rob, please send your .config...

-- 
vda


More information about the busybox mailing list