Darkshine n00b
Joined: 06 Nov 2007 Posts: 53 Location: Kiev, Micronesia
|
Posted: Fri Aug 24, 2012 11:03 am Post subject: cannot compile x11-libs/libgksu because of wrong dependency |
|
|
When building x11-libs/libgksu-2.0.12-r1 I encounter the following errors:
Code: | In file included from /usr/include/libgtop-2.0/glibtop.h:25:0,
from libgksu.c:39:
/usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." |
I googled for this error message and found that includes like "#include <glib/gstdio.h>" are not allowed, only "#include <glib.h>" is allowed. There were no glib/* includes in libgksu, but they were in its outdated dependency gnome-base/libgtop-2.24.4. I manually updated libgtop to the latest 2.28.4 and after that libgksu compiled fine. But I would expect that portage should update libgtop automatically.
Question. Should I report a bug for this? There is the following dependency in libgksu-2.0.12-r1's ebuild:
>=gnome-base/libgtop-2
which I think should be changed at least to
>gnome-base/libgtop-2.24.4 |
|