Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231774 - gnome-extra/gnome-system-monitor-2.22.3 fails to build
Summary: gnome-extra/gnome-system-monitor-2.22.3 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 231784 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-14 15:22 UTC by Mathias Rüdiger
Modified: 2009-01-08 22:27 UTC (History)
2 users (show)

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


Attachments
emerge --info (info,3.60 KB, text/plain)
2008-07-14 16:33 UTC, Mathias Rüdiger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Rüdiger 2008-07-14 15:22:18 UTC
The build of gnome-extra/gnome-system-monitor-2.22.3 fails with
/usr/lib/libcairomm-1.0.so: undefined reference to `cairo_glitz_surface_create'
if cairo is build without euse glitz

Reproducible: Always
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-14 16:24:38 UTC
please _always_ paste emerge --info.

Which version of cairo/cairomm do you have ?
Comment 2 Mathias Rüdiger 2008-07-14 16:33:04 UTC
Created attachment 160359 [details]
emerge --info

sry i forgot it :|
Comment 3 Mathias Rüdiger 2008-07-14 16:43:33 UTC
and again, i forgot something
x11-libs/cairo-1.6.4
dev-cpp/cairomm-1.4.4
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-14 16:52:00 UTC
please try with similar major version (cairomm-1.6 with cairo-1.6)
Comment 5 Mathias Rüdiger 2008-07-15 09:45:00 UTC
ok, it works with dev-cpp/cairomm-1.6.0 and without glitz. Is it possible to modifiy the ebuild in a way that if cairomm is < 1.6, glitz is required as a cairo useflag?
Comment 6 Pacho Ramos gentoo-dev 2008-07-15 10:32:47 UTC
*** Bug 231784 has been marked as a duplicate of this bug. ***
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-07-17 19:18:17 UTC
Probably simpler is to just change the cairomm dep to 1.6.  It should be going stable with 2.22 anyway, right?
Comment 8 Rémi Cardona (RETIRED) gentoo-dev 2008-07-17 21:33:39 UTC
(In reply to comment #7)
> Probably simpler is to just change the cairomm dep to 1.6.  It should be going
> stable with 2.22 anyway, right?

Yes, I'll be making a gnome-mm-2.22 list tomorrow and I'll up the cairo dep to 1.6.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-31 21:47:36 UTC
the thing is that g-s-m only depends on gtkmm, not cairomm, remi, what do you advise ?
Comment 10 Mauricio L. Pilla (RETIRED) gentoo-dev 2008-08-04 00:29:52 UTC
Changing from cairomm-1.4.4 to 1.6.0 hasn't worked for me. Then, I tried to upgrade gtkmm, but the upgrade itself failed. Both gtkmm and gnome-system-monitor were failing on some headers from libsigc++. Thus, I upgraded from libsigc++ 2.0.18 to 2.2.2. After that, gtkmm-2.12.7 and gnome-system-monitor-2.2.23 emerged without further issues. 

I was doing an emerge -u gnome before I hit this problem. 
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2008-08-04 05:54:11 UTC
Could _anyone_ provide a build.log, _please_ ?

Thanks
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2008-08-20 11:49:44 UTC
@All, please don't hesitate to reopen the bug with the requested information if you can ever reproduce it.

Thanks
Comment 13 Justin Capella 2008-11-22 19:08:32 UTC
[I--] [ ~] x11-libs/cairo-1.8.2 (0)
[I--] [ ~] dev-cpp/pangomm-2.14.1 (2.4)

I had this same problem. 
Solution: flagedit x11-libs/cairo glitz
pangomm requires cairo to be compiled with the glitz flag. Maybe modify the ebuild to suggest/require that? See http://bugs.freedesktop.org/show_bug.cgi?id=13286
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2008-12-22 09:05:55 UTC
I'm hitting this bug now.

I removed the glitz useflag from cairo and hell broke loose, I'll try to look into it.
Comment 15 Jeremy Gove 2009-01-08 20:25:34 UTC
I had a similar problem with gnome-system-monitor-2.24.1  .  Reinstalling x11-libs/cairo-1.8.6 with the glitz USE flag solved it.
Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-01-08 22:27:06 UTC
I strongly urge you to remove the glitz useflag unless you need it. It took me a couple hours to rebuild all the needed packages, but you'll be doing yourself a big favor.

The fix is to run "qfile" on all libraries that link to cairo (basically, anything that uses gtk will have to be rebuilt). revdep-rebuild --library should help a lot too.

Closing invalid as it's not a bug per se, it's how cairo operates...

Thanks