<?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>30036</bug_id>
          
          <creation_ts>2003-09-30 16:59 0000</creation_ts>
          <short_desc>Building gnome-extra/gnome-media-2.4.0 fails</short_desc>
          <delta_ts>2003-12-06 12:33:53 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>GNOME</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mark@klug.on.ca</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mark@klug.on.ca</who>
            <bug_when>2003-09-30 16:59:20 0000</bug_when>
            <thetext>Merging translations into cddb-slave.desktop. 
/bin/sh ../libtool --mode=link gcc  -march=pentium2 -O2 -pipe  -o 
cddb-slave2-properties  cddb-slave-capplet.o gnet-private.o iochannel.o 
inetaddr.o socks.o socks-private.o tcp.o -Wl,--export-dynamic -pthread -L/usr/
X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz 
-lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 
-lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 
-lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -pthread -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/
usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/
gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/
libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/
include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/
bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/
usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/
include/libxml2 -DGNOMELOCALEDIR=\&quot;/usr/share/locale\&quot; -DDATADIR=\&quot;/usr/share
\&quot; -DG_LOG_DOMAIN=\&quot;CDDBSlave2\&quot; -march=pentium2 -O2 -pipe -c 
GNOME_Media_CDDBSlave2-stubs.c -o GNOME_Media_CDDBSlave2-stubs.o &gt;/dev/null 
2&gt;&amp;1 
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -pthread -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/
usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/
gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/
libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/
include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/
bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/
usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/
include/libxml2 -DGNOMELOCALEDIR=\&quot;/usr/share/locale\&quot; -DDATADIR=\&quot;/usr/share
\&quot; -DG_LOG_DOMAIN=\&quot;CDDBSlave2\&quot; -march=pentium2 -O2 -pipe -c 
cddb-slave-client.c -o cddb-slave-client.o &gt;/dev/null 2&gt;&amp;1 
/bin/sh ../libtool --mode=link gcc  -march=pentium2 -O2 -pipe  -o CDDBSlave2  
GNOME_Media_CDDBSlave2-common.o GNOME_Media_CDDBSlave2-skels.o 
GNOME_Media_CDDBSlave2-stubs.o cddb-slave.o cddb-parser.o gnet-private.o 
iochannel.o inetaddr.o main.o socks.o socks-private.o tcp.o 
-Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE 
-lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt 
-lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 
-lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm 
-lgmodule-2.0 -ldl -lglib-2.0 
gcc -march=pentium2 -O2 -pipe -o cddb-slave2-properties cddb-slave-capplet.o 
gnet-private.o iochannel.o inetaddr.o socks.o socks-private.o tcp.o 
-Wl,--export-dynamic -pthread  -L/usr/X11R6/lib /usr/lib/libgnomeui-2.so -L/
usr/lib /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so -lSM -lICE -lX11 /usr/
lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/
libasound.so /usr/lib/libaudiofile.so /usr/lib/libart_lgpl_2.so /usr/lib/
libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/
lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so /
usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libbonobo-2.so /
usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so /usr/lib/libxml2.so -lz -lrt /
usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/
libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so /usr/lib/
libgthread-2.0.so -lpthread -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/
libglib-2.0.so 
../intltool-merge ../po GNOME_Media_CDDBSlave2.server.in 
GNOME_Media_CDDBSlave2.server -o -u -c ../po/.intltool-merge-cache 
Found cached translation database 
Merging translations into GNOME_Media_CDDBSlave2.server. 
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -pthread -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/
usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/
gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/
libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/
include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/
bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/
usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/
include/libxml2 -DGNOMELOCALEDIR=\&quot;/usr/share/locale\&quot; -DDATADIR=\&quot;/usr/share
\&quot; -DG_LOG_DOMAIN=\&quot;CDDBSlave2\&quot; -march=pentium2 -O2 -pipe -c 
GNOME_Media_CDDBSlave2-skels.c -o GNOME_Media_CDDBSlave2-skels.o &gt;/dev/null 
2&gt;&amp;1 
gcc -march=pentium2 -O2 -pipe -o CDDBSlave2 GNOME_Media_CDDBSlave2-common.o 
GNOME_Media_CDDBSlave2-skels.o GNOME_Media_CDDBSlave2-stubs.o cddb-slave.o 
cddb-parser.o gnet-private.o iochannel.o inetaddr.o main.o socks.o 
socks-private.o tcp.o -Wl,--export-dynamic -pthread  -L/usr/X11R6/lib /usr/
lib/libgnomeui-2.so -L/usr/lib /usr/lib/libjpeg.so /usr/lib/libbonoboui-2.so 
-lSM -lICE -lX11 /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/
libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so /usr/lib/
libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/
lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /
usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/
libpango-1.0.so /usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so /usr/lib/
libgconf-2.so /usr/lib/libxml2.so -lz -lrt /usr/lib/libbonobo-activation.so /
usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /
usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/
libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so 
gcc: GNOME_Media_CDDBSlave2-skels.o: No such file or directory 
distcc[2626] ERROR: compile on localhost failed 
make[2]: *** [CDDBSlave2] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
make[2]: Leaving directory `/var/tmp/portage/gnome-media-2.4.0/work/
gnome-media-2.4.0/cddb-slave2&apos; 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/gnome-media-2.4.0/work/
gnome-media-2.4.0&apos; 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: gnome-extra/gnome-media-2.4.0 failed. 
!!! Function gnome2_src_compile, Line 39, Exitcode 2 
!!! compile failure 
 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.49-r7 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 
2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 Pentium II (Deschutes) 
distcc 2.11 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=pentium2 -O2 -pipe&quot; 
CHOST=&quot;i686-pc-linux-gnu&quot; 
COMPILER=&quot;gcc3&quot; 
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/
share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/
config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/
config/ /usr/share/config&quot; 
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot; 
CXXFLAGS=&quot;-march=pentium2 -O2 -pipe&quot; 
DISTDIR=&quot;/usr/portage/distfiles&quot; 
FEATURES=&quot;sandbox ccache autoaddcvs distcc&quot; 
GENTOO_MIRRORS=&quot;ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://
cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ http://www.ibiblio.org/
gentoo&quot; 
MAKEOPTS=&quot;-j4&quot; 
PKGDIR=&quot;/usr/portage/packages&quot; 
PORTAGE_TMPDIR=&quot;/var/tmp&quot; 
PORTDIR=&quot;/usr/portage&quot; 
PORTDIR_OVERLAY=&quot;&quot; 
SYNC=&quot;rsync://rsync.ca.gentoo.org/gentoo-portage&quot; 
USE=&quot;x86 oss apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad 
mikmod mmx ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib 
directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo 
svga ggi tcltk ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python 
esd imlib oggvorbis gtk qt kde motif opengl gphoto2 ldap cdr scanner dga fbcon 
imap maildir mbox mozilla offensive pda ppds samba sasl sse tiff usb wmf 
xinerama -java -mpeg -guile&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-10-01 03:24:15 0000</bug_when>
            <thetext>can you try:

 MAKEOPTS=&quot;-j1&quot; emerge gnome-media

this seems to be a parallel build problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2003-10-01 05:50:37 0000</bug_when>
            <thetext>using ccache &amp; distcc i see ? then thats probably involved as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mark@klug.on.ca</who>
            <bug_when>2003-10-01 20:05:03 0000</bug_when>
            <thetext>ccache?! yikes ... I don&apos;t remember ever turning that on. I don&apos;t have the
disk space for it. I&apos;ll turn that off and try building gnome-media without
distcc.

Mark</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mark@klug.on.ca</who>
            <bug_when>2003-10-08 18:57:19 0000</bug_when>
            <thetext>Um, well, I did not change anything but my most recent attempt at building
it seems to have been successful. Magic fairy dust ...

Mark
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-10-10 14:55:53 0000</bug_when>
            <thetext>well, if we can&apos;t reproduce it, we can&apos;t fix it :(</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>john@milsson.nu</who>
            <bug_when>2003-12-06 08:48:48 0000</bug_when>
            <thetext>This issue i neither resolved nor invalid. I&apos;m having the same problem and
indeed it seems to be a parrallel make problem. I didn&apos;t have cchae enabled the
first couple of times this ebuild failed. I had:

CFLAGS=&quot;-march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse,387 -maccumulate-outgoing-args -O3 -pipe&quot;

FEATURES=&quot;distcc sandbox&quot; # ccache&quot;

MAKEOPTS=&quot;-j4&quot;


Then I enabled ccache, had the same failure, and the I run the ebuild in
parrallel with the emerge -e world it was failing in and it succeeded.


A quick hack would be to override MAKEOPTS in the ebuild. But then the make process of the package would still be broken.

Should we consider migrating to &lt;a href=&quot;http://scons.sourceforge.net&quot;&gt;SCons&lt;/a&gt; for the portage tree?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-12-06 09:09:26 0000</bug_when>
            <thetext>is it exactly the same error? what if you try my suggestion of MAKEOPTS=&quot;-j1&quot; emerge gnome-media ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2003-12-06 09:18:12 0000</bug_when>
            <thetext>actually, now that i&apos;ve learnt how to read english, i realise you just said MAKEOPTS hack works for you. basically, most things involving orbit-idl usually don&apos;t work with parallel builds.

the scons comment should be directed upstream and not at us. we shouldn&apos;t be rewriting everyone&apos;s makefiles and autoconf files.

added MAKEOPTS restriction to gnome-media</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>john@milsson.nu</who>
            <bug_when>2003-12-06 12:33:53 0000</bug_when>
            <thetext>Not start a flame war but I belive as gentoo is so heavily dependent on its build system it shouldn&apos;t just implement other peoples bugs.

I respect you opinion that portage is just a tool for managing other peoples existing codebases. But if Gentoo Linux as an operating system should ever earn respect as such. Gentoo must take responsibilty for every single line of code it incorporate in the distribution.

IMHO.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>