Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge error on system update: gtk+ and cairo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Angryguy
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 105
Location: New York

PostPosted: Sat Dec 02, 2006 8:01 am    Post subject: Emerge error on system update: gtk+ and cairo Reply with quote

I'm in the process of doing an emerge -u world.

So far, I've had to add "nptl" and "nptlonly" to my use flags in make.conf to overcome the first set of errors for tonight.

Now, gtk+ is failing to emerge with:
Quote:
* checking gtk+-2.10.6.tar.bz2 ;-) ... [ ok ] * Please re-emerge x11-libs/cairo with the X and pdf USE flag set

!!! ERROR: x11-libs/gtk+-2.10.6 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
gtk+-2.10.6.ebuild, line 53: Called die

!!! cairo needs the X and pdf flag set
!!! If you need support, post the topmost build error, and the call stack if relevant.



Should I add those flags to the make.conf and re-merge cairo? Or should I do it temporarily with "USE='X pdf' emerge -u cairo"? Or what?

I've already encountered my share of problems for the day when trying to update my other linux system, so I thought I better make a post before I start changing USE flags and causing problems on my desktop.

Thanks.
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Sat Dec 02, 2006 8:44 am    Post subject: Reply with quote

You need to add those USE flags specifically to the cairo package in /etc/portage/package.use:
Code:
# echo "x11-libs/cairo X pdf" >> /etc/portage/package.use

The X USE flag really is something that should be in /etc/make.conf, since you're running a desktop. Also, it's generally a bad idea to specify USE flags on the command line at emerge time. Instead, set them globally in /etc/make.conf, or set them per-package in /etc/portage/package.use, as shown above.
Back to top
View user's profile Send private message
Angryguy
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 105
Location: New York

PostPosted: Sat Dec 02, 2006 7:33 pm    Post subject: Reply with quote

Thanks. Still another 15 or so packages left for it to finish updating.


I've been using the Bluefish editor. It works very well, however I just noticed that it was never updated through portage.

Not really important (just added it to my package.keywords), but is there any reason why all ebuilds > 1.0 for it are masked as testing on all platforms?

Version 1.07 was apparently released last month (http://sourceforge.net/project/showfiles.php?group_id=11621), is there going to be an updated ebuild for that anytime soon?
Back to top
View user's profile Send private message
RosenSama
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2003
Posts: 99

PostPosted: Sat Dec 02, 2006 7:43 pm    Post subject: Reply with quote

Seems a bit odd to require PDF. Surely that's not required for GTK+ to function?
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Mon May 21, 2007 7:30 am    Post subject: Reply with quote

Support for PDF is no longer optional in x11-libs/cairo, it is standard.

Moved from Portage & Programming to Duplicate Threads, refer to topic "Please re-emerge [solved]".

As noted in the handbook USE flags specified via environment variables are not retained as persistent settings so, aside from when a given USE flag setting is itself transient in nature, use one of the persistent USE flag setting methods (/etc/make.conf, /etc/portage/package.use). Also, note that USE flags are case sensitive.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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