Hello, prelink-20030217.ebuild fails to build because DEPEND is set to >=dev-libs/elfutils-0.72 which should instead be >=elfutils-0.76. At least it did not compile for me until after emerging elfutils-0.76. ;-) Best regards, Daniel Seyffer. Reproducible: Always Steps to Reproduce: 1. emerge prelink with elfutils < elfutils-0.76 installed -> fails 2. emerge elfutils-0.76 3. emerge prelink succeeds.
Ups. Shame on me. There still seems to be something wrong. Now I am getting: source='arch-x86_64.c' object='arch-x86_64.o' libtool=no \ depfile='.deps/arch-x86_64.Po' tmpdepfile='.deps/arch-x86_64.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -c `test -f 'arch-x86_64.c' || echo './'`arch-x86_64.c source='arch-s390.c' object='arch-s390.o' libtool=no \ depfile='.deps/arch-s390.Po' tmpdepfile='.deps/arch-s390.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -I. -I. -I.. -I../gelfx -Wall -march=pentium3 -O3 -pipe -fomit-frame-pointer -Wall -c `test -f 'arch-s390.c' || echo './'`arch-s390.c arch-s390.c: In function `s390_prelink_rela': arch-s390.c:137: `R_390_TLS_DTPOFF' undeclared (first use in this function) arch-s390.c:137: (Each undeclared identifier is reported only once arch-s390.c:137: for each function it appears in.) arch-s390.c:142: `R_390_TLS_DTPMOD' undeclared (first use in this function) arch-s390.c:150: `R_390_TLS_TPOFF' undeclared (first use in this function) arch-s390.c: In function `s390_prelink_conflict_rela': arch-s390.c:253: `R_390_TLS_DTPMOD' undeclared (first use in this function) arch-s390.c:254: `R_390_TLS_TPOFF' undeclared (first use in this function) arch-s390.c:266: `R_390_TLS_DTPOFF' undeclared (first use in this function) arch-s390.c: In function `s390_undo_prelink_rela': arch-s390.c:435: `R_390_TLS_DTPMOD' undeclared (first use in this function) arch-s390.c:436: `R_390_TLS_DTPOFF' undeclared (first use in this function) arch-s390.c:437: `R_390_TLS_TPOFF' undeclared (first use in this function) arch-s390.c: In function `s390_reloc_class': arch-s390.c:467: `R_390_TLS_DTPMOD' undeclared (first use in this function) arch-s390.c:468: `R_390_TLS_DTPOFF' undeclared (first use in this function) arch-s390.c:469: `R_390_TLS_TPOFF' undeclared (first use in this function) make[2]: *** [arch-s390.o] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... make[2]: Leaving directory `/var/tmp/portage/prelink-20030217/work/prelink/src' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/prelink-20030217/work/prelink' make: *** [all] Fehler 2 !!! ERROR: sys-devel/prelink-20030217 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! Make Failed
Well I think I fixed it by making glibc-2.3.2 a requirement for this version of prelink. It should fix it, not user about the elfutils dependancy though. Is it still needed?
Verified that it compiles fine with =dev-libs/elfutils-0.72 Closing bug.