When I emerge (update) nautilus 2.6.0, it crashes with the following error : gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../cut-n-paste-code -pthread -DORBIT2=1 -I/usr/include/eel-2 -I/usr/include/gconf/2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libglade-2.0 -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 "" -I/usr/include/librsvg-2 -I/usr/include/libgsf-1 -I/usr/include/libcroco -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR=\"/usr/share\" -DSYSCONFDIR=\"/etc\" -DNAUTILUS_DATADIR=\"/usr/share/nautilus\" -DNAUTILUS_EXTENSIONDIR=\"/usr/lib/nautilus/extensions-1.0\" -O3 -march=i686 -funroll-loops -pipe -Wp,-MD,.deps/nautilus-desktop-directory-file.pp -c nautilus-desktop-directory-file.c -fPIC -DPIC -o .libs/nautilus-desktop-directory-file.o gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [nautilus-desktop-directory-file.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/nautilus-2.6.0/work/nautilus-2.6.0/libnautilus-private' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/nautilus-2.6.0/work/nautilus-2.6.0' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/nautilus-2.6.0 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Reproducible: Always Steps to Reproduce: 1. emerge -u nautilus 2. 3. Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5) ================================================================= System uname: 2.6.5 i686 Mobile AMD Duron(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -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="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bonobo crypt cups directfb dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
it's not really a crash and it's quite obvious whats wrong i think : 'gcc: cannot specify -o with -c or -S and multiple compilations' . I have no idea why it does that, i have never seen it before. gcc guys know whats going on there ?
Right, the problem is not Nautilus. I got the same error when compiling kdebase (but, strangely, not kdelibs). ldconfig resolved the problem, and kdebase installed correctly. But this trick does not work with nautilus. Strange...
Well, I tried to re-emerge Nautilus 2.6.0 today (after updating portage to 2.0.50-r8)and it worked. Don't know where it could come from !!! I close the bug (as invalid). If the GCC people have and idea from where it could come, reopen the bug. And if the bug shows up again when I compile other things, I'll create another bug report.