With gcc 3.3.2-r2 (also with gcc 3.3.1-r2) I get the following compile failure: /bin/sh ../libtool --mode=link c++ -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o libaviplay.la -rpath /usr/lib -release 0.7 -version-info 0:38:0 codeckeeper.lo Uncompressed.lo aviplay/libaviplay.la aviread/libaviread.la aviwrite/libaviwrite.la common/libcommon.la subtitle/libsubtitle.la video/libvideo.la -lpthread -lnsl -ldl mkdir .libs libtool: link: cannot find the library `' make[2]: *** [libaviplay.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib' make: *** [all-recursive] Error 1 !!! ERROR: media-video/avifile-0.7.38.20030710 failed. !!! Function src_compile, Line 141, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: Actual Results: emerge info: Portage 2.0.49-r12 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9-mm1) ================================================================= System uname: 2.6.0-test9-mm1 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -msse -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -msse -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox userpriv usersandbox ccache" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 apm avi crypt encode foomaticdb jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime xml2 xmms zlib gdbm slang readline tetex svga tcltk guile X sdl gpm tcpd libwww ssl perl python imlib oggvorbis gtk qt kde motif mozilla gphoto2 cdr pic gtk2 sse tiff oss -cups -gnome -spell alsa -berkdb -pam arts gif truetype -smooth java xv opengl artswrappersuid samba -esd -aalib nptl 3dnow applypatches mmx"
Hmm, this is a new (and slightly odd) side effect of the sandbox fix. Anyhow, it is sandbox related, please try with: # FEATURES="-sandbox -usersandbox" emerge avifile It should be fixed in the next version of portage.
Doesn't work. With FEATURES="-sandbox -usersandbox" FEATURES="-sandbox -usersandbox -ccache" FEATURES="-sandbox -usersandbox -userpriv -ccache" Also tried USE="-*" with the above. It still doesn't compile. Also note that when compiling, I still get the rm: cannot remove `': Invalid argument message.
Do you see sandbox in 'ps' output during merge ?
Problem solved :) Searched the forums in desperation (I even made a CVS ebuild for avifile, just to see if it had been fixed...) Following threads (in German and Italian though, luckily the key post was in English) http://forums.gentoo.org/viewtopic.php?t=90192 http://forums.gentoo.org/viewtopic.php?p=615629#615629 It had nothing to do with the sandbox issue, and everything to do with http://bugs.gentoo.org/show_bug.cgi?id=24385 it seems. I took the liberty of closing it as invalid, as it is a bug in non-official Gentoo packages (kde-cvs).