Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 18788

Summary: Main portage KEYWORDS override the KEYWORDS in PORTAGE_OVERLAY
Product: Portage Development Reporter: Christian Birchinger (RETIRED) <joker>
Component: UnclassifiedAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Birchinger (RETIRED) gentoo-dev 2003-04-04 23:27:28 UTC
When a KEYWORD of "~arch" is in /usr/portage and a KEYWORD of "arch" is in
PORTAGE_OVERLAY, the "~arch" KEYWORD is used.

This is wrong because datas from PORTAGE_OVERLAY should have priority on everything.

Reproducible: Always
Steps to Reproduce:
1.copy ebuild with ~arch keyword into local overlay
2.change ~arch to arch in overlay
3.emerge -s the application with ACCEPT_KEYWORDS="arch"
 

Actual Results:  
It will not list the app as available because ~arch KEYWORD from main tree
overrides the local PORTAGE_OVERLAY

Expected Results:  
It should list the app as available because "arch" KEYWORD is set in overlay

This problem exists since /var/cache/edb/dep is created and used.

I guess when emerge creates that dependency database it only uses values from
/usr/portage and ignores the overlay data.

!!! This bug was previously opened but accidently marked as dupe !!!
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2003-09-11 15:48:43 UTC
Has been fixed a long time ago