Summary: | net-nntp/pan-0.135 fails to build with >=dev-libs/glib-2.31: #error "Only <glib.h> can be included directly. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mathias <mathen> |
Component: | [OLD] GNOME | Assignee: | Gentoo Net-news project <net-news> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gnome |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 406437 |
Description
Mathias
2012-01-30 06:59:58 UTC
glib >2.31.0 breaks a lot of packages Each package needs to be patched to account for the changes with the way includes are handled. The following packages on my system fail with the same error: app-accessibility/gnome-speech-0.4.25-r1 media-sound/easytag-2.1.7-r1 net-irc/xchat-2.8.8-r2 net-nntp/pan-0.135 x11-libs/gksu-2.0.2 There was one other but the individual package got patched in the tree and it compiled fine. I suspect all the packages affected need to be patched and there are bug reports opened for pan and xchat that I see. I had to have 2.32.0 unmasked for gnome 3.2.1 (In reply to comment #1) > glib >2.31.0 breaks a lot of packages Each package needs to be patched to > account for the changes with the way includes are handled. The following > packages on my system fail with the same error: > > app-accessibility/gnome-speech-0.4.25-r1 > media-sound/easytag-2.1.7-r1 > net-irc/xchat-2.8.8-r2 > net-nntp/pan-0.135 > x11-libs/gksu-2.0.2 I have fixed app-accessibility/gnome-speech and x11-libs/gksu in cvs, and filed bug #411195 with a patch for xchat. On my machine, easytag builds fine with glib-2.32, so I suspect you are experiencing a different issue with it, namely bug #409281. In the future, please file *separate* bugs for each package that fails due to glib-2.32. That way, they will be noticed by the maintainers of the affected packages, many of whom are not be subscribed to a bug about net-nntp/pan. Thank you for reporting; fixed in cvs without a revision bump. (I used Dominique Leuenberger's patch because the corresponding commit from upstream git also included other changes that appeared to be somewhat invasive.)
> 08 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org> pan-0.135.ebuild,
> +files/pan-0.135-glib-2.31.patch:
> Fix building with >=glib-2.31 (bug #401437, thanks to Mathias for reporting).
|