Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391359 - portage-2.2.0_alpha77: Masked package message misleading (due to backtracking)
Summary: portage-2.2.0_alpha77: Masked package message misleading (due to backtracking)
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 09:09 UTC by Dennis Schridde
Modified: 2011-11-23 02:30 UTC (History)
0 users

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 Dennis Schridde 2011-11-22 09:09:47 UTC
Portage claims:
---
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
net-im/telepathy-kde-meta
---

eix claims:
---
[I] net-im/telepathy-kde-meta [1]
     Available versions:  (4) (**)9999
---

emerge -pv telepathy-kde-meta reveals:
---
emerge: there are no ebuilds to satisfy "net-voip/telepathy-connection-managers".
(dependency required by "net-im/telepathy-kde-meta-9999" [ebuild])
(dependency required by "telepathy-kde-meta" [argument])
---

-> IMO the message "[...] either all masked or don't exist" is misleading, because it suggests that the package itself is masked or missing, while actually one of its dependencies is gone.

Reproducible: Always




Portage 2.2.0_alpha77 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.2, glibc-2.13-r4, 3.1.1-gentoo x86_64)
=================================================================
System uname: Linux-3.1.1-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.1
Timestamp of tree: Tue, 22 Nov 2011 08:15:01 +0000
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.22
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo kde sunrise local
Installed sets: @kdebase
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64-sse3 -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/neatx/home"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3 -ftree-vectorize"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--depclean-lib-check n --with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--hash-style=gnu"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/kde /var/cache/portage/layman/sunrise /var/cache/portage/local"
[...]
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zac Medico gentoo-dev 2011-11-22 16:00:20 UTC
Are you sure that it's not masked? 9999 ebuilds are typically masked by keywords. Have you unmasked it with /etc/portage/package.accept_keywords or something?

I suspect that the following command will show you a masking message:

   emerge -p --nodeps net-im/telepathy-kde-meta
Comment 2 Dennis Schridde 2011-11-22 23:48:15 UTC
(In reply to comment #1)
> Are you sure that it's not masked? 9999 ebuilds are typically masked by
> keywords. Have you unmasked it with /etc/portage/package.accept_keywords or
> something?

For demonstration I just undid my fix to the ebuild and set again:
RDEPEND="... net-voip/telepathy-connection-managers"
like it was this morning.

net-voip/telepathy-connection-managers does not exist, neither in mainline nor in any of the overlays, including the kde overlay where net-im/telepathy-kde-meta is from.

emerge -uDN @world -pv shows again:
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
net-im/telepathy-kde-meta

> I suspect that the following command will show you a masking message:
> 
>    emerge -p --nodeps net-im/telepathy-kde-meta
[ebuild   R   *] net-im/telepathy-kde-meta-9999 

Without --nodeps it shows:
emerge: there are no ebuilds to satisfy "net-voip/telepathy-connection-managers".
(dependency required by "net-im/telepathy-kde-meta-9999" [ebuild])
(dependency required by "telepathy-kde-meta" [argument])

Setting RDEPEND="... net-im/telepathy-connection-managers" makes the messages go away.
Comment 3 Dennis Schridde 2011-11-22 23:52:02 UTC
P.S: telepathy-kde-meta is keyword masked, but unmasked via /etc/portage/package.keywords/file:
#required by net-im/telepathy-kde-meta (argument)
>=net-im/telepathy-kde-meta-9999 **

There exists also:
#required by net-im/telepathy-kde-meta-9999, required by net-im/telepathy-kde-meta (argument)
# move net-im/telepathy-accounts-kcm-plugins net-voip/telepathy-connection-managers
>=net-voip/telepathy-connection-managers-9999 **
Comment 4 Zac Medico gentoo-dev 2011-11-23 02:25:43 UTC
It seems like this behavior could be triggered by backtracking, since it will create a temporary mask for packages that have unsatisfied dependencies.