Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764842 - app-portage/gentoolkit-0.5.0-r2: equery uses ignores use.desc from overlays
Summary: app-portage/gentoolkit-0.5.0-r2: equery uses ignores use.desc from overlays
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
Depends on:
Reported: 2021-01-10 17:35 UTC by Nikita Zlobin
Modified: 2021-01-10 20:28 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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).