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

Bug 764842

Summary: app-portage/gentoolkit-0.5.0-r2: equery uses ignores use.desc from overlays
Product: Gentoo Linux Reporter: Nikita Zlobin <cook60020tmp>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=516542
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikita Zlobin 2021-01-10 17:35:45 UTC
'equery u <pkg>' seems ignoring use.desc, found in <repo>/profiles if <repo> is not $PORTDIR.

Reproducible: Always

Steps to Reproduce:
1. eselect repository enable jorgicio && emerge --sync jorgicio
2. Remove appindicator use desc in /var/db/repos/jorgicio/x11-misc/clipit/metadata.xml. Check /var/db/repos/jorgicio/profiles/use.desc - it has appindicator use desc.
3. unmask (if masked) x11-misc/clipit, then run: equery w x11-misc/clipit # Must return path in jorgicio repo
4. Actual check: equery u x11-misc/clipit
5. Open ${PORTDIR}/profiles/use.desc and comment out appindicator description.
6. Repeat step 4
Actual Results:  
Description for 'appindicator' use flag, printed by equery u x11-misc/clipit, is meaningful only in step 4, while at step 6 it's <unknown>.

Expected Results:  
'appindicator' use flag must have right description in both steps 4 and 6, printed by equery u x11-misc/clipit.

I found barely similar bug with euses, which ignores use.local.desc in other overlays, reported in 2014, still without replies (yeah, I looked to man euse, though know, it's limited using only that file).