When I try to emerge RPM it wont compile. I'm not sure how to do a 'stack trace' as your good example of error reporting suggests, but here at least is the output from the error: (I'm sorry if it's rather long, but I thought I should print the output as far back as it went). Reproducible: Always Steps to Reproduce: 1.emerge -p rpm 2.emerge rpm 3. Actual Results: rpm did not compile Expected Results: rmp should compile Abbreviated: See atttachment: bash-2.05b# emerge -p rpm These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] app-arch/rpm-4.2_pre069 #emerge rpm -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+0xe96): In function `rpmInstall': : the use of `mktemp' is dangerous, better use `mkstemp' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../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 46, Exitcode 2 !!! (no error message) bash-2.05b#
Created attachment 16714 [details] Full ouput of emerge rpm
Created attachment 16715 [details] Full ouput of emerge rpm
The same bug doesn't allow me to emerge the latest version of prelink in two systems. It's directly related to the new version of elfutils marked as stable. (0.84).
Try remerging elfutils. For few days elfutils was in portage with the wrong dependancies. If it was compiled without the following deps: >=sys-devel/binutils-2.14.90.0.6 then you will get the error you have. Try : emerge sync emerge --oneshot elfutils emerge rpm I have tested it here and it works, please report. Stefan
I take it that it worked fine. On my test machines I fixed the problem and the fix is in portage. Closing bug.