If USE="debug" is set, building xfree-4.3.0-r2 fails when trying to make libidriver.a . Setting USE="-debug" works. Reproducible: Didn't try Steps to Reproduce: USE="debug" emerge xfree Actual Results: Failed when trying to make libidriver.a Other people have seen the same bug; see http://forums.gentoo.org/viewtopic.php?t=49288&highlight=libidriver&sid=b1dc11a377ac4c06fbc0ce29594ad7a2 http://forums.gentoo.org/viewtopic.php?t=51330&highlight=libidriver&sid=b1dc11a377ac4c06fbc0ce29594ad7a2 http://forums.gentoo.org/viewtopic.php?t=49991&highlight=libidriver&sid=b1dc11a377ac4c06fbc0ce29594ad7a2 Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.5.68 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow arts avi crypt cups encode gif gpm gtk imlib java jpeg kde gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png qt quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb slang readline X tcpd pam ssl python opengl aalib acl acpi alsa apache2 -apm bonobo canna cjk curl debug dga directfb doc emacs esd ethereal evo fbcon firebird flash freewnn gb gd ggi gtk2 gtkhtml guile imap innodb ipv6 jikes junit ladcca lcms ldap leim libgda maildir mozilla mule mysql nas odbc perl plotutils pnp postgres sasl slp snmp -svga tcltk tiff wmf Xaw3d xface xml" COMPILER="gcc3" CHOST="i586-pc-linux-gnu" CFLAGS="-march=k6 -mmmx -m3dnow -ggdb3 -Os -pipe -momit-leaf-frame-pointer" CXXFLAGS="-march=k6 -mmmx -m3dnow -ggdb3 -Os -pipe -momit-leaf-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox buildpkg"
I also run +debug and encounter this issue. I have not attempted to rebuild with -debug. In the ebuild, `use debug` #defines DoLoadableServer NO in config/cf/host.def. (It is also defined YES earlier in the conf file) The Makfile in work/xc/programs/Xserver/hw/xfree86/drivers and the one in work/xc/programs/Xserver/hw/xfree86/input have very similar forms. In the drivers one, "make driver.list" builds all the subdirs, then fills driver.list with a list of form "mga/mga_drv.o" While in input, "make idriver.list" skips all the dependancies and quickly creates a bogus idriver.list of form "mouse/*_drv.o" I do not see why one does the dependancies correctly and the other does not. For a workaround, I suppose one should "make all.subdirs" after the ebuild stops, but that will build all the input drivers into the static xfree (built by `use debug`)
the parallel make patch is what screws this up, from what I can tell.
4.3.0-r2 is now fixed.