Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29511 - distcc-2.11 build fails on systems w/gtk but w/o gnome
Summary: distcc-2.11 build fails on systems w/gtk but w/o gnome
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
: 29513 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-24 06:52 UTC by Tobias Klausmann (RETIRED)
Modified: 2003-09-24 09:43 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 Tobias Klausmann (RETIRED) gentoo-dev 2003-09-24 06:52:51 UTC
I have USE set to "gtk -gnome" which confuses the distcc ebuild, as it seems:



Reproducible: Always
Steps to Reproduce:
1. USE="gtk -gnome" emerge distcc or
2. USE="gtk gnome" emerge distcc (but without libgnome installed)


Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/distcc-2.11 to /
>>> md5 src_uri ;-) distcc-2.11.tar.bz2
>>> Unpacking source...
>>> Unpacking distcc-2.11.tar.bz2 to /var/tmp/portage/distcc-2.11/work
>>> Source unpacked.
gtk
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking version of gtk+-2.0... 2.2.4
checking version of libglade-2.0... 2.0.1
checking version of libgnome-2.0... Package libgnome-2.0 was not found in the
pkg-config search path.
Perhaps you should add the directory containing `libgnome-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnome-2.0' found
configure: error: libgnome-2.0 was not found by pkg-config

!!! ERROR: sys-devel/distcc-2.11 failed.
!!! Function econf, Line 324, Exitcode 1

Expected Results:  
Emerge distcc in one of thw following ways:
- with distccmon, the pull libgnome as a dep
- without distccmon, the do the same as with USE="-gtk"


distcc tries to query pkg-config for the following modules: 
gtk+-2.0 libglade-2.0 libgnome-2.0 libgnomeui-2.0 pango
(gleaned from line 1429 and following of the configure script)

Perhaps fixing the deps inside the ebuild is needed?

Portage 2.0.49-r6 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.23-pre2)
=================================================================
System uname: 2.4.23-pre2 i686 AMD Athlon(tm) XP 2500+
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://ftp.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png spell truetype xml2 zlib gdbm berkdb slang readline tetex
aalib bonobo svga ggi tcltk java guile sdl tcpd pam libwww ssl perl python esd
imlib motif opengl mozilla snmp cdr scanner X gtk -gnome alsa -arts -kde -qt
gtk2 dvd exif dga encode gphoto2 gpm jack mmx oggvorbis quicktime xmms xv mysql"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-09-24 09:23:47 UTC
*** Bug 29513 has been marked as a duplicate of this bug. ***
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-09-24 09:31:35 UTC
Urgh.  Guess its now "gnome only."  I'll get a -r1 into CVS that swaps gtk and gnome keywords.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2003-09-24 09:43:43 UTC
Fixed in cvs, -r1.

Now has the gnome USE flag.
Docs will be updated.