Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114576 - After updating portage, emerge refuses to acknowledge gtk+-2.8.8 without ACCEPT_KEYWORDS
Summary: After updating portage, emerge refuses to acknowledge gtk+-2.8.8 without ACCE...
Status: VERIFIED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 15:36 UTC by Garrett Cooper
Modified: 2005-12-07 15:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Garrett Cooper 2005-12-05 15:36:44 UTC
I just recently updated portage a few hours ago, and unless I add
ACCEPT_KEYWORDS="~x86" to an emerge statement, it tries to downgrade gtk+ to
2.6.10 instead of keep the version at 2.8.8.


//ACCEPT_KEYWORDS Example (success):
sprsd ~ # ACCEPT_KEYWORDS="~x86" emerge -a gtk+

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/gtk+-2.8.8


//Non-ACCEPT_KEYWORDS Example (failure):
sprsd ~ # emerge -uDa world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     UD] sys-devel/binutils-2.16.1 [2.16.1-r1] 
[ebuild  N    ] dev-libs/gmp-4.1.4-r2  
[ebuild  N    ] dev-libs/mpfr-2.2.0_p4  
[ebuild  NS   ] sys-devel/gcc-4.0.2-r1  
[ebuild  N    ] sys-libs/timezone-data-2005o  
[ebuild     U ] sys-libs/glibc-2.3.6-r1 [2.3.5-r2] 
[ebuild     UD] x11-libs/gtk+-2.6.10-r1 [2.8.8] 
[ebuild     UD] app-admin/eselect-1.0_rc1 [1.0_rc2]

Reproducible: Always
Steps to Reproduce:




sprsd ~ # emerge info | grep KEYWORDS
ACCEPT_KEYWORDS="x86"

sprsd ~ # cat /etc/portage/package.mask | grep gtk+
>x11-libs/gtk+-2.8.8

sprsd ~ # cat /etc/portage/package.unmask | grep gtk+

sprsd ~ #
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2005-12-05 15:39:21 UTC
You seem to have trouble deciding what to do or how to configure portage. The 
behaviour your system is demonstrating appears to be quite normal.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-12-05 15:41:12 UTC
man portage /package.keywords
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-12-05 15:41:26 UTC
do you have gtk+-2.8.8 in /etc/portage/package.keywords?

Otherwise 2.6.10-r1 IS the latest stable on x86..and that is the version portage 
will use.
Comment 4 Garrett Cooper 2005-12-05 17:16:40 UTC
Sorry to include that. Yes, it's in package.keywords...

gcooper@sprsd ~ $ grep gtk+ /etc/portage/package.keywords    
x11-libs/gtk+ ~x86
Comment 5 Garrett Cooper 2005-12-05 17:54:37 UTC
Another interesting thing to note. This maybe didn't start occurring prior to my
accidentally hosing my /etc/portage/package.* files, and I 'rebuilt' them in a
proper order but the order still does differ from what it was originally. Maybe
there's any issue with the overall way that emerge evaluates which package to
emerge?

Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-12-05 23:05:49 UTC
Post emerge --info and attach all /etc/portage/package.* files here.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-12-05 23:06:15 UTC
Reopen then.
Comment 8 Garrett Cooper 2005-12-06 22:35:44 UTC
Including output from package.use is moot and only clouds the issue, but I just
wanted to note that it does exist.

gcooper@sprsd ~ $ emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14-nitro2 i686)
=================================================================
System uname: 2.6.14-nitro2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387
-momit-leaf-frame-pointer -ftracer -fforce-addr -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium4 -mmmx -msse -msse2 -mfpmath=sse,387
-momit-leaf-frame-pointer -ftracer -fforce-addr -funroll-loops -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_US ja_JP"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/lcl/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm audiofile avi bitmap-fonts bzip2 cdr cjk crypt cups curl
dvdr emboss encode exif expat flac fortran gdbm gif glut gmp gpm gstreamer gtk
gtk2 imagemagick imlib ipv6 java jpeg lcms libwww mmx mmxext mng mozilla mp3
mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis openal opengl oss pam pcre
pdflib perl png python quicktime readline samba sdl slang spell sse sse2 ssl
tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml2 xmms xv
xvid zlib linguas_en_US linguas_ja_JP userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

gcooper@sprsd ~ $ ls -1 /etc/portage/*
/etc/portage/package.keywords
/etc/portage/package.mask
/etc/portage/package.unmask
/etc/portage/package.use

gcooper@sprsd ~ $ cat /etc/portage/package.keywords 
dev-libs/mpfr ~x86

media-sound/alsa-tools ~x86
dev-java/sun-jre-bin ~x86

mail-client/mozilla-thunderbird ~x86
www-client/mozilla-firefox ~x86

media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86
app-admin/eselect-opengl ~x86
app-admin/eselect ~x86

net-p2p/azureus ~x86

sys-devel/gcc -*
sys-libs/glibc -*
dev-libs/gmp ~x86
sys-libs/timezone-data ~x86

x11-libs/gtk+ ~x86
dev-libs/glib ~x86
x11-libs/cairo ~x86
x11-libs/pango ~x86
x11-misc/transset ~x86
x11-misc/transset-df ~x86
dev-java/swt ~x86

gcooper@sprsd ~ $ cat /etc/portage/package.mask     
>sys-kernel/vanilla-sources-2.6.12.5
>www-client/mozilla-firefox-1.5
=mail-client/mozilla-thunderbird-1.5_rc3

>dev-libs/mpfr-2.2.0_p4
>media-sound/alsa-tools-1.0.10

>dev-java/sun-jre-bin-1.5.1

#nvidia
>media-video/nvidia-kernel-1.0.8174
>media-video/nvidia-glx-1.0.8174
>app-admin/eselect-opengl-1.0.3
>app-admin/eselect-1.0_rc1

>net-p2p/azureus-2.3.0.6

#gcc/glibc junk
>sys-libs/glibc-2.3.6-r1
>dev-libs/gmp-4.1.4-r2
>sys-libs/timezone-data-2005o
>=sys-devel/gcc-4.0.3

>x11-libs/gtk+-2.8.8
>dev-libs/glib-2.8.4
>x11-libs/cairo-1.0.2
>x11-libs/pango-1.10.1
>x11-misc/transset-0.1_pre20040821
>x11-misc/transset-df-4
>dev-java/swt-3.2_pre1

gcooper@sprsd ~ $ cat /etc/portage/package.unmask 
gcooper@sprsd ~ $
Comment 9 Jason Stubbs (RETIRED) gentoo-dev 2005-12-07 04:44:58 UTC
[ebuild     UD] x11-libs/gtk+-2.6.10-r1 [2.8.8]    
   
$ cat /etc/portage/package.keywords 
>x11-libs/gtk+-2.8.8 
 
2.8.8 is not more than 2.8.8 so this package.keywords line has no relevance to 
the version you are attempting to target. 
Comment 10 Garrett Cooper 2005-12-07 14:04:16 UTC
The /etc/portage/package.mask reference doesn't matter. Watch:

sprsd gcooper # cat /etc/portage/package.mask
>sys-kernel/vanilla-sources-2.6.12.5
>www-client/mozilla-firefox-1.5
=mail-client/mozilla-thunderbird-1.5_rc3

>media-sound/alsa-tools-1.0.10

>dev-java/sun-jre-bin-1.5.1

#nvidia
>media-video/nvidia-kernel-1.0.8174
>media-video/nvidia-glx-1.0.8174
>app-admin/eselect-opengl-1.0.3
>app-admin/eselect-1.0_rc1

#gcc/glibc junk
>dev-libs/mpfr-2.2.0_p4
>sys-libs/glibc-2.3.6-r1
>dev-libs/gmp-4.1.4-r2
>sys-libs/timezone-data-2005o
>=sys-devel/gcc-4.0.3

#>x11-libs/gtk+-2.8.8
>dev-libs/glib-2.8.4
>x11-libs/cairo-1.0.2
>x11-libs/pango-1.10.1
>x11-misc/transset-df-4
sprsd gcooper # cat /etc/portage/package.unmask
=x11-libs/gtk+-2.8.8

sprsd gcooper # emerge -uDa world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     UD] x11-libs/gtk+-2.6.10-r1 [2.8.8] 

Do you want me to merge these packages? [Yes/No] 

Exiting on signal 2
sprsd gcooper # emerge -a gtk+   

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/gtk+-2.8.8  

Do you want me to merge these packages? [Yes/No]

It's almost like the -uD flags are broken... perhaps I need to regen my portage
tree.

Comment 11 Garrett Cooper 2005-12-07 14:07:35 UTC
My bad. It appears to be a problem with -D. I think I need to do some searching
and determine what package is trying to pull in 2.6.10-r1 as opposed to 2.8.8.

sprsd gcooper # emerge -ua world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!

Nothing to merge; do you want me to auto-clean packages? [Yes/No] 

Exiting on signal 2
sprsd gcooper # emerge -uDa world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     UD] x11-libs/gtk+-2.6.10-r1 [2.8.8] 

Do you want me to merge these packages? [Yes/No]
Comment 12 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-12-07 14:36:50 UTC
(In reply to comment #10)
> The /etc/portage/package.mask reference doesn't matter. Watch:
> 
> sprsd gcooper # cat /etc/portage/package.mask
> >sys-kernel/vanilla-sources-2.6.12.5
> >www-client/mozilla-firefox-1.5
> =mail-client/mozilla-thunderbird-1.5_rc3
> 
> >media-sound/alsa-tools-1.0.10
> 
> >dev-java/sun-jre-bin-1.5.1
> 
> #nvidia
> >media-video/nvidia-kernel-1.0.8174
> >media-video/nvidia-glx-1.0.8174
> >app-admin/eselect-opengl-1.0.3
> >app-admin/eselect-1.0_rc1
> 
> #gcc/glibc junk
> >dev-libs/mpfr-2.2.0_p4
> >sys-libs/glibc-2.3.6-r1
> >dev-libs/gmp-4.1.4-r2
> >sys-libs/timezone-data-2005o
> >=sys-devel/gcc-4.0.3
> 
> #>x11-libs/gtk+-2.8.8
> >dev-libs/glib-2.8.4
> >x11-libs/cairo-1.0.2
> >x11-libs/pango-1.10.1
> >x11-misc/transset-df-4
> sprsd gcooper # cat /etc/portage/package.unmask
> =x11-libs/gtk+-2.8.8
> 
> sprsd gcooper # emerge -uDa world
> 
> These are the packages that I would merge, in order:
> 
> Calculating world dependencies ...done!
> [ebuild     UD] x11-libs/gtk+-2.6.10-r1 [2.8.8] 
> 
> Do you want me to merge these packages? [Yes/No] 
> 
> Exiting on signal 2
> sprsd gcooper # emerge -a gtk+   
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> [ebuild   R   ] x11-libs/gtk+-2.8.8  
> 
> Do you want me to merge these packages? [Yes/No]
> 
> It's almost like the -uD flags are broken... perhaps I need to regen my 
portage
> tree.
> 
> 

You masked >gtk+2.8.8...this won't prevent 2.8.8 from being merged.
The point here being you want gtk+ to be ~x86 and the config doesn't reflect 
this.  Lines in keywords don't stack, you should only have 1 line per package.  
I notice in your package.keywords you have 2 lines affecting x11-libs/gtk+, one 
for the package, and one keywording specific versions ( >2.8.8 ).  A quick 
journey through the code shows that the second line will overwrite the first.  
Thus you end up with >x11-libs/gtk+-2.8.8 ~x86 which will not unmask 2.8.8 for 
you, which is why this is failing.
Comment 13 Jason Stubbs (RETIRED) gentoo-dev 2005-12-07 15:09:13 UTC
Nope, it's bug 13632. 
Comment 14 Garrett Cooper 2005-12-07 15:28:03 UTC
Ok, that's what I thought was going on possibly, but I wasn't particularly sure and I didn't think to search 
for that bug.