Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371729 - Bootstrapping tar fails on SUSE Enterprise 11 SP0
Summary: Bootstrapping tar fails on SUSE Enterprise 11 SP0
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: Normal major (vote)
Assignee: Gentoo Prefix
Depends on:
Reported: 2011-06-15 10:07 UTC by Rabbe Fogelholm
Modified: 2017-07-18 12:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2011-06-15 10:07:49 UTC
Platform is SUSE Enterprise 11 SP0. Bootstrapping fails at the `./ $EPREFIX/tmp tar' step. Console output is: 

gcc -std=gnu99  -g -O2   -o tar  buffer.o compare.o create.o delete.o extract.o xheader.o incremen.o list.o misc.o names.o sparse.o system.o tar.o transform.o update.o utf8.o ../lib/libtar.a   -lrt 
../lib/libtar.a(argp-fmtstream.o): In function `argp_fmtstream_putc':
/local/tmp/a/tmp/var/tmp/tar-1.19/tar-1.19/lib/argp-fmtstream.h:233: multiple definition of `argp_fmtstream_putc'
tar.o:/local/tmp/a/tmp/var/tmp/tar-1.19/tar-1.19/src/../lib/argp-fmtstream.h:233: first defined here

[ many similar lines dropped ]

../lib/libtar.a(argp-eexst.o): In function `_option_is_short':
/local/tmp/a/tmp/var/tmp/tar-1.19/tar-1.19/lib/argp.h:594: multiple definition of `_option_is_short'
tar.o:/local/tmp/a/tmp/var/tmp/tar-1.19/tar-1.19/src/../lib/argp.h:594: first defined here
../lib/libtar.a(argp-eexst.o): In function `argp_usage':
/local/tmp/a/tmp/var/tmp/tar-1.19/tar-1.19/lib/argp.h:588: multiple definition of `argp_usage'
tar.o:/local/tmp/a/tmp/var/tmp/tar-1.19/tar-1.19/src/../lib/argp.h:588: first defined here
collect2: ld returned 1 exit status
make[2]: *** [tar] Error 1
make[2]: Leaving directory `/local/scratch/nightly/2011-06-15/tmp/var/tmp/tar-1.19/tar-1.19/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/scratch/nightly/2011-06-15/tmp/var/tmp/tar-1.19/tar-1.19'
make: *** [all] Error 2
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-06-15 10:18:39 UTC
As a workaround, you can try to add -Wl,-z,muldefs to LDFLAGS
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-06-15 12:49:02 UTC
Or bootstrap "tar22"
Comment 3 Rabbe Fogelholm 2011-06-15 14:17:54 UTC
I tried "tar22", seems to work fine.
Comment 4 Michael Haubenwallner (RETIRED) gentoo-dev 2017-07-18 09:09:56 UTC
Still a problem with tar-1.26?
Comment 5 Rabbe Fogelholm 2017-07-18 12:44:12 UTC
Sorry, I don't have access to the SUSE Enterprise 11 SP0 host anymore.