Bug 30036 - Building gnome-extra/gnome-media-2.4.0 fails
|
Bug#:
30036
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome@gentoo.org
|
Reported By: mark@klug.on.ca
|
|
Component: GNOME
|
|
|
URL:
|
|
Summary: Building gnome-extra/gnome-media-2.4.0 fails
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-09-30 16:59 0000
|
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=\"/usr/share/locale\" -DDATADIR=\"/usr/share
\" -DG_LOG_DOMAIN=\"CDDBSlave2\" -march=pentium2 -O2 -pipe -c
GNOME_Media_CDDBSlave2-stubs.c -o GNOME_Media_CDDBSlave2-stubs.o >/dev/null
2>&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=\"/usr/share/locale\" -DDATADIR=\"/usr/share
\" -DG_LOG_DOMAIN=\"CDDBSlave2\" -march=pentium2 -O2 -pipe -c
cddb-slave-client.c -o cddb-slave-client.o >/dev/null 2>&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=\"/usr/share/locale\" -DDATADIR=\"/usr/share
\" -DG_LOG_DOMAIN=\"CDDBSlave2\" -march=pentium2 -O2 -pipe -c
GNOME_Media_CDDBSlave2-skels.c -o GNOME_Media_CDDBSlave2-skels.o >/dev/null
2>&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'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-media-2.4.0/work/
gnome-media-2.4.0'
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="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs distcc"
GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://
cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ http://www.ibiblio.org/
gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="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"
can you try:
MAKEOPTS="-j1" emerge gnome-media
this seems to be a parallel build problem
using ccache & distcc i see ? then thats probably involved as well.
ccache?! yikes ... I don't remember ever turning that on. I don't have the
disk space for it. I'll turn that off and try building gnome-media without
distcc.
Mark
Um, well, I did not change anything but my most recent attempt at building
it seems to have been successful. Magic fairy dust ...
Mark
well, if we can't reproduce it, we can't fix it :(
This issue i neither resolved nor invalid. I'm having the same problem and
indeed it seems to be a parrallel make problem. I didn't have cchae enabled the
first couple of times this ebuild failed. I had:
CFLAGS="-march=athlon-xp -m3dnow -msse -mmmx -mfpmath=sse,387 -maccumulate-outgoing-args -O3 -pipe"
FEATURES="distcc sandbox" # ccache"
MAKEOPTS="-j4"
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 <a href="http://scons.sourceforge.net">SCons</a> for the portage tree?
is it exactly the same error? what if you try my suggestion of MAKEOPTS="-j1"
emerge gnome-media ?
actually, now that i've learnt how to read english, i realise you just said
MAKEOPTS hack works for you. basically, most things involving orbit-idl usually
don't work with parallel builds.
the scons comment should be directed upstream and not at us. we shouldn't be
rewriting everyone's makefiles and autoconf files.
added MAKEOPTS restriction to gnome-media
Not start a flame war but I belive as gentoo is so heavily dependent on its
build system it shouldn'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.