Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61880 - Portage 2.0.50-r10 does not use package.mask when installing binary package
Summary: Portage 2.0.50-r10 does not use package.mask when installing binary package
Status: RESOLVED DUPLICATE of bug 26314
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 20:15 UTC by Chris Irwin
Modified: 2005-07-17 13:06 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 Chris Irwin 2004-08-26 20:15:50 UTC
I unmasked and emerged xorg-x11-6.7.99.902 (and built package) and had some difficulty. Removed from package.unmask, and used `emerge xorg-x11 -B` to build package for xorg-x11-6.7.0-r2 (no version supplied from command line, package was built for correct version -- current version available with ~x86 keyword).

However, `emerge -Kp xorg-x11` shows xorg-x11-6.7.99.902 will be unpacked (Have packages for both built). Removing the 6.7.99.902 package file corrects this issue. 

It just appears that the newest matching package is selected without checking against the profile's package.mask. I'm unsure if it checks the ebuild for it's information as the ebuild itself states the same keyword as my system.

Reproducible: Always
Steps to Reproduce:
1. Unmask new ebuild and build package
2. Remask ebuild
3. emerge -Kp packagename

Actual Results:  
masked package version slated for install

Expected Results:  
install of older package, or "no package" error.

Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-ck3)
=================================================================
System uname: 2.6.8-ck3 i686 Unknown CPU Typ
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/
http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/
ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi aim alsa apm avi berkdb bindist bonobo cdinstall cdparanoia
cdr crypt cups dga divx4linux dvd encode esd fam foomaticdb gdbm gif gnome
gstreamer gtk gtk2 icq imagemagick imlib jpeg libg++ libwww lm_sensors mad
mikmod mmx mono motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mpeg4
mplayer msn ncurses nls no_wxgtk1 nowin nptl offensive oggvorbis opengl oss pam
pda pdflib perl png python quicktime radeon readline samba sdl slang spell sse
ssl svga tcpd tiff truetype unicode usb v4l wxwindows x86 xml2 xosd xrandr xv
yahoo zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-08-27 08:53:21 UTC

*** This bug has been marked as a duplicate of 26314 ***
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-08-27 15:58:23 UTC
Also take a look at bug 61839. With the patch in that bug, emerge -k will work as expected.