Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412797 - x11-wm/awesome-3.4.11 #error "Only <glib.h> can be included directly."
Summary: x11-wm/awesome-3.4.11 #error "Only <glib.h> can be included directly."
Status: RESOLVED DUPLICATE of bug 396417
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-20 17:01 UTC by Anton Kochkov
Modified: 2012-04-20 17:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log (awesome-3.4.11-build.log,23.00 KB, text/plain)
2012-04-20 17:01 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2012-04-20 17:01:52 UTC
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....
Comment 1 Anton Kochkov 2012-04-20 17:02:44 UTC
emerge --info output: https://bugs.gentoo.org/attachment.cgi?id=309573
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-20 17:11:10 UTC

*** This bug has been marked as a duplicate of bug 396417 ***