Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60983 - portage ignoring /etc/portage/package.mask
Summary: portage ignoring /etc/portage/package.mask
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-20 00:01 UTC by Gerator
Modified: 2004-08-20 00:25 UTC (History)
0 users

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


Attachments
portage.mask with mldonkey masked (package.mask,74 bytes, text/plain)
2004-08-20 00:05 UTC, Gerator
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerator 2004-08-20 00:01:57 UTC
When I try to mask a package with ambiguous name portage ignores /etc/portage/package.mask
For example trying to mask mldonkey by adding it to package.mask has no result.

Reproducible: Always
Steps to Reproduce:
1.emerge -p "ambiguous-packet", portage will tell about de ambiguous ebuild and ask for more detail.
2.add one of the possible ambiguous ebuild to package.mask
3.try to emerge the masked ebuild

Actual Results:  
Portage ignored that the ebuild was masked in /etc/portage/package.mask and
installed the packet.

Expected Results:  
Portage should take care about /etc/portage/package.mask and not emerge the ebuild.

I have tested it with mldonkey. If you try to emerge mldonkey, portage will ask
you to try to emerge net-p2p/mldonkey or app-emacs/mldonkey.
In this case neither of the ebuilds can be masked by adding them to
/etc/portage/packages.mask
I don't know if the same occurs for package.unmask.

bash-2.05b$ emerge --info

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.

Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7
                                                                               
  -gentoo-r14)
=================================================================
System uname: 2.6.7-gentoo-r14 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.rediris.es/pub/Linux/distributions/gentoo http://gent
                                                                               
  oo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa avi berkdb bonobo cdr crypt cups dvd dvdread encode esd f
                                                                               
  aac faad flac foomaticdb gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk
gtk2                                                                           
        gtkhtml imlib jpeg libg++ libwww lirc mad matroska mikmod mmx monkey
moznocompo                                                                     
             se moznoirc moznomail mpeg ncurses nls oggvorbis opengl pam pdflib
perl png pyth                                                                  
                on qt quicktime readline sdl slang spell sse ssl svga tcpd
theora tiff transcode                                                          
                         truetype v4l v4l2 x86 xml2 xpm xv xvid zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-08-20 00:05:35 UTC
Please post what you did *exactly* so we can try to reproduce it (commands used, contents of package.mask).
Comment 2 Gerator 2004-08-20 00:05:57 UTC
Created attachment 37786 [details]
portage.mask with mldonkey masked 

My portage.mask with both app-emacs/mldonkey and net-p2p/mldonkey masked.
Comment 3 Gerator 2004-08-20 00:10:10 UTC
Sorry, this is my first bug.

I add net-p2p/mldonkey to /etc/portage/package.mask
The I do "emerge net-p2p/mldonkey -a" and mldonkey gets installed.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-08-20 00:22:17 UTC
Looks like a 2.0.50 problem (works with 2.0.51).
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2004-08-20 00:25:02 UTC
actually it also works in 2.0.50 for me