The following error is produced by tar-1.18: ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_putc': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:233: multiple definition of `argp_fmtstream_putc' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:233: first defined here ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_point': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:279: multiple definition of `argp_fmtstream_point' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:279: first defined here ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_set_wmargin': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:267: multiple definition of `argp_fmtstream_set_wmargin' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:267: first defined here ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_set_rmargin': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:255: multiple definition of `argp_fmtstream_set_rmargin' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:255: first defined here ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_set_lmargin': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:243: multiple definition of `argp_fmtstream_set_lmargin' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:243: first defined here ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_write': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:207: multiple definition of `argp_fmtstream_write' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:207: first defined here ../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_puts': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:220: multiple definition of `argp_fmtstream_puts' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:220: first defined here ../lib/libtar.a(argp-help.o): In function `argp_fmtstream_point': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:279: multiple definition of `argp_fmtstream_point' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:279: first defined here ../lib/libtar.a(argp-help.o): In function `argp_fmtstream_set_wmargin': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:267: multiple definition of `argp_fmtstream_set_wmargin' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:267: first defined here ../lib/libtar.a(argp-help.o): In function `argp_fmtstream_set_rmargin': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:255: multiple definition of `argp_fmtstream_set_rmargin' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:255: first defined here ../lib/libtar.a(argp-help.o): In function `argp_fmtstream_set_lmargin': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:243: multiple definition of `argp_fmtstream_set_lmargin' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:243: first defined here ../lib/libtar.a(argp-help.o): In function `argp_fmtstream_putc': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:233: multiple definition of `argp_fmtstream_putc' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:233: first defined here ../lib/libtar.a(argp-help.o): In function `argp_fmtstream_write': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:207: multiple definition of `argp_fmtstream_write' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:207: first defined here ../lib/libtar.a(argp-help.o): In function `argp_fmtstream_puts': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/argp-fmtstream.h:220: multiple definition of `argp_fmtstream_puts' tar.o:/usr/src/svn/buildroot-test/build_i386/tar-1.18/src/../lib/argp-fmtstream.h:220: first defined here ../lib/libtar.a(close-stream.o): In function `close_stream': /usr/src/svn/buildroot-test/build_i386/tar-1.18/lib/close-stream.c:56: warning: This version of __fpending returns bytes remaining in buffer for both narrow and wide streams. glibc's version returns wide chars in buffer for the wide stream case. Perhaps we need a newer Version of tar or a patch to agree with the newest gcc?
you should be using tar from busybox in the first place.
I agree that the current situation isn't optimal - Is there any particular reason why you want to use the GNU tar version, instead of the one in busybox? As you probably noticed, most people use the busybox version so the GNU one doesn't get much testing in BR. I would prefer to mark the gnu version as DEPRECATED. Let me know what you think.
Just force HIDE_OTHERS to yes unconditionally, i'd say.
The Gnu Tar is included by the "generic development system"-target. So it is marked as a dependency, if you choose the generic development system, isn't it? I never activated the gnu-tar to be build explicitly, so I never thought about alternatives ;)
Fixed by upgrading to tar 1.21