Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem emerging new gtk+
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
LawrenceM
n00b
n00b


Joined: 01 Oct 2004
Posts: 4

PostPosted: Thu Nov 30, 2006 9:35 pm    Post subject: Problem emerging new gtk+ Reply with quote

I am getting the following error when trying to update my Gen2 box:

>>> Emerging (1 of 1) x11-libs/gtk+-2.10.6 to /
* gtk+-2.10.6.tar.bz2 MD5 ;-) ... [ ok ] * gtk+-2.10.6.tar.bz2 RMD160 ;-) ... [ ok ] * gtk+-2.10.6.tar.bz2 SHA1 ;-) ... [ ok ] * gtk+-2.10.6.tar.bz2 SHA256 ;-) ... [ ok ] * gtk+-2.10.6.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * 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

However, I rebuilt cairo with the flags added, and I still get the same error. Here is my package.keywords:

# more /etc/portage/package.keywords
x11-libs/cairo X pdf glitz png
dev-lang/python X tk
sys-apps/baselayout ~x86
sys-apps/sysvinit ~x86
app-shells/bash ~x86
sys-libs/readline ~x86

I was careful to note that the USE flags were correct with rebuilding cairo. What can I do to get gtk+ to upgrade?
Back to top
View user's profile Send private message
Dammital
Apprentice
Apprentice


Joined: 05 Nov 2004
Posts: 189

PostPosted: Thu Nov 30, 2006 9:54 pm    Post subject: Reply with quote

Verify again that cairo was built with those USE flags:
Code:
emerge -pv cairo

2.10.6 is unstable, so bugzilla is probably your next recourse.
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Thu Nov 30, 2006 9:59 pm    Post subject: Re: Problem emerging new gtk+ Reply with quote

LawrenceM wrote:
However, I rebuilt cairo with the flags added, and I still get the same error. Here is my package.keywords:

# more /etc/portage/package.keywords
x11-libs/cairo X pdf glitz png
dev-lang/python X tk
sys-apps/baselayout ~x86
sys-apps/sysvinit ~x86
app-shells/bash ~x86
sys-libs/readline ~x86

I was careful to note that the USE flags were correct with rebuilding cairo. What can I do to get gtk+ to upgrade?


USE flags for specific packages need to go into /etc/portage/package.use not /etc/portage/package.keywords. See: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2. The keywords section is used to unmask packages: http://gentoo-wiki.com/TIP_package.keywords

Admittedly, as I re-read through it, the documentation is pretty imprecise, using "keyword" when it really should use "use flag".

For things like X, pdf, png, and tk you're probably better off putting them into the USE="" section of your /etc/make.conf though, since they will apply so so many packages in ways that you will probably appreciate.

To see which packages are effected by which USE flags, check the (unofficial, but still great) gentoo-portage website: http://www.gentoo-portage.com/USE

HTH,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
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:24 am    Post subject: Reply with quote

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