Skip to contentSkip to conversation

New: tar refuses to build

Buildroot bugzilla at busybox.net 1 participant 7 messages Jan 24, 2009 – Mar 1, 2009

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=69

Target: i386
Build: Current SVN
Summary: tar refuses to build
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: kretschi at online.de
CC: buildroot at uclibc.org
Estimated Hours: 0.0

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?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 69] tar refuses to build

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=69

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |jacmet at uclibc.org
             Status|NEW                         |ASSIGNED

--- Comment #2 from Peter Korsgaard <[email protected]> 2009-01-26 14:21:49 UTC --- 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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 69] tar refuses to build

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=69

Bernhard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Build|Current SVN |

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 69] tar refuses to build

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=69

--- Comment #4 from Jan Kretschmer <[email protected]> 2009-01-26 23:08:52 UTC --- 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 ;)

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 69] tar refuses to build

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=69

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Peter Korsgaard <[email protected]> 2009-03-01 20:19:49 UTC --- Fixed by upgrading to tar 1.21

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.