Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20830 - rpm and libelf is BUNK!
Summary: rpm and libelf is BUNK!
Status: RESOLVED DUPLICATE of bug 20948
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-11 22:06 UTC by dragnet
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dragnet 2003-05-11 22:06:28 UTC
gcc -march=pentium3 -O3 -pipe -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpmi -static
rpmi.o  ./lib/.libs/librpm.a
-L/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmdb/.libs
-L/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmio/.libs
/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmdb/.libs/librpmdb.a
-L/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/zlib -L/usr/local/lib
./rpmdb/.libs/librpmdb.a
/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmio/.libs/librpmio.a -lelf
./rpmio/.libs/librpmio.a /usr/lib/libpopt.a ./zlib/.libs/libz.al -lrt -lpthread
-lbz2
./lib/.libs/librpm.a(rpminstall.o)(.text+0x15f3): In function `rpmInstall':
: the use of `mktemp' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
rpmi: hidden symbol `__libelf_version_initialized' isn't defined
collect2: ld returned 1 exit status
make[2]: *** [rpmi] Error 1
make[2]: Leaving directory `/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2'
make: *** [all] Error 2

!!! ERROR: app-arch/rpm-4.2_pre069 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2003-05-13 02:44:58 UTC
What version of binutils are you using?

This package worked fine a few weeks ago, but recently binutils was given an upgrade and it is quite probable that that triggered the error.
Comment 2 dragnet 2003-05-13 08:06:13 UTC
i am using: 

sys-devel/binutils-2.14.90.0.1-r1


00
___
Comment 3 Stefan Jones (RETIRED) gentoo-dev 2003-05-13 13:41:07 UTC
Seems the elfutils package doesn't like the new binutils,

will try to fix

*** This bug has been marked as a duplicate of 20948 ***