Hi! I was just doing a "emerge -u world", and were having problems with the sawfish 2 package. This is what happens; -- make[1]: Entering directory `/var/tmp/portage/sawfish-2.0/work/sawfish-2.0/src' /bin/sh -ec 'gcc -MM -DHAVE_CONFIG_H -DSAWFISH -I. -I.. -mcpu=i386 -O3 -pipe -I/usr/include -I/usr/lib/rep/i386-pc-linux-gnu -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include play-sample.c \ | sed '\''s/play-sample\.o/& play-sample.lo .play-sample\.d/g'\'' > .play-sample.d' In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:29, from /usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h:24, from play-sample.c:10: /usr/include/glib.h:164: warning: `G_STRUCT_OFFSET' redefined /usr/include/glib-2.0/glib/gmacros.h:160: warning: this is the location of the previous definition /usr/include/glib.h:166: warning: `G_STRUCT_MEMBER_P' redefined (..."this is the location of the previous definition" and `VARIABLE' redefined just keeps coming) /usr/include/glib-2.0/gobject/gvaluearray.h:66: parse error before `GCompareDataFunc' In file included from /usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h:24, from sawmill.h:40, from colors.c:22: /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:133: parse error before `GError' /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:148: parse error before `GError' /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:159: parse error before `GError' /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:167: parse error before `GError' /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:263: parse error before `GError' In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:294, from /usr/include/gtk-2.0/gdk-pixbuf-xlib/gdk-pixbuf-xlib.h:24, from sawmill.h:40, from colors.c:22: /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:69: parse error before `GError' /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:73: parse error before `GError' /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-loader.h:77: parse error before `GError' make[1]: *** [colors.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/sawfish-2.0/work/sawfish-2.0/src' make: *** [all] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 52, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/x11-wm/sawfish/sawfish-2.0.ebuild . -- Any conflicts that might be causing this? Or is it a bug in gtk/glib? I tried remerging gtk2 and glib2, but the same thing still happens.
this seems to be a conflict of colliding gdk-pixbuf headers, try to remove the gdk-pixbuf-1.0 headers from usr/include, then emerge gdk-pixbuf again (those shouldnt be touched anyhow).
No effect what so ever.. still the same error :\
i couldn't reproduce this - sawfish emerged just fine (though i use metacity anyways) glib.2.0.4 gdk-pixbuf.0.18.0-r1 maybe duplicated headers? see what qpkg --dups -vv | grep gdk-pixbuf shows
No output from "qpkg --dups -vv | grep gdk-pixbuf"... I don't really -need- sawfish either, thinking about trying metacity myself.. but it'd be nice knowing what's broken on my system ;)
I uninstalled sawfish so emerge wouldn't try to upgrade it, and the world upgrade continued... until it was about to compile gconf-editor-0.2... same error happened here, complaints about parse errors in gtk-2.0 and /usr/include/gconf/2/gconf header files...
try this then if you feel you have the time: emerge -C gtk+ gtk-pixbuf rep-gtk check out /usr/include for any and all references to gtk / gtk-pixbuf and remove them emerge gtk+ sawfish rep-gtk and preferrably gtk+ 1.2.x as well :)
No change, compile still crashes.
is this still an issue? *out of ideas since long ago*
Well, I had to reinstall gentoo anyway (some partition fuckups and stuff), so I never got as far as to fix the problem... ;)
ah, okay. "worksforme" then :)