View previous topic :: View next topic |
Author |
Message |
Angryguy Tux's lil' helper
Joined: 09 Oct 2004 Posts: 105 Location: New York
|
Posted: Sat Dec 02, 2006 8:01 am Post subject: Emerge error on system update: gtk+ and cairo |
|
|
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 |
|
|
96140 Retired Dev
Joined: 23 Jan 2005 Posts: 1324
|
Posted: Sat Dec 02, 2006 8:44 am Post subject: |
|
|
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 |
|
|
Angryguy Tux's lil' helper
Joined: 09 Oct 2004 Posts: 105 Location: New York
|
Posted: Sat Dec 02, 2006 7:33 pm Post subject: |
|
|
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 |
|
|
RosenSama Tux's lil' helper
Joined: 28 Apr 2003 Posts: 99
|
Posted: Sat Dec 02, 2006 7:43 pm Post subject: |
|
|
Seems a bit odd to require PDF. Surely that's not required for GTK+ to function? |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Mon May 21, 2007 7:30 am Post subject: |
|
|
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 |
|
|
|