Compiler error when building nautilus. If it's helpful I recently upgraded gtk+ to 2.4 Reproducible: Always Steps to Reproduce: 1. emerge =gnome-base/nautilus-2.4.2 2. 3. Actual Results: gcc -DHAVE_CONFIG_H -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/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/libbonobo-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/librsvg-2 -I/usr/include/libgsf-1 -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 -DVERSION=\"2.4.2\" -DNAUTILUS_DATADIR=\"/usr/share/nautilus\" -DDATADIR=\"/usr/share\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -march=athlon-xp -O3 -pipe -falign-functions=64 -funroll-loops -falign-loops=5 -falign-jumps=5 -Wp,-MD,.deps/fm-properties-window.pp -c fm-properties-window.c -fPIC -DPIC -o fm-properties-window.lo fm-properties-window.c:1388: error: syntax error before '*' token fm-properties-window.c: In function `synch_groups_menu': fm-properties-window.c:1399: error: `option_menu' undeclared (first use in this function) fm-properties-window.c:1399: error: (Each undeclared identifier is reported only once fm-properties-window.c:1399: error: for each function it appears in.) fm-properties-window.c:1400: error: `file' undeclared (first use in this function) fm-properties-window.c: At top level: fm-properties-window.c:1443: error: syntax error before '*' token fm-properties-window.c: In function `attach_option_menu': fm-properties-window.c:1450: warning: assignment makes pointer from integer without a cast fm-properties-window.c:1466: warning: return makes pointer from integer without a cast fm-properties-window.c: At top level: fm-properties-window.c:1469: error: syntax error before '*' token fm-properties-window.c: In function `attach_group_menu': fm-properties-window.c:1474: error: `GtkOptionMenu' undeclared (first use in this function) fm-properties-window.c:1474: error: `option_menu' undeclared (first use in this function) fm-properties-window.c: At top level: fm-properties-window.c:1561: error: syntax error before '*' token fm-properties-window.c: In function `synch_user_menu': fm-properties-window.c:1572: error: `option_menu' undeclared (first use in this function) fm-properties-window.c:1573: error: `file' undeclared (first use in this function) fm-properties-window.c: In function `attach_owner_menu': fm-properties-window.c:1621: error: `GtkOptionMenu' undeclared (first use in this function) fm-properties-window.c:1621: error: `option_menu' undeclared (first use in this function) fm-properties-window.c: In function `create_permissions_page': fm-properties-window.c:2815: error: `GtkOptionMenu' undeclared (first use in this function) fm-properties-window.c:2815: error: `group_menu' undeclared (first use in this function) make[3]: *** [fm-properties-window.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/src/file-manager' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/nautilus-2.4.2/work/nautilus-2.4.2' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/nautilus-2.4.2 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure Expected Results: Installed succesfully Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3) ================================================================= System uname: 2.6.3 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.13p1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -falign-functions=64 -funroll-loops -falign-loops=5 -falign-jumps=5" 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/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -falign-functions=64 -funroll-loops -falign-loops=5 -falign-jumps=5" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.ibiblio.org/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa arts avi berkdb bonobo cdr crypt cups dga dvd dvdr encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile hbci imlib ipv6 java jpeg kde kerberos ldap libg++ libwww mad maildir mikmod motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl ofx oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml xml2 xmms xv zlib"
another one of the DEPRECATED builds.. should be easy to fix
So I noticed that with an "emerge -up nautilus" that portage would downgrade gnome-icon-theme to 1.0.9 *after* upgrading nautilus. That's pretty odd by itself, but I figured I'd give it a try. How an icon package would change anything is beyond me but... it does. Now when I try to upgrade nautilus it still fails but now looks like bug 45391.
I get the same problem; albeit on a machine that I've haven't upgraded for about six months. What did the comment about being a DEPRECATED build mean? Is nautilus replaced by something else? Or should 2.6.0 be unmasked already?
no, the DEPRECATED in this case is because nautilus has -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED in it, and gtk+ 2.4 has deprecated even more functions, some of which nautilus 2.4 uses... This means that nautilus wasn't forwards compatible with their configure settings.. *cough*
i think this got fixed already *** This bug has been marked as a duplicate of 45391 ***