Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241706 - media-libs/gegl-0.0.20: Only <glib.h> can be included directly.
Summary: media-libs/gegl-0.0.20: Only <glib.h> can be included directly.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240433
  Show dependency tree
 
Reported: 2008-10-13 07:36 UTC by Christian Weiske
Modified: 2008-10-14 06:45 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 Christian Weiske 2008-10-13 07:36:22 UTC
Emerging media-libs/gegl-0.0.20 gives the following error:
/usr/include/glib-2.0/glib/gspawn.h:22:2: Fehler: #error "Only <glib.h> can be included directly."


Reproducible: Always
Comment 1 vltg0903 2008-10-13 13:30:37 UTC
Wanted to emerge gimp-2.6, right? This error happens when you use glib-2.18.1, but not gtk+/atk/pango from unstable. => gegl-0.0.20 should depend on those.
Comment 2 vltg0903 2008-10-13 13:32:20 UTC
I should add that actually I don't know if atk/pango updates are necessary, I just kind of assumed it. :)
Comment 3 vltg0903 2008-10-13 13:35:25 UTC
Just found out that people are already aware of it:

http://bugs.gentoo.org/show_bug.cgi?id=240433
Comment 4 Hanno Böck gentoo-dev 2008-10-13 16:17:52 UTC
Christian, which versions of glib and gtk+ are installed?

gegl already deps on the unstable versions, so this should be ok.
Comment 5 Christian Weiske 2008-10-13 17:27:04 UTC
I had to install the unstable version of glib, yes (2.18.1). 
But I could simply use the gtk I already had installed, 2.12.11 - gegl didn't want me to upgrade it.
Comment 6 Hanno Böck gentoo-dev 2008-10-13 17:28:43 UTC
When have you emerge --sync'ed last time?
Comment 7 Christian Weiske 2008-10-13 17:32:28 UTC
This morning :)

But I have gtk disabled by default:

Calculating dependencies... done!
[ebuild  N    ] media-libs/gegl-0.0.20  USE="cairo jpeg mmx sdl sse svg -debug -doc -ffmpeg -gtk -openexr" 0 kB

That's the reason it didn't complain :)
Comment 8 Christian Weiske 2008-10-14 06:45:19 UTC
After syncing today, it even complained when I had -gtk as use flag set and asks me to update gtk.