summaryrefslogtreecommitdiff
path: root/src/backend/libsisyphus.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-03-03 23:05:05 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-03-03 23:05:05 +0000
commit42df0bc391b29cd42dff591c7e6cbe08558ae29c (patch)
tree3552edc80817d8aaa7fac6209a134b2456c05495 /src/backend/libsisyphus.py
parent93baf2a6d49e0d8d16b17ba814b5879cfe01b4ff (diff)
cover some more portage errorsv2.1903.0
Diffstat (limited to 'src/backend/libsisyphus.py')
-rw-r--r--src/backend/libsisyphus.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py
index 0de7f95..a01c137 100644
--- a/src/backend/libsisyphus.py
+++ b/src/backend/libsisyphus.py
@@ -76,6 +76,12 @@ def getPackageDeps(pkgList):
if "The following mask changes are necessary to proceed:" in portageOutput.rstrip():
needsConfig = int(1)
+ if "The following USE changes are necessary to proceed:" in portageOutput.rstrip():
+ needsConfig = int(1)
+
+ if "The following REQUIRED_USE flag constraints are unsatisfied:" in portageOutput.rstrip():
+ needsConfig = int(1)
+
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
if "binary" in portageOutput.rstrip():
isBinary = str(portageOutput.rstrip().split("]")[1].split("[")[0].strip("\ "))
@@ -100,6 +106,12 @@ def getWorldDeps():
if "The following mask changes are necessary to proceed:" in portageOutput.rstrip():
needsConfig = int(1)
+ if "The following USE changes are necessary to proceed:" in portageOutput.rstrip():
+ needsConfig = int(1)
+
+ if "The following REQUIRED_USE flag constraints are unsatisfied:" in portageOutput.rstrip():
+ needsConfig = int(1)
+
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
if "binary" in portageOutput.rstrip():
isBinary = str(portageOutput.rstrip().split("]")[1].split("[")[0].strip("\ "))