Created attachment 309397 [details] emerge --info Errors are similar to discussion here: https://github.com/ruby-gnome2/ruby-gnome2/issues/106 In file included from rbgprivate.h:11:0, from rbgobj_value.c:13: rbgobject.h:231:0: warning: "G_TYPE_MAIN_LOOP" redefined /usr/include/glib-2.0/gobject/glib-types.h:201:0: note: this is the location of the previous definition rbgobject.h:235:0: warning: "G_TYPE_MAIN_CONTEXT" redefined /usr/include/glib-2.0/gobject/glib-types.h:210:0: note: this is the location of the previous definition rbgobject.h:236:0: warning: "G_TYPE_SOURCE" redefined /usr/include/glib-2.0/gobject/glib-types.h:219:0: note: this is the location of the previous definition rbgobject.h:243:0: warning: "G_TYPE_KEY_FILE" redefined /usr/include/glib-2.0/gobject/glib-types.h:228:0: note: this is the location of the previous definition glib-enum-types.c: In function 'g_spawn_error_get_type': glib-enum-types.c:163:7: error: stray '#' in program glib-enum-types.c:163:10: error: 'ifndef' undeclared (first use in this function) glib-enum-types.c:163:10: note: each undeclared identifier is reported only once for each function it appears in glib-enum-types.c:165:7: error: stray '#' in program glib-enum-types.c:165:10: error: 'endif' undeclared (first use in this function) make[1]: *** [glib-enum-types.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from rbgprivate.h:11:0, from rbgobj_signal.c:15: rbgobject.h:231:0: warning: "G_TYPE_MAIN_LOOP" redefined /usr/include/glib-2.0/gobject/glib-types.h:201:0: note: this is the location of the previous definition rbgobject.h:235:0: warning: "G_TYPE_MAIN_CONTEXT" redefined /usr/include/glib-2.0/gobject/glib-types.h:210:0: note: this is the location of the previous definition rbgobject.h:236:0: warning: "G_TYPE_SOURCE" redefined /usr/include/glib-2.0/gobject/glib-types.h:219:0: note: this is the location of the previous definition rbgobject.h:243:0: warning: "G_TYPE_KEY_FILE" redefined /usr/include/glib-2.0/gobject/glib-types.h:228:0: note: this is the location of the previous definition make[1]: Leaving directory `/var/tmp/portage/dev-ruby/ruby-glib2-1.0.3/work/ruby18/ruby-gnome2-all-1.0.3/glib2/ext/glib2' make: *** [all] Error 2 emake failed
Created attachment 309399 [details] build log
Created attachment 309401 [details] Emerge environment
Created attachment 309403 [details] emerge -pqv
I have the same problem.
You are mixing stable and unstable packages.
*** This bug has been marked as a duplicate of bug 410975 ***