Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396417 - x11-wm/awesome: Build failure against >=dev-libs/glib-2.31
Summary: x11-wm/awesome: Build failure against >=dev-libs/glib-2.31
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
: 412797 413189 (view as bug list)
Depends on:
Blocks: glib-2.32
  Show dependency tree
 
Reported: 2011-12-29 15:27 UTC by Priit Laes (IRC: plaes)
Modified: 2012-05-03 11:44 UTC (History)
3 users (show)

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


Attachments
awesome-fix-glib-include.patch (awesome-fix-glib-include.patch,244 bytes, patch)
2011-12-29 15:35 UTC, Priit Laes (IRC: plaes)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2011-12-29 15:27:16 UTC
Since glib-2.30, only single includes (<glib.h> are allowed), otherwise build fails with following error:

[snip]
[ 32%] Building C object CMakeFiles/awesome.dir/spawn.c.o
In 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,
[/snip]
Comment 1 Priit Laes (IRC: plaes) 2011-12-29 15:35:49 UTC
Created attachment 297309 [details, diff]
awesome-fix-glib-include.patch
Comment 2 Priit Laes (IRC: plaes) 2011-12-29 15:39:00 UTC
Build actually fails with >=glib-2.31. My bad. But patch still applies and is backwards compatible.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-20 17:11:10 UTC
*** Bug 412797 has been marked as a duplicate of this bug. ***
Comment 4 Jeff 2012-04-23 21:30:32 UTC
*** Bug 413189 has been marked as a duplicate of this bug. ***
Comment 5 Michael Mair-Keimberger (iamnr3) 2012-05-01 19:34:45 UTC
I can confirm that bug. I didn't tried out that patch (yet), but it would be nice if we could fix that problem :)
Comment 6 Alex Alexander (RETIRED) gentoo-dev 2012-05-03 11:44:54 UTC
patch works, fix pushed :) thanks!