When upgrading to ~x86 gnome-2.8 libgnomeui wanted to be upgraded before gnome-vfs. This failed due to old headers. gnome-base/libgnomeui-2.8.0.ebuild has >=gnome-base/gnome-vfs-2.5.3 in RDEPEND. This seems to be too old as seen in "actual results". Reproducible: Sometimes Steps to Reproduce: 1. Unmask gnome-2.8 deps in /etc/portage/package.keywords to be bleeding edge and expect bugs 2. Check if portage calculates the deps so, that libgnomeui is upgraded to 2.8 before gnome-vfs is 3. Agree to emerge upgrade Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DGNOMEUILIBDIR=\"/usr/lib\" -DGNOMEUIDATADIR=\"/usr/share\" -DGNOMEUIPIXMAPDIR=\"/usr/share/pixmaps\" -DGNOMEUIICONDIR=\"/usr/share/icons\" -DGNOMEUISERVERDIR=\"/usr/libexec\" -DGNOMEUILOCALSTATEDIR=\"/var/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeUI\" -Wall -Wmissing-prototypes -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -mtune=pentium4 -march=pentium4 -O3 -fprefetch-loop-arrays -ftracer -maccumulate-outgoing-args -fmove-all-movables -pipe -fomit-frame-pointer -MT gnome-authentication-manager.lo -MD -MP -MF .deps/gnome-authentication-manager.Tpo -c gnome-authentication-manager.c -fPIC -DPIC -o .libs/gnome-authentication-manager.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DGNOMEUILIBDIR=\"/usr/lib\" -DGNOMEUIDATADIR=\"/usr/share\" -DGNOMEUIPIXMAPDIR=\"/usr/share/pixmaps\" -DGNOMEUIICONDIR=\"/usr/share/icons\" -DGNOMEUISERVERDIR=\"/usr/libexec\" -DGNOMEUILOCALSTATEDIR=\"/var/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeUI\" -Wall -Wmissing-prototypes -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -mtune=pentium4 -march=pentium4 -O3 -fprefetch-loop-arrays -ftracer -maccumulate-outgoing-args -fmove-all-movables -pipe -fomit-frame-pointer -MT gnome-client.lo -MD -MP -MF .deps/gnome-client.Tpo -c gnome-client.c -fPIC -DPIC -o .libs/gnome-client.o gnome-authentication-manager.c: In function `construct_full_password_dialog': gnome-authentication-manager.c:316: error: `GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_ANON_SUPPORTED' undeclared (first use in this function) gnome-authentication-manager.c:316: error: (Each undeclared identifier is reported only once gnome-authentication-manager.c:316: error: for each function it appears in.) gnome-authentication-manager.c: In function `full_auth_get_result_from_dialog': gnome-authentication-manager.c:338: error: structure has no member named `out_flags' gnome-authentication-manager.c:340: error: structure has no member named `out_flags' gnome-authentication-manager.c:340: error: `GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION_OUT_ANON_SELECTED' undeclared (first use in this function) gnome-authentication-manager.c: At top level: gnome-authentication-manager.c:747: warning: type defaults to `int' in declaration of `GnomeVFSModuleCallbackQuestionIn' gnome-authentication-manager.c:747: warning: no semicolon at end of struct or union gnome-authentication-manager.c:747: error: parse error before '*' token gnome-authentication-manager.c:748: warning: type defaults to `int' in declaration of `out_args' gnome-authentication-manager.c:748: warning: data definition has no type or storage class gnome-authentication-manager.c:752: error: parse error before '}' token gnome-authentication-manager.c:752: warning: type defaults to `int' in declaration of `QuestionCallbackInfo' gnome-authentication-manager.c:752: warning: data definition has no type or storage class gnome-authentication-manager.c:757: error: parse error before "QuestionCallbackInfo" gnome-authentication-manager.c: In function `question_dialog_button_clicked': gnome-authentication-manager.c:759: error: `info' undeclared (first use in this function) gnome-authentication-manager.c:759: error: `button_number' undeclared (first use in this function) gnome-authentication-manager.c:760: error: `dialog' undeclared (first use in this function) gnome-authentication-manager.c: At top level: gnome-authentication-manager.c:765: error: parse error before "QuestionCallbackInfo" gnome-authentication-manager.c: In function `question_dialog_destroyed': gnome-authentication-manager.c:767: error: `info' undeclared (first use in this function) gnome-authentication-manager.c: At top level: gnome-authentication-manager.c:773: error: parse error before "QuestionCallbackInfo" gnome-authentication-manager.c: In function `question_dialog_closed': gnome-authentication-manager.c:775: error: `dialog' undeclared (first use in this function) gnome-authentication-manager.c: At top level: gnome-authentication-manager.c:800: error: parse error before '*' token gnome-authentication-manager.c: In function `present_question_dialog_nonblocking': gnome-authentication-manager.c:805: error: `info' undeclared (first use in this function) gnome-authentication-manager.c: In function `vfs_async_question_callback': gnome-authentication-manager.c:844: error: `GnomeVFSModuleCallbackQuestionIn' undeclared (first use in this function) gnome-authentication-manager.c:844: error: `in_real' undeclared (first use in this function) gnome-authentication-manager.c:845: error: `GnomeVFSModuleCallbackQuestionOut' undeclared (first use in this function) gnome-authentication-manager.c:845: error: `out_real' undeclared (first use in this function) gnome-authentication-manager.c:846: error: `info' undeclared (first use in this function) gnome-authentication-manager.c:854: error: parse error before ')' token gnome-authentication-manager.c:855: error: parse error before ')' token gnome-authentication-manager.c:859: error: parse error before ')' token gnome-authentication-manager.c: In function `vfs_question_callback': gnome-authentication-manager.c:874: error: `GnomeVFSModuleCallbackQuestionIn' undeclared (first use in this function) gnome-authentication-manager.c:874: error: `in_real' undeclared (first use in this function) gnome-authentication-manager.c:875: error: `GnomeVFSModuleCallbackQuestionOut' undeclared (first use in this function) gnome-authentication-manager.c:875: error: `out_real' undeclared (first use in this function) gnome-authentication-manager.c:884: error: parse error before ')' token gnome-authentication-manager.c:885: error: parse error before ')' token gnome-authentication-manager.c: In function `gnome_authentication_manager_init': gnome-authentication-manager.c:928: error: `GNOME_VFS_MODULE_CALLBACK_QUESTION' undeclared (first use in this function) gnome-authentication-manager.c: In function `gnome_authentication_manager_push_async': gnome-authentication-manager.c:989: error: `GNOME_VFS_MODULE_CALLBACK_QUESTION' undeclared (first use in this function) gnome-authentication-manager.c: In function `gnome_authentication_manager_pop_async': gnome-authentication-manager.c:1003: error: `GNOME_VFS_MODULE_CALLBACK_QUESTION' undeclared (first use in this function) gnome-authentication-manager.c: In function `gnome_authentication_manager_push_sync': gnome-authentication-manager.c:1031: error: `GNOME_VFS_MODULE_CALLBACK_QUESTION' undeclared (first use in this function) gnome-authentication-manager.c: In function `gnome_authentication_manager_pop_sync': gnome-authentication-manager.c:1045: error: `GNOME_VFS_MODULE_CALLBACK_QUESTION' undeclared (first use in this function) make[4]: *** [gnome-authentication-manager.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... gnome-client.c: In function `gnome_client_set_environment': gnome-client.c:1710: warning: dereferencing type-punned pointer will break strict-aliasing rules gnome-client.c:1711: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DGNOMEUILIBDIR=\"/usr/lib\" -DGNOMEUIDATADIR=\"/usr/share\" -DGNOMEUIPIXMAPDIR=\"/usr/share/pixmaps\" -DGNOMEUIICONDIR=\"/usr/share/icons\" -DGNOMEUISERVERDIR=\"/usr/libexec\" -DGNOMEUILOCALSTATEDIR=\"/var/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeUI\" -Wall -Wmissing-prototypes -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libbonoboui-2.0 -I/usr/include/libxml2 -I/usr/include/gnome-keyring-1 -mtune=pentium4 -march=pentium4 -O3 -fprefetch-loop-arrays -ftracer -maccumulate-outgoing-args -fmove-all-movables -pipe -fomit-frame-pointer -MT gnome-client.lo -MD -MP -MF .deps/gnome-client.Tpo -c gnome-client.c -o gnome-client.o >/dev/null 2>&1 make[4]: Leaving directory `/var/tmp/portage/libgnomeui-2.8.0/work/libgnomeui-2.8.0/libgnomeui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/libgnomeui-2.8.0/work/libgnomeui-2.8.0/libgnomeui' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/libgnomeui-2.8.0/work/libgnomeui-2.8.0/libgnomeui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgnomeui-2.8.0/work/libgnomeui-2.8.0' make: *** [all] Error 2 !!! ERROR: gnome-base/libgnomeui-2.8.0 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure Expected Results: Succesful emerge by upgrading gnome-vfs first. Fixed myself by emerge --oneshot -va gnome-vfs and then emerge -va gnome again to force proper upgrade path. Portage 2.0.50-r11 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040918-r0, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="no" CFLAGS="-mtune=pentium4 -march=pentium4 -O3 -fprefetch-loop-arrays -ftracer -maccumulate-outgoing-args -fmove-all-movables -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.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="-mtune=pentium4 -march=pentium4 -O3 -fprefetch-loop-arrays -ftracer -maccumulate-outgoing-args -fmove-all-movables -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apache2 apm artswrappersuid avi berkdb bitmap-fonts bonobo bzlib cdr crypt cscope cups directfb dvb dvd dvdr encode esd evo f77 fam fbcon fbdev flash foomaticdb foreign-package freetype ftp gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imap imlib jabber java jpeg kde libcaca libg++ libwww lirc live lzw mad mikmod mime ming mmx mng motif mozdomi mozilla moznocompose moznoirc moznomail mozsvg mpeg mplayer msn nas ncurses network nls nptl objc offensive oggvorbis openal opengl oscar oss pam pcre pdflib perl pg-hier pg-vacuumdelay php pic png posix postgres python qt quicktime radeon readline rtc sdl slang slp speedo speex spell sqlite sse ssl svg svga tcpd tetex tidy tiff timidity truetype type1 ucs2 unicode usb vhosts video_cards_radeon videos vim-with-x wxwidgets wxwin wxwindows x86 xine xml2 xmlrpc xmms xosd xprint xv xvid yahoo zeo zlib"
I can confirm that it happens to me too
we follow the configure deps, in this case they were incorrect and afaics they should be >=2.7.3 . Fixed it to be so, thanks for the report.