emerging gdk-pixbuf-0.22.0-r3 stops almost near start with error message: gcc: cannot specify -o with -c or -S and multiple compilations. this is the latest version (and is also stable) available on portage and is required to emerge dev-ml/lablgtk-1.2.5. Reproducible: Always Steps to Reproduce: 1. emerge gdk-pixbuf Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include @GNOME_INCLUDEDIR@ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DPIXBUF_LIBDIR=\"/usr/lib/gdk-pixbuf/loaders\" -march=pentium4 -mcpu=i686 -O2 -pipe -fomit-frame-pointer -c gdk-pixbuf.c -fPIC -DPIC -o .libs/gdk-pixbuf.lo gcc: cannot specify -o with -c or -S and multiple compilations make[3]: *** [gdk-pixbuf.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0/gdk-pixbuf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0/gdk-pixbuf' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r3/work/gdk-pixbuf-0.22.0' make: *** [all-recursive-am] Error 2 !!! ERROR: media-libs/gdk-pixbuf-0.22.0-r3 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: successful emerge of the package. Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mcpu=i686 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mcpu=i686 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib calendar cdb cdr cpdflib crypt cups dio directfb divx4linux doc dvd dvdr emacs emacs-w3 encode esd ethereal f77 foomaticdb fortran ftp gb gd gdbm gif gimpprint gmp gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imap imlib jabber java jpeg kerberos krb4 ladcca lcms libg++ libmng libwww mad matroska mikmod mime motif mozilla mpeg msn ncurses nls oggvorbis openal opengl oss pam pdflib perl png posix python quicktime readline recode samba sasl sdl simplexml slang slp sndfile soap sockets spell ssl svga szip tcltk tcpd tiff truetype unicode usb wmf x86 xine xml xml2 xmlrpc xmms xpm xprint xv xvid zlib" tried switching MAKEOPTS to "-j1" but the problem remains.
i've now managed to find a solution. the compile process seems to fail because the GNOME_INCLUDEDIR variable is not set before compiling gdk-pixbuf. to get it set, i emerged gnome-libs and gdk-pixbuf could then compile successfully.
i'm a bit confused how you could not have gnome-libs, because it's a clear dep in the ebuild. That makes it a definite invalid bug to me.
perhaps my comment #1 was a little ambiguous. i had gnome-libs emerged, what i did was re-emerging it.