Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 553360 - sys-apps/portage-2.2.18 gives poor reason for keyword changes
Summary: sys-apps/portage-2.2.18 gives poor reason for keyword changes
Status: RESOLVED DUPLICATE of bug 419381
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-26 20:04 UTC by Khumba
Modified: 2015-06-26 20:21 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,5.40 KB, text/plain)
2015-06-26 20:04 UTC, Khumba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Khumba 2015-06-26 20:04:29 UTC
Created attachment 405812 [details]
emerge --info

I'm setting up a new amd64 system and installing firefox-38.0.5 which is currently ~amd64.  This requires >=dev-libs/nss-3.19 which are also all ~amd64.  I added firefox but not nss to package.accept_keywords, and Portage gives me the recommendation:

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by net-misc/networkmanager-1.0.2-r1::gentoo
# required by @selected
# required by @world (argument)
=dev-libs/nss-3.19.1 ~amd64

I have USE=networkmanager, so while there is technically a dependency from networkmanager to nss (underneath firefox even, many layers deep, with emerge -t --unordered-display), it would make more sense if firefox were shown as the depending package, since it's the one forcing the version:

# grep -n nss /g/www-client/firefox/firefox-38.0.5.ebuild 
61:     >=dev-libs/nss-3.19

# grep -n nss /g/net-misc/networkmanager/networkmanager-1.0.2-r1.ebuild
23:kernel_linux +nss +modemmanager ncurses +ppp resolvconf selinux systemd teamd test \
30:     ^^ ( nss gnutls )
57:     nss? ( >=dev-libs/nss-3.11:= )
169:            --with-crypto=$(usex nss nss gnutls) \

I've never noticed Portage not give the correct reason before.  Was I just lucky, and this is an approximate explanation?
Comment 1 Zac Medico gentoo-dev 2015-06-26 20:21:49 UTC

*** This bug has been marked as a duplicate of bug 419381 ***