Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20511 - xfree-4.3.0-r2 fails emerge if USE="debug"
Summary: xfree-4.3.0-r2 fails emerge if USE="debug"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-05 19:20 UTC by Cesar Eduardo Barros
Modified: 2003-06-02 03:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cesar Eduardo Barros 2003-05-05 19:20:46 UTC
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"
Comment 1 Aric LeDell 2003-05-18 16:30:47 UTC
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`)
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 01:46:55 UTC
the parallel make patch is what screws this up, from what I can tell.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-02 03:08:26 UTC
4.3.0-r2 is now fixed.