Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27475 - RPM failed to compile during ebuild
Summary: RPM failed to compile during ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-28 06:42 UTC by Q
Modified: 2003-10-02 03:30 UTC (History)
2 users (show)

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


Attachments
Full ouput of emerge rpm (RPM,51.43 KB, application/octet-stream)
2003-08-28 06:44 UTC, Q
Details
Full ouput of emerge rpm (RPM,51.43 KB, text/plain)
2003-08-28 06:45 UTC, Q
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Q 2003-08-28 06:42:51 UTC
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#
Comment 1 Q 2003-08-28 06:44:53 UTC
Created attachment 16714 [details]
Full ouput of emerge rpm
Comment 2 Q 2003-08-28 06:45:16 UTC
Created attachment 16715 [details]
Full ouput of emerge rpm
Comment 3 CFuga 2003-08-28 17:41:01 UTC
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).
Comment 4 Stefan Jones (RETIRED) gentoo-dev 2003-09-22 00:48:54 UTC
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
Comment 5 Stefan Jones (RETIRED) gentoo-dev 2003-10-02 03:30:25 UTC
I take it that it worked fine.
On my test machines I fixed the problem and the fix is in portage.
Closing bug.