1 |
The surrounding code is ignorant of USE flags, because it calls |
2 |
use_reduce(matchall=True), therefore it makes sense for the |
3 |
dependency.unknown code to ignore USE deps. |
4 |
|
5 |
X-Gentoo-Bug: 545294 |
6 |
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=545294 |
7 |
--- |
8 |
bin/repoman | 5 +++-- |
9 |
1 file changed, 3 insertions(+), 2 deletions(-) |
10 |
|
11 |
diff --git a/bin/repoman b/bin/repoman |
12 |
index 7101a00..64f1ec5 100755 |
13 |
--- a/bin/repoman |
14 |
+++ b/bin/repoman |
15 |
@@ -2049,9 +2049,10 @@ for x in effective_scanlist: |
16 |
|
17 |
# Skip dependency.unknown for blockers, so that we |
18 |
# don't encourage people to remove necessary blockers, |
19 |
- # as discussed in bug #382407. |
20 |
+ # as discussed in bug 382407. We use atom.without_use |
21 |
+ # due to bug 545294. |
22 |
if not is_blocker and \ |
23 |
- not portdb.xmatch("match-all", atom) and \ |
24 |
+ not portdb.xmatch("match-all", atom.without_use) and \ |
25 |
not atom.cp.startswith("virtual/"): |
26 |
unknown_pkgs.add((mytype, atom.unevaluated_atom)) |
27 |
|
28 |
-- |
29 |
2.3.1 |