Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45776 - emerge pygtk-2.0.0-r1 fails with distcc and no distcc hosts
Summary: emerge pygtk-2.0.0-r1 fails with distcc and no distcc hosts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 00:43 UTC by Martin Probst
Modified: 2004-04-09 16:10 UTC (History)
0 users

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


Attachments
log of failed pygtk-2.0.0-r1 emerge (2130-pygtk-2.0.0-r1.log,12.51 KB, text/plain)
2004-03-28 10:44 UTC, Martin Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Probst 2004-03-26 00:43:04 UTC
I'm not completly sure whether this is really a bug or rather the user (yes, thats me ;)) being stupid.

When emerging pygtk-2.0.0-r1 with distcc turned on in FEATURES but the hosts set up are not responding the ebuild fails. The point where it fails is this:

--- snip ---

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.3 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -O3 -funroll-loops -fomit-frame-pointer -pipe -Wall -std=c9x -c gtk-types.c -Wp,-MD,.deps/_gtk_la-gtk-types.TPlo  -DPICdistcc[25629] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
mv -f _gtk_la-gtkmodule.o .libs/_gtk_la-gtkmodule.o
mv: cannot stat `_gtk_la-gtkmodule.o': No such file or directory
make[2]: *** [_gtk_la-gtkmodule.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
gtk-types.c: In function `_pygtk_register_boxed_types':
gtk-types.c:1268: warning: dereferencing type-punned pointer will break strict-aliasing rules
mv -f _gtk_la-gtk-types.o .libs/_gtk_la-gtk-types.o
mv: cannot stat `_gtk_la-gtk-types.o': No such file or directory
make[2]: *** [_gtk_la-gtk-types.lo] Fehler 1
mv -f _gtk_la-gtkobject-support.o .libs/_gtk_la-gtkobject-support.o
mv: cannot stat `_gtk_la-gtkobject-support.o': No such file or directory
make[2]: *** [_gtk_la-gtkobject-support.lo] Fehler 1
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/pygtk-2.0.0-r1/work/pygtk-2.0.0'
make: *** [all] Fehler 2
                                                                                                     
!!! ERROR: dev-python/pygtk-2.0.0-r1 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)

--- snap ---

So it seems like the question is whether a misconfigured/not-running distcc should be somehow handled by the ebuild or not. Anyhow other users having the same problem might find this bug and be able to fix their problem.

Reproducible: Always
Steps to Reproduce:
1. set up distcc in FEATURES and configure hosts but don't connect them
2. emerge pygtk-2.0.0-r1
3.

Actual Results:  
Emerging pygtk fails.

Expected Results:  
Successfully emerge pygtk.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.
3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config 
/usr/kde/3.1/share/config /usr/kde/3.2/share/config 
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref 
/usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ 
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp:
//sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.
ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.
ruhr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.
tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb cdr crypt cups doc encode esd 
foomaticdb gdbm gif gnome gnomedb gpm gtk gtk2 gtkhtml guile imlib java 
jpeg libg++ libwww mad mikmod mmx motif mozilla mozilla-firebird mpeg 
ncurses nls nptl oggvorbis opengl oss pam pdf pdflib perl php png 
python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex 
tiff truetype vim vim-with-x x86 xml2 xmms xv zlib"
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-03-28 10:30:45 UTC
more like a parallel build problem which gets triggered by distcc .. 

do you have the full build log?
Comment 2 Martin Probst 2004-03-28 10:44:40 UTC
Created attachment 28227 [details]
log of failed pygtk-2.0.0-r1 emerge

Here it is.
Comment 3 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-04-05 23:05:04 UTC
Does this bug concern also pygtk-2.2.0?
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-04-09 16:10:25 UTC
to be on hte safe side, i've disabling parallel builds for the moment.