Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104000 - emerging a package masked by an overlay's package.mask does not show reason for masking
Summary: emerging a package masked by an overlay's package.mask does not show reason f...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2005-08-27 19:26 UTC by Josh Nichols (RETIRED)
Modified: 2006-05-18 11:40 UTC (History)
0 users

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


Attachments
offending package.mask (package.mask,375 bytes, text/plain)
2005-08-27 19:28 UTC, Josh Nichols (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Nichols (RETIRED) gentoo-dev 2005-08-27 19:26:46 UTC
When attempting to emerge a package masked by
/usr/portage/profiles/package.mask, emerge displays the reason for masking.

However, this does not seem to work in an overlays's package.mask as far as I
can. I've copy the format as closely as possible.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-08-27 19:28:12 UTC
Created attachment 67044 [details]
offending package.mask

Here's the package.mask I was trying to use.
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2005-08-27 19:28:32 UTC
Emerge info:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.1
2-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r1, 2.4.1-r1
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="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpri
v usersandbox"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/redhat-tools /usr/local/overlays/myportage 
/usr/local/overlays/gentopia /usr/local/overlays/gentoo-java-experimental /usr/l
ocal/overlays/chewi-overlay"
SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"
USE="x86 X aac acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts blu
etooth bonobo cairo cdr crypt cups curl divx4linux doc dvd dvdr eds emboss encod
e ethereal faad fam ffmpeg flac foomaticdb fortran gd gdbm gif gimp gimpprint gl
itz gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml gtksharp guile hal howl imagema
gick imlib ipv6 ithreads java javamail jce jikes jpeg ldap libg++ libwww mad mik
mod mmx mono mozilla mp3 mpeg mysql ncurses nls nptl ogg oggvorbis opengl pam pc
mcia pda pdflib perl pic png ppds python quicktime readline real samba scanner s
dl slang sox spell sqlite sse sse2 ssl subversion tcltk tcpd tetex tiff truetype
 truetype-fonts type1-fonts usb vorbis win32codecs xine xml xml2 xv xvid zlib us
erland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-28 00:52:31 UTC
Works for me.

# cat /etc/portage/package.mask
net-ftp/glftpd

# emerge -av glftpd

!!! All ebuilds that could satisfy "glftpd" have been masked.
!!! One of the following masked packages is required to complete your request:
- net-ftp/glftpd-1.32-r2 (masked by: package.mask)
- net-ftp/glftpd-2.00 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
section 2.2 "Software Availability" in the Gentoo Handbook.

Where did you put the file?
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2005-08-28 06:13:44 UTC
I put it in /usr/local/overlays/gentoo-java-experimental/profiles

This bug wasn't that they don't get masked, but rather that trying to emerge a
masked package doesn't show the reason for masking. For example, in
/usr/portage/profiles/package.mask, there's:
# Diego Petten<C3><B2> <flameeyes@gentoo.org> (25 Aug 2005)
# Release Candidate
=media-libs/alsa-lib-1.0.10_rc*

When you try to emerge ">=kde-base/arts-3.5_alpha", you get:
!!! All ebuilds that could satisfy ">=kde-base/arts-3.5_alpha" have been
masked.!!! One of the following masked packages is required to complete your
request:
- kde-base/arts-3.5_alpha1 (masked by: package.mask, ~x86 keyword)
# Gregorio Guidi <greg_g@gentoo.org> (25 Aug 2005)
# KDE 3.5 prereleases.


In the overlay's package.mask I have:
# Joshua Nichols <nichoj@alum.rpi.edu> (26 Aug 2005)
# Place-holder ebuilds for tapestry.
dev-java/tapestry

!!! All ebuilds that could satisfy "tapestry" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/tapestry-3.0.3 (masked by: package.mask


The difference is that this doesn't show the comments as to who masked it and why.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2005-08-29 06:34:42 UTC
Too many stupid package.mask files ... I know why I didn't like adding profiles
to overlays ...
Comment 6 Zac Medico gentoo-dev 2006-05-16 13:31:31 UTC
This is fixed in svn r3365.
Comment 7 Zac Medico gentoo-dev 2006-05-18 11:40:36 UTC
This has been released in 2.1_rc1-r3.