Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395795 - sci-electronics/geda-1.6.2 fails to build with >=dev-libs/glib-2.30
Summary: sci-electronics/geda-1.6.2 fails to build with >=dev-libs/glib-2.30
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glib-2.32
  Show dependency tree
 
Reported: 2011-12-23 10:21 UTC by Priit Laes (IRC: plaes)
Modified: 2012-04-29 15:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2011-12-23 10:21:00 UTC
Since dev-libs/glib-2.30 only `#include <glib.h>` and this causes following issue in sci-electronics/geda during emerge:
[snip]
In file included from s_path.c:40:0:
/usr/include/glib-2.0/glib/gmem.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from /usr/include/glib-2.0/glib/gmem.h:34:0,
                 from s_path.c:40:
/usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly."
[/snip
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-12-23 11:24:47 UTC
+  23 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> geda-1.6.2.ebuild,
+  +files/geda-1.6.2-correct_glib_include.patch:
+  Fix building with dev-libs/glib >= 2.30 wrt #395795 by Priit Laes