<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>29511</bug_id>
          
          <creation_ts>2003-09-24 06:52 0000</creation_ts>
          <short_desc>distcc-2.11 build fails on systems w/gtk but w/o gnome</short_desc>
          <delta_ts>2003-09-24 09:43:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>klausman@gentoo.org</reporter>
          <assigned_to>lisa@gentoo.org</assigned_to>
          <cc>Rob_Davies@NTLworld.com</cc>

      

      
          <long_desc isprivate="0">
            <who>klausman@gentoo.org</who>
            <bug_when>2003-09-24 06:52:51 0000</bug_when>
            <thetext>I have USE set to &quot;gtk -gnome&quot; which confuses the distcc ebuild, as it seems:



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


Actual Results:  
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) sys-devel/distcc-2.11 to /
&gt;&gt;&gt; md5 src_uri ;-) distcc-2.11.tar.bz2
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking distcc-2.11.tar.bz2 to /var/tmp/portage/distcc-2.11/work
&gt;&gt;&gt; Source unpacked.
gtk
configure: WARNING: If you wanted to set the --build type, don&apos;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&apos;
to the PKG_CONFIG_PATH environment variable
No package &apos;libgnome-2.0&apos; 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=&quot;-gtk&quot;


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=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache autoaddcvs distcc sandbox userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://ftp.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j8&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-09-24 09:23:47 0000</bug_when>
            <thetext>*** Bug 29513 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lisa@gentoo.org</who>
            <bug_when>2003-09-24 09:31:35 0000</bug_when>
            <thetext>Urgh.  Guess its now &quot;gnome only.&quot;  I&apos;ll get a -r1 into CVS that swaps gtk and gnome keywords.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lisa@gentoo.org</who>
            <bug_when>2003-09-24 09:43:43 0000</bug_when>
            <thetext>Fixed in cvs, -r1.

Now has the gnome USE flag.
Docs will be updated.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>