I had a >=app-office/openoffice-bin-1.9.87 in my package.unmask. Due to some problems with OOo-19.9.130 I put an =app-office/openoffice-bin-19.130 in my package.mask but still emerge -pv openoffice-bin wanted to reinstall 1.9.130 instead of the 1.9.128 (which was perfectly working). Seems that package.unmask gets evaluated after package.mask and overrides all. Solving this was possible by just addin >app-office/openoffice-bin/1.9.130 AND <app-office/openoffice-bin/1.9.130 in my package.unmask (without anything in package.mask). Reproducible: Always Steps to Reproduce: 1. 2. 3. Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1, 2.6.12.5 i686) ================================================================= System uname: 2.6.12.5 i686 Pentium III (Coppermine) ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2 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 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/bindist" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/marco/files/ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts crypt cups curl dvd eds emboss encode fam flac foomaticdb fortran gd gdbm gif gimp gphoto2 gpm gstreamer gtk2 imagemagick imlib java jpeg libg++ libwww mad mmx motif mp3 mpeg mysql ncurses ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcpd tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
How is this a bug? Package.unmask is the last thing evaluated, it is supposed to work like this.
Exactly. This is correct behaviour.