Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83898 - package.mask should take prejuduice over package.unmask
Summary: package.mask should take prejuduice over package.unmask
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 16:43 UTC by Roel Brook
Modified: 2005-03-02 17:16 UTC (History)
1 user (show)

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 Roel Brook 2005-03-02 16:43:22 UTC
when masking packages locally, /etc/package.mask should overwrite packages unmasked by /etc/portage/package.unmask.

I.e. when emerging kde-3.3.4, add

kde-base/kde
kde-base/kdewebdev
kde-base/kdelibs
kde-base/arts
kde-base/kdebase
kde-base/kdeadmin
kde-base/kdemultimedia
kde-base/kdegraphics
kde-base/kdenetwork
kde-base/kdegames
kde-base/kdeartwork
kde-base/kdeutils
kde-base/kdeaddons
kde-base/kdepim
kde-base/kdetoys
kde-base/kdeedu
kde-base/kde-i18n

to package.unmask.

Because I'm using localisation, and kde-i18n's newest version is 3.4.0_beta2, while the other packages are at version 3.4.0_rc1-r1, I'm stuck in a upgrade / downgrade cycle of kde-base/kdelibs and kde-base/arts. When adding =kde-base/arts-3.4.0_rc1 and =kde-base/kdelibs-3.4.0_rc1-r1 to /etc/portage/package.mask, portage should install all upgrades.

Workaround: add <=kde-base/arts-3.4.0_rc1, <=kde-base/kdelibs-3.4.0_rc1-r1 etc to package.unmask instead of unmasking ALL versions.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.18 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0,
2.6.11-rc5-nitro0 i686)
=================================================================
System uname: 2.6.11-rc5-nitro0 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 00:46:55)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/share/config /var/qmail/alias
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox
sfperms"GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL@euro"
LC_ALL="nl_NL@euro"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm arts audiofile avi bash-completion
bitmap-fonts bzlib calender cdparanoia cdr chroot crypt cups curl dba divx4linux
dvd dvdr dvdread emboss encode esd f77 fam filepro flac font-server foomaticdb
fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick
imlib insecure-drivers java jpeg jpeg2k junit kde ldap libg++ libwww live mad
mikmod mime mmx motif mpeg mplayer msn mysql ncurses network nls nptl nvidia
odbc offensive oggvorbis ooo-kde opengl pam pdflib perl php pic png postgres
python qmail qt quicktime readline real rplay samba scanner sdk sdl session
sftplogging slang softmmu speex spell sse ssl stroke svga tcltk tcpd threads
tiff truetype truetype-fonts type1-fonts usb userlocales v4l wmf xine xinerama
xml xml2 xmms xprint xscreensaver xv xvid zlib video_cards_nvidia linguas_nl"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2005-03-02 17:16:05 UTC
no