after : emerge -C elfutils; emerge elfutils I get this : ldd /usr/bin/eu-readelf linux-gate.so.1 => (0xffffe000) libdw.so.1 => not found libelf.so.1 => /usr/lib/libelf.so.1 (0x4002b000) libdl.so.2 => /lib/libdl.so.2 (0x4003d000) libc.so.6 => /lib/libc.so.6 (0x40040000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) So somewhere theres a library that doesn't get installed. Darkmere pkg # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.2) ================================================================= System uname: 2.6.2 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/mnt/store/distfiles" FEATURES="ccache cvs sandbox strict userpriv usersandbox" GENTOO_MIRRORS="http://mirror.pudas.net/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.linux.no/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="" USE="3dnow X aalib alsa apm avi berkdb bonobo cdr crypt cups dvd dvdr encode esd ethereal flac foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib jpeg libg++ libwww mad mikmod motif mozilla moznoirc moznomail mpeg ncurses nls nptl objc oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl tcpd tiff truetype x86 xml2 xmms xv xvid zlib"
libdw is rem'ed like other "Stuff that we do not use" , see the ebuild
true, but given that behaviour is "intended" the package is still broken because it installs broken binaries.
doesn't this just mean that some of the "stuff we don't use" is actually "stuff we need to use after all" and therefore shouldn't be deleted? So just for kicks, i removed that section that deletes all the stuff, and elfutils seems to actually work again. Is this just too obvious?
After I did the same thing that Scott Taylor did, revdep-rebuild no longer tells me that elfutils is broken. Before this it wanted to keep rebuilding it. It would compile with no problem but revdep-rebuild would say it was broken.
Ok, I have removed the remove part in the ebuild. Developers and future packages may need those headers and shared libraries. Gentoo normally install all headers and libraries by default. I saw no comment anywhere why they should be removed, "Stuff We don't use" was not correct because a quite valid application in the future could use it.