Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216203 - gnome-base/gnome-panel-2.20.3 fails to build against gnome-base/libbonobo-2.20.1
Summary: gnome-base/gnome-panel-2.20.3 fails to build against gnome-base/libbonobo-2.20.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-04 15:57 UTC by Daniel Spoonhower
Modified: 2008-06-29 21:58 UTC (History)
0 users

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


Attachments
build log (build.log,60.19 KB, text/plain)
2008-04-04 15:58 UTC, Daniel Spoonhower
Details
emerge --info (emerge.txt,3.88 KB, text/plain)
2008-04-04 15:58 UTC, Daniel Spoonhower
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Spoonhower 2008-04-04 15:57:05 UTC
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);
Comment 1 Daniel Spoonhower 2008-04-04 15:58:35 UTC
Created attachment 148628 [details]
build log
Comment 2 Daniel Spoonhower 2008-04-04 15:58:58 UTC
Created attachment 148629 [details]
emerge --info
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-04 17:12:48 UTC
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.
Comment 4 Daniel Spoonhower 2008-04-04 17:18:43 UTC
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.
> 

Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-04 20:34:50 UTC
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.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-29 21:58:36 UTC
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).