I have changed my use flags for amule: root@gentoo / # grep amule /etc/portage/package.use net-p2p/amule -gtk2 -unicode root@gentoo / # When I now pretend to emerge amule, then portage prints out the right information: root@gentoo / # emerge -pv net-p2p/amule These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-p2p/amule-2.0.0_rc7 [2.0.0_rc6] -debug +gd -gtk2 +nls -remote -stats -unicode 0 kB Total size of downloads: 0 kB root@gentoo / # Emerging amule does work, but at the end in pkg_setup I get the following error: make[2]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc7/work/aMule-2.0.0rc7/src' make[1]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc7/work/aMule-2.0.0rc7/src' make[1]: Entering directory `/var/tmp/portage/amule-2.0.0_rc7/work/aMule-2.0.0rc7' make[2]: Entering directory `/var/tmp/portage/amule-2.0.0_rc7/work/aMule-2.0.0rc7' make[2]: Nothing to be done for `install-exec-am'. /bin/sh ./mkinstalldirs /var/tmp/portage/amule-2.0.0_rc7/image//usr/share/pixmaps mkdir -p -- /var/tmp/portage/amule-2.0.0_rc7/image//usr/share/pixmaps /bin/install -c -m 644 amule.xpm /var/tmp/portage/amule-2.0.0_rc7/image//usr/share/pixmaps/amule.xpm /bin/sh ./mkinstalldirs /var/tmp/portage/amule-2.0.0_rc7/image//usr/share/applications mkdir -p -- /var/tmp/portage/amule-2.0.0_rc7/image//usr/share/applications /bin/install -c -m 644 amule.desktop /var/tmp/portage/amule-2.0.0_rc7/image//usr/share/applications/amule.desktop make[2]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc7/work/aMule-2.0.0rc7' make[1]: Leaving directory `/var/tmp/portage/amule-2.0.0_rc7/work/aMule-2.0.0rc7' man: prepallstrip: strip: strip: usr/bin/ed2k usr/bin/amule >>> Completed installing into /var/tmp/portage/amule-2.0.0_rc7/image/ ./ ./usr/ ./usr/share/ ./usr/share/locale/ ./usr/share/locale/en_GB/ ./usr/share/locale/en_GB/LC_MESSAGES/ ./usr/share/locale/en_GB/LC_MESSAGES/amule.mo ./usr/share/locale/es/ ./usr/share/locale/es/LC_MESSAGES/ ./usr/share/locale/es/LC_MESSAGES/amule.mo ./usr/share/locale/de/ ./usr/share/locale/de/LC_MESSAGES/ ./usr/share/locale/de/LC_MESSAGES/amule.mo ./usr/share/locale/fr/ ./usr/share/locale/fr/LC_MESSAGES/ ./usr/share/locale/fr/LC_MESSAGES/amule.mo ./usr/share/locale/it/ ./usr/share/locale/it/LC_MESSAGES/ ./usr/share/locale/it/LC_MESSAGES/amule.mo ./usr/share/locale/ko/ ./usr/share/locale/ko/LC_MESSAGES/ ./usr/share/locale/ko/LC_MESSAGES/amule.mo ./usr/share/locale/pl/ ./usr/share/locale/pl/LC_MESSAGES/ ./usr/share/locale/pl/LC_MESSAGES/amule.mo ./usr/share/locale/et_EE/ ./usr/share/locale/et_EE/LC_MESSAGES/ ./usr/share/locale/et_EE/LC_MESSAGES/amule.mo ./usr/share/locale/ru/ ./usr/share/locale/ru/LC_MESSAGES/ ./usr/share/locale/ru/LC_MESSAGES/amule.mo ./usr/share/locale/bg/ ./usr/share/locale/bg/LC_MESSAGES/ ./usr/share/locale/bg/LC_MESSAGES/amule.mo ./usr/share/locale/es_MX/ ./usr/share/locale/es_MX/LC_MESSAGES/ ./usr/share/locale/es_MX/LC_MESSAGES/amule.mo ./usr/share/locale/pt_BR/ ./usr/share/locale/pt_BR/LC_MESSAGES/ ./usr/share/locale/pt_BR/LC_MESSAGES/amule.mo ./usr/share/locale/gl/ ./usr/share/locale/gl/LC_MESSAGES/ ./usr/share/locale/gl/LC_MESSAGES/amule.mo ./usr/share/locale/eu/ ./usr/share/locale/eu/LC_MESSAGES/ ./usr/share/locale/eu/LC_MESSAGES/amule.mo ./usr/share/locale/nl/ ./usr/share/locale/nl/LC_MESSAGES/ ./usr/share/locale/nl/LC_MESSAGES/amule.mo ./usr/share/locale/ar/ ./usr/share/locale/ar/LC_MESSAGES/ ./usr/share/locale/ar/LC_MESSAGES/amule.mo ./usr/share/locale/fi/ ./usr/share/locale/fi/LC_MESSAGES/ ./usr/share/locale/fi/LC_MESSAGES/amule.mo ./usr/share/locale/zh_CN/ ./usr/share/locale/zh_CN/LC_MESSAGES/ ./usr/share/locale/zh_CN/LC_MESSAGES/amule.mo ./usr/share/locale/zh_TW/ ./usr/share/locale/zh_TW/LC_MESSAGES/ ./usr/share/locale/zh_TW/LC_MESSAGES/amule.mo ./usr/share/locale/da/ ./usr/share/locale/da/LC_MESSAGES/ ./usr/share/locale/da/LC_MESSAGES/amule.mo ./usr/share/locale/hu/ ./usr/share/locale/hu/LC_MESSAGES/ ./usr/share/locale/hu/LC_MESSAGES/amule.mo ./usr/share/locale/ca/ ./usr/share/locale/ca/LC_MESSAGES/ ./usr/share/locale/ca/LC_MESSAGES/amule.mo ./usr/share/locale/it_CH/ ./usr/share/locale/it_CH/LC_MESSAGES/ ./usr/share/locale/it_CH/LC_MESSAGES/amule.mo ./usr/share/locale/pt_PT/ ./usr/share/locale/pt_PT/LC_MESSAGES/ ./usr/share/locale/pt_PT/LC_MESSAGES/amule.mo ./usr/share/locale/hr/ ./usr/share/locale/hr/LC_MESSAGES/ ./usr/share/locale/hr/LC_MESSAGES/amule.mo ./usr/share/doc/ ./usr/share/doc/aMule-2.0.0rc7/ ./usr/share/doc/aMule-2.0.0rc7/ABOUT-NLS ./usr/share/doc/aMule-2.0.0rc7/amulesig.txt ./usr/share/doc/aMule-2.0.0rc7/amule-win32.HOWTO.txt ./usr/share/doc/aMule-2.0.0rc7/Changelog ./usr/share/doc/aMule-2.0.0rc7/Doxyfile ./usr/share/doc/aMule-2.0.0rc7/ED2K-Links.HOWTO ./usr/share/doc/aMule-2.0.0rc7/INSTALL ./usr/share/doc/aMule-2.0.0rc7/license.txt ./usr/share/doc/aMule-2.0.0rc7/README ./usr/share/doc/aMule-2.0.0rc7/TODO ./usr/share/pixmaps/ ./usr/share/pixmaps/amule.xpm ./usr/share/applications/ ./usr/share/applications/amule.desktop ./usr/lib/ ./usr/lib/xchat/ ./usr/lib/xchat/plugins/ ./usr/lib/xchat/plugins/xas.pl ./usr/bin/ ./usr/bin/ed2k ./usr/bin/amule >>> Done. >>> extracting info wxgtk-2.4-config * Using /usr/bin/wxgtk-2.4-config * Compiling amule against wxGTK2 2.4.x is not supported. * You can upgrade wxGTK to development snapshot 2.5.* * but this will break other applications, or emerge amule * with USE="-gtk2 -unicode". !!! ERROR: amule-2.0.0_rc7/amule-2.0.0_rc7 failed. !!! Function pkg_setup, Line 42, Exitcode 0 !!! Emerge amule with USE="-gtk2 -unicode". !!! Error running pkg_setup root@gentoo / # But emerging with the following command works: USE="-gtk2 -unicode" emerge net-p2p/amule Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6.9-rc4-nitro1) ================================================================= System uname: 2.6.9-rc4-nitro1 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.4.16 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config//usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg sandbox userpriv" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/gentoo.overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow GAPING_SECURITY_HOLE X aalib acl acpi alsa amd apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bonobo bzlib cdparanoia cdr clamav crypt cups curl dga directfb divx4linux dv dvd dvdr encode erandom esd ethereal evo f77 fam fbcon fbdev fdftk ffmpeg fftw flac flash foomaticdb freetype ftp gb gd gdbm ggi gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icc icc-pgo ieee1394 imagemagick imap imlib jack java javascript jikes jpeg junit kde kerberos krb4 lcms ldap lesstif libg++ libwww mad mcal md5sum mdb mikmod mmx monkey motif mozilla mpeg mpeg4 mplayer nas ncurses net nls nntp nptl nvidia oav oggvorbis opengl oss pam pda pdflib perl pic png ppds psyco pthreads python qt qtmt quicktime readline samba scanner sdl skey slang slp snmp socks5 sox speex spell sse ssl svga szip tcltk tcpd tetex tiff truetype usb wmf x86 xface xine xml xml2 xmms xosd xprint xv xvid zlib"
try FEATURES="-buildpkg" emerge amule please.
Hmm. That error message is from pkg_setup... I wasn't aware pkg_setup was being reran after building the pkg, and merging the tbz2...
Without buildpkg, emerging amule works without any problems.
I can't reproduce this on 2.0.51-r2. Can you emerge the latest portage and try again please?
Cool! Portage 2.0.51-r2 does not have this error any more ;)