Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462482 - Support ${repository}/profiles/{package.accept_keywords,package.keywords}
Summary: Support ${repository}/profiles/{package.accept_keywords,package.keywords}
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240187
  Show dependency tree
 
Reported: 2013-03-20 13:36 UTC by Dyweni
Modified: 2015-10-30 21:37 UTC (History)
2 users (show)

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 Dyweni 2013-03-20 13:36:01 UTC
The file '<overlay>/profile/package.accept_keywords' contains the following line:
   =category/package-version::repo ~arch

When I try to 'emerge -p =category/package-version::repo', I am given the message that a keyword change is still required.

Strace shows that emerge isn't even looking for package.accept_keywords in the overlay.





Reproducible: Always

Steps to Reproduce:
1. Add '=category/package-version::repo ~arch' to '<overlay>/profiles/package.accept_keywords'
2. emerge -p =category/package-version::repo
Actual Results:  
Emerge output indicates that a keyword change is still required.

Expected Results:  
Emerge output should not indicate that a keyword change is still required.
Comment 1 Dyweni 2013-03-20 13:38:43 UTC
For example,

In my overlay, I wanted force =sys-apps/portage-2.1.11.57 to be installed on all my systems.

I have the following files configured in my overlay/profiles folder:
eapi:
  5-progress.
package.mask:
  <sys-apps/portage-2.1.11.57::gentoo
package.accept_keywords:
  =sys-apps/portage-2.1.11.57::gentoo ~amd64 ~x86

I get the following from 'emerge -p =sys-apps/portage-2.1.11.57::gentoo':
----
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
#required by =sys-apps/portage-2.1.11.57::gentoo (argument)
=sys-apps/portage-2.1.11.57 ~amd64
----
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-20 14:27:15 UTC
You can use package.keywords for this, see `man portage` and as an example /usr/portage/profiles/arch/amd64/x32/package.keywords.
Comment 3 Dyweni 2013-03-20 14:37:23 UTC
I can't even get that far.

Strace shows that emerge doesn't even bother looking for package.keywords or package.accept_keywords in the overlay.

I suspect /usr/lib64/portage/pym/portage/package/ebuild/_config/KeywordsManager.py needs to be modified to look in each of the overlays for package.keywords or package.accept_keywords first, before any additional testing can be done.
Comment 4 Zac Medico gentoo-dev 2013-03-20 18:55:51 UTC
These files are currently not supported. Refer to bug 370693 for other files that are support in ${repository}/profiles/.
Comment 5 Daniel Robbins 2015-10-21 23:33:03 UTC
I'd like to see this implemented as well.