Created attachment 309639 [details] full build log [0m[ 41%] [32mBuilding C object CMakeFiles/awesome.dir/spawn.c.o [0mIn file included from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27:0: /usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gspawn.h:28:0, from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27: /usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gerror.h:30:0, from /usr/include/glib-2.0/glib/gspawn.h:28, from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27: /usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gquark.h:34:0, from /usr/include/glib-2.0/glib/gerror.h:30, from /usr/include/glib-2.0/glib/gspawn.h:28, from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27: /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/gquark.h:34, from /usr/include/glib-2.0/glib/gerror.h:30, from /usr/include/glib-2.0/glib/gspawn.h:28, from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27: /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gtypes.h:35:0, from /usr/include/glib-2.0/glib/gquark.h:34, from /usr/include/glib-2.0/glib/gerror.h:30, from /usr/include/glib-2.0/glib/gspawn.h:28, from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27: /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0, from /usr/include/glib-2.0/glib/gquark.h:34, from /usr/include/glib-2.0/glib/gerror.h:30, from /usr/include/glib-2.0/glib/gspawn.h:28, from /var/tmp/portage/x11-wm/awesome-3.4.11/work/awesome-3.4.11/spawn.c:27: /usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly." make[2]: *** [CMakeFiles/awesome.dir/spawn.c.o] Error 1 make[2]: *** Waiting for unfinished jobs....
emerge --info output: https://bugs.gentoo.org/attachment.cgi?id=309573
*** This bug has been marked as a duplicate of bug 396417 ***