The profiles/package.mask file in $PORTDIR_OVERLAY appears to be ignored. I want to use this to mask apache 2. AxKit does not work with apache-2, and mod_php gets into trouble when using apache 1 while apache 2 is also present (even tough I use USE="-apache2"). However, this apparently does not work... at the moment I am solving this by echoing ">=net-www/apache-2" into /usr/portage/profiles/package.mask after each sync. Reproducible: Always Steps to Reproduce: # grep ^PORTDIR_OVERLAY /etc/make.conf PORTDIR_OVERLAY=/usr/local/portage # echo ">=net-www/apache-2" > /usr/local/portage # emerge -up apache These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-www/apache-2.0.47 [1.3.27-r4] Actual Results: portage still tries to merge apache 2.xyz: # emerge -up apache These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-www/apache-2.0.47 [1.3.27-r4] Expected Results: it should have left apache alone: # emerge -up apache These are the packages that I would merge, in order: Calculating dependencies ...done! # Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-xfs-r3 i686 AMD Duron(tm) Processor GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts tetex aalib svga tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl cdr acpi artswrappersuid cjk curl flash gd imap jikes lcms maildir mng moznocompose moznoirc moznomail oav odbc pic samba tiff vim-with-x wmf xface xfs xinerama xml xosd -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -fomit-frame-pointer -m3dnow -mmmx -O3 -pipe -ffast-math" CXXFLAGS="-march=athlon -fomit-frame-pointer -m3dnow -mmmx -O3 -pipe -ffast-math" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
*** This bug has been marked as a duplicate of 5622 ***