[matter] fix multiprocess.Queue handling for this architecture
This commit is contained in:
@@ -648,6 +648,7 @@ class PackageBuilder(object):
|
||||
# package not found, return error
|
||||
print_error("cannot match: %s, aborting" % (self._package,))
|
||||
self._not_found_queue.put(self._package)
|
||||
self._not_found_queue.join_thread()
|
||||
return 1
|
||||
|
||||
print_info("matched: %s for %s" % (best_visible, self._package,))
|
||||
@@ -658,6 +659,7 @@ class PackageBuilder(object):
|
||||
print_error("package not installed: %s, aborting" % (
|
||||
self._package,))
|
||||
self._not_installed_queue.put(self._package)
|
||||
self._not_installed_queue.join_thread()
|
||||
return 1
|
||||
|
||||
print_info("found installed: %s for %s" % (best_installed,
|
||||
@@ -795,6 +797,7 @@ class PackageBuilder(object):
|
||||
# with current Portage API
|
||||
print_info("package: %s, successfully built" % (cpv,))
|
||||
self._queue.put(cpv)
|
||||
self._queue.join_thread()
|
||||
|
||||
# NOTE: this is a WORKAROUND for Portage's post_emerge() calling
|
||||
# sys.exit() at the end.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# List of packages required to be built.
|
||||
# Comma separated, example: app-foo/bar, bar-baz/foo
|
||||
# Mandatory, cannot be empty
|
||||
packages: sys-libs/zlib
|
||||
packages: sys-libs/zlib, asd-foo/foo
|
||||
|
||||
# Entropy repository where to commit packages
|
||||
# Mandatory, cannot be empty
|
||||
@@ -22,7 +22,7 @@ downgrade: no
|
||||
# Allow package rebuild?
|
||||
# Valid values are either "yes" or "no"
|
||||
# Default is: no
|
||||
rebuild: yes
|
||||
rebuild: no
|
||||
|
||||
# Make possible to continue if one or more packages fail to build?
|
||||
# Valid values are either "yes" or "no"
|
||||
|
||||
Reference in New Issue
Block a user