Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Unable to upgrade emerge librsvg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Mar 21, 2013 12:48 am    Post subject: [SOLVED] Unable to upgrade emerge librsvg Reply with quote

I have an older Athlon64 3800+ box that used to be my LAN server. I want to experiment with internet TV so I re-connected this old box and changed it's hostname. When I first booted I got the message that the filesystem hadn't been checked for 617 days, so check was forced. The kernel was 2.6.38. I know it's better to just wipe the system and re-install but I tried update anyway. It was four days of wrestling alligators but I finally have a 3.7.10 system with a 13 series profile and everything (but firefox which is masked at version 10) updated to latest amd64 stable with one lone exception - librsvg. I struggled with profile update, portage update, kernel update, libpng and udev so I hate to quit now.

It looks like the problem is that the package is looking for cairo includes in /usr/include instead of /usr/include/cairo. I symlinked cairo.h up one level, but the next include broke the build. The useflags are the same as for my current server and I'm at a loss what to do next.

The build log is at http://pastebin.com/UfXqwDzb
The emerge info is at http://pastebin.com/b1HjyiVH

The result of 'emerge -pqv` is
Quote:
[ebuild U ] gnome-base/librsvg-2.36.1 [2.34.0] USE="gtk introspection%* -doc -tools"


Please help an obvious madman (well, stubborn anyway).


Last edited by Tony0945 on Thu Mar 21, 2013 11:51 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Mar 21, 2013 1:05 am    Post subject: Reply with quote

If it was really nearly two years old, it's quite surprising you got this far.

Now, however, undo your symlink frenzy and pastebin a valid build log.
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Thu Mar 21, 2013 1:08 am    Post subject: Reply with quote

The cairo.h symlink should not be necessary, it would be best to remove it.

I have these versions installed:

gnome-base/librsvg-2.36.1:2
x11-libs/cairo-1.10.2-r3:0

If your x11-libs/cairo is older than that, then you could try upgrading it.

Or you could try checking that cairo files are ok:

Code:
equery check x11-libs/cairo
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Mar 21, 2013 3:21 am    Post subject: Reply with quote

My cairo is also x11-libs/cairo-1.10.2-r3. I ran the check, 118 out of 118 files passed.

I removed the symlink and re-emerged. The new build log is http://pastebin.com/urtkyDy2
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Mar 21, 2013 4:51 am    Post subject: Reply with quote

Tony0945,

Are you compiling with gcc-4.6.3 :?:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
gienah
Developer
Developer


Joined: 24 Nov 2010
Posts: 212
Location: AU

PostPosted: Thu Mar 21, 2013 5:04 am    Post subject: Reply with quote

I don't really understand it, I have gnome-base/librsvg built with the introspection use flag:

Code:
# equery uses gnome-base/librsvg
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for gnome-base/librsvg-2.36.1:
 U I
 + + doc           : Adds extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + gtk           : Adds support for x11-libs/gtk+ (The GIMP Toolkit)
 + + introspection : Use dev-libs/gobject-introspection for introspection
 - - tools         : Build miscellaneous tools
#


But this forum article suggests that turning it off may workaround the problem:

http://forums.funtoo.org/viewtopic.php?pid=4984
https://bugs.gentoo.org/show_bug.cgi?id=391213
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Mar 21, 2013 10:58 am    Post subject: Reply with quote

Well, just a guess, but quite awhile ago, there was a slight problem with cairo regarding introspection, that required rebuilding cairo, so that libcairo-gobject is properly built.

Edit:
Ah, right, bug 391213 it was.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Mar 21, 2013 11:55 am    Post subject: Reply with quote

Per the bug you linked " emerge -1v gobject-introspection" before emerging cairo did the trick. The problem seems to occur after glibc update which, of course, did happen on the old box after updating to gcc-4.6.3 which was one of the first things I did.

Many thanks to all. I never would have found that without you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum