gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2 -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 -O2 -mcpu=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387 -Wall -std=c9x -c gtkmodule.c -Wp,-MD,.deps/_gtk_la-gtkmodule.TPlo -DPIC cc1: warning: SSE instruction set disabled, using 387 arithmetics 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] Error 1 make[2]: *** Waiting for unfinished jobs.... cc1: warning: SSE instruction set disabled, using 387 arithmetics 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] Error 1 make[2]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0' make: *** [all] Error 2 !!! ERROR: dev-python/pygtk-2.0.0 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.10p1 distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /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="-O2 -mcpu=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -fforce-addr -fprefetch-loop-arrays -fmove-all-movables -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache fixpackages keeptemp keepwork userpriv" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" 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="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap cdr scanner 3dnow acl acpi acpi4linux artswrappersuid auctex clisp cmucl cscope curl dga dnd doc dvd dvdr emacs faad fbcon firebird gcl gd glut hbci imagemagick imap innodb jack jack-tmpfs javascript jikes junit ladcca lcms lirc ltsp maildir mbox md5sum mng moznocompose moznoirc moznomail mozsvg mozxmlterm oav openal php plotutils pnp ppds samba sasl skey slp sse tiff transcode usb vim-with-x wmf X509 xml xvid zeo -gnome -quicktime -guile -esd"
try with -O3 -mcpu=athlon-xp
My fault - sorry! I changed -march to -mcpu for a test and forgot to change it back. Using -mcpu only doesn't seem to work.
I had distcc in my Features-line in /etc/make.conf and I had the same problem. When I removed it, it finally worked. -Jimmy
Reopening
I need Jimmy (comment 3) to paste the error he found with distcc.
no traffic. closing.
The following is the output for my similar problem with distcc enabled. Hope this helps. Failure to distribute message is due to my other computer being offline. Regards tbechmann@yahoo.com. Calculating dependencies ...done! >>> emerge (1 of 2) dev-python/pygtk-2.0.0 to / >>> md5 src_uri ;-) pygtk-2.0.0.tar.bz2 >>> Unpacking source... >>> Unpacking pygtk-2.0.0.tar.bz2 to /var/tmp/portage/pygtk-2.0.0/work >>> Source unpacked. 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 for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc checking for bind_textdomain_codeset... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for some Win32 platform... no checking for native Win32... no checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc checking how to run the C++ preprocessor... g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... no checking for ar... ar checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... strip checking if gcc static flag works... no checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... no checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... no checking if g++ supports -c -o file.o... no checking if we can lock with hard links... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for a Python interpreter with version >= 2.2... python checking for python... /usr/bin/python checking for python version... 2.2 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.2/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.2/site-packages checking for headers required to compile python extensions... found checking for python module thread... yes checking whether to enable threading in pygtk... yes checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.2.3) checking for pkg-config... (cached) /usr/bin/pkg-config checking is pkg-config version >= 0.9.0... yes checking for atk >= 1.0.0... yes checking ATK_CFLAGS... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking ATK_LIBS... -Wl,--export-dynamic -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for pango >= 1.0.0... yes checking PANGO_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking PANGO_LIBS... -Wl,--export-dynamic -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for pkg-config... (cached) /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.2.4) checking for libglade-2.0 >= 2.0.0... yes checking LIBGLADE_CFLAGS... -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -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 checking LIBGLADE_LIBS... -Wl,--export-dynamic -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for gtkgl-2.0 >= 1.99.0... yes checking GTKGL_CFLAGS... -I/usr/include/gtkgl-2.0 -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 checking GTKGL_LIBS... -Wl,--export-dynamic -lgtkgl-2.0 -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 checking for Numeric/arrayobject.h... no configure: creating ./config.status config.status: creating Makefile config.status: creating pygtk-2.0.pc config.status: creating codegen/Makefile config.status: creating gtk/Makefile config.status: creating docs/Makefile config.status: creating codegen/pygtk-codegen-2.0 config.status: creating pygtk.spec config.status: creating PKG-INFO config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0' Making all in codegen make[2]: Entering directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/codegen' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/codegen' Making all in gtk make[2]: Entering directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0/gtk' source='gtkmodule.c' object='_gtk_la-gtkmodule.lo' libtool=yes \ depfile='.deps/_gtk_la-gtkmodule.Plo' tmpdepfile='.deps/_gtk_la-gtkmodule.TPlo' \ depmode=gcc /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2 -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 -02 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -std=c9x -c -o _gtk_la-gtkmodule.lo `test -f 'gtkmodule.c' || echo './'`gtkmodule.c source='gtkobject-support.c' object='_gtk_la-gtkobject-support.lo' libtool=yes \ depfile='.deps/_gtk_la-gtkobject-support.Plo' tmpdepfile='.deps/_gtk_la-gtkobject-support.TPlo' \ depmode=gcc /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2 -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 -02 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -std=c9x -c -o _gtk_la-gtkobject-support.lo `test -f 'gtkobject-support.c' || echo './'`gtkobject-support.c source='gtk-types.c' object='_gtk_la-gtk-types.lo' libtool=yes \ depfile='.deps/_gtk_la-gtk-types.Plo' tmpdepfile='.deps/_gtk_la-gtk-types.TPlo' \ depmode=gcc /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2 -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 -02 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -std=c9x -c -o _gtk_la-gtk-types.lo `test -f 'gtk-types.c' || echo './'`gtk-types.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2 -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 -02 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -std=c9x -c gtkmodule.c -Wp,-MD,.deps/_gtk_la-gtkmodule.TPlo -DPIC distcc[32402] (dcc_build_somewhere) Warning: failed to distribute, running locally instead gcc: unrecognized option `-02' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2 -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 -02 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -std=c9x -c gtkobject-support.c -Wp,-MD,.deps/_gtk_la-gtkobject-support.TPlo -DPIC distcc[32430] (dcc_build_somewhere) Warning: failed to distribute, running locally instead gcc: unrecognized option `-02' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/python2.2 -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 -02 -march=athlon-xp -fomit-frame-pointer -pipe -Wall -std=c9x -c gtk-types.c -Wp,-MD,.deps/_gtk_la-gtk-types.TPlo -DPIC distcc[32453] (dcc_build_somewhere) Warning: failed to distribute, running locally instead gcc: unrecognized option `-02' 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] Error 1 make[2]: *** Waiting for unfinished jobs.... 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] Error 1 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] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pygtk-2.0.0/work/pygtk-2.0.0' make: *** [all] Error 2 !!! ERROR: dev-python/pygtk-2.0.0 failed. !!! Function src_compile, Line 28, Exitcode 2 !!! (no error message)
that hasn't got anything to do with this bug. distcc[32402] (dcc_build_somewhere) Warning: failed to distribute, running locally instead gcc: unrecognized option `-02' that should be 'oh'-'two' (-O2) and not 'zero'-two' (-02)