Upgrading from gnome-base/gnome-panel 2.20.1 to 2.20.3 fails with a compiler error (log attached). Upgrading libbonobo to version 2.20.4 fixes the problem. Reproducible: Always Steps to Reproduce: 1. emerge -1 gnome-base/gnome-panel Actual Results: The error from gcc: panel-applet-frame.c: In function ‘panel_applet_frame_set_flags_from_any’: panel-applet-frame.c:188: error: expected expression before ‘do’ The offending line from panel-applet-frame is: flags = BONOBO_ARG_GET_SHORT (any);
Created attachment 148628 [details] build log
Created attachment 148629 [details] emerge --info
I suppose you have glib 2.16 in which case this is perfectly normal and libbonobo 2.20.4 fixes precisely that and is stable on most arches (except arm/sh which are months behind anyway). I'd say this is invalid but if some herd member as a idea to fix this please chime in.
Yes, I have dev-libs/glib 2.16.2. The dependency in gnome-panel, >=gnome-base/libbonobo-2 seems weak to me. I'm no expert on this, but why not >=2.20.4 something similar? (And feel free to invalidate as I have fixed my problem.) (In reply to comment #3) > I suppose you have glib 2.16 in which case this is perfectly normal and > libbonobo 2.20.4 fixes precisely that and is stable on most arches (except > arm/sh which are months behind anyway). > > I'd say this is invalid but if some herd member as a idea to fix this please > chime in. >
it's a tricky problem because there is no way to tell to currently existing ebuilds that because of this new glib they should pull in a new fixed lib. Artificially raising deps in all concerned programs would be a huge task too. The easiest thing I can see is to create a bumped gnome meta with updated deps but it would still fail for users not using the metas.
closing invalid per comment #3 and comment #4. It's the glib/bonobo mismatch that causes the problem, not gnome-panel itself (I guess you were running stable :p).