The surrounding code is ignorant of USE flags, because it calls use_reduce(matchall=True), therefore it makes sense for the dependency.unknown code to ignore USE deps.
X-Gentoo-Bug: 525376 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=525376 --- [PATCH v2] only changes the bug references from bug 545294 to bug 525376 bin/repoman | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/repoman b/bin/repoman index 7101a00..4a21e37 100755 --- a/bin/repoman +++ b/bin/repoman @@ -2049,9 +2049,10 @@ for x in effective_scanlist: # Skip dependency.unknown for blockers, so that we # don't encourage people to remove necessary blockers, - # as discussed in bug #382407. + # as discussed in bug 382407. We use atom.without_use + # due to bug 525376. if not is_blocker and \ - not portdb.xmatch("match-all", atom) and \ + not portdb.xmatch("match-all", atom.without_use) and \ not atom.cp.startswith("virtual/"): unknown_pkgs.add((mytype, atom.unevaluated_atom)) -- 2.3.1