Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler) Configuring org.freedesktop.UPower.service using configuration Configuring org.freedesktop.UPower.conf using configuration Configuring upower.service using configuration Program python3 found: YES (/usr/bin/python3) Program linux/unittest_inspector.py found: YES (/var/tmp/portage/sys-power/upower-0.99.18/work/upower-v0.99.18/src/linux/unittest_inspector.py) src/meson.build:127:4: ERROR: Command "/var/tmp/portage/sys-power/upower-0.99.18/work/upower-v0.99.18/src/linux/unittest_inspector.py /var/tmp/portage/sys-power/upower-0.99.18/work/upower-v0.99.18/src/linux/integration-test.py" failed with status 77. A full log can be found at /var/tmp/portage/sys-power/upower-0.99.18/work/upower-0.99.18-build/meson-logs/meson-log.txt * ERROR: sys-power/upower-0.99.18::gentoo failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 2560: Called meson_src_configure * environment, line 1774: Called die * The specific snippet of code: * "${mesonargs[@]}" ) || die * * If you need support, post the output of `emerge --info '=sys-power/upower-0.99.18::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-power/upower-0.99.18::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-power/upower-0.99.18/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-power/upower-0.99.18/temp/environment'. * Working directory: '/var/tmp/portage/sys-power/upower-0.99.18/work/upower-v0.99.18' * S: '/var/tmp/portage/sys-power/upower-0.99.18/work/upower-v0.99.18' Reproducible: Always
Created attachment 781433 [details] build.log.gz
Created attachment 781436 [details] emerge-info.txt
Created attachment 781439 [details] build.log.gz
Created attachment 781442 [details] emerge-info.txt
When I run it outside of the emerge run, I get: Skipping tests, python-dbusmock not available (http://pypi.python.org/pypi/python-dbusmock).
And indeed, compiles fine on systems that have python-dbusmock installed.
This upstream patch addresses this: https://gitlab.freedesktop.org/upower/upower/-/commit/aa646fa0ca3e164b09949c546796ec50433b748d Tested it and it works fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b62cbd27a588cff0eb0b200718f3f83d2679a3e commit 7b62cbd27a588cff0eb0b200718f3f83d2679a3e Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-05-30 17:39:52 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-05-30 17:40:18 +0000 sys-power/upower: Add patch to build without dev-python/python-dbusmock Closes: https://bugs.gentoo.org/848525 Signed-off-by: Matt Turner <mattst88@gentoo.org> ...18-meson-Allow-unittest-inspector-to-fail.patch | 31 ++++++++++++++++++++++ sys-power/upower/upower-0.99.18.ebuild | 4 +++ 2 files changed, 35 insertions(+)
*** Bug 848543 has been marked as a duplicate of this bug. ***