Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 815814 - egencache doesn't respect /etc/portage/categories
Summary: egencache doesn't respect /etc/portage/categories
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-02 08:33 UTC by Michael
Modified: 2021-10-02 08:33 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 Michael 2021-10-02 08:33:53 UTC
If you set up crossdev, it adds a category, for examle cross-avr/, and adds it to /etc/portage/categories. Then if you try to `egencache --repo=local --update cross-avr/binutils --update-use-local-desc --verbose` you get this:

!!! 'cross-avr/binutils' has a category that is not listed in /etc/portage/categories
No ebuilds or cache entries found for 'cross-avr/binutils'

And no metadata gets generated for the category. Moreover, if you don't speicify the [ATOM] for --update, egencache skips it with no error message, which makes troubleshooting tricky. 

Adding `cross-avr` to ::local/profiles/categories satisfies egencache and metadata gets generated.