Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848525 - sys-power/upower-0.99.18: integration-test.py failed with status 77.
Summary: sys-power/upower-0.99.18: integration-test.py failed with status 77.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.freedesktop.org/upower...
Whiteboard:
Keywords:
: 848543 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-30 16:02 UTC by Kobboi
Modified: 2022-05-30 20:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,20 bytes, application/gzip)
2022-05-30 16:02 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,7.84 KB, text/plain)
2022-05-30 16:02 UTC, Kobboi
Details
build.log.gz (build.log.gz,1.54 KB, application/gzip)
2022-05-30 16:03 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,7.84 KB, text/plain)
2022-05-30 16:03 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-05-30 16:02:07 UTC
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
Comment 1 Kobboi 2022-05-30 16:02:35 UTC
Created attachment 781433 [details]
build.log.gz
Comment 2 Kobboi 2022-05-30 16:02:37 UTC
Created attachment 781436 [details]
emerge-info.txt
Comment 3 Kobboi 2022-05-30 16:03:41 UTC
Created attachment 781439 [details]
build.log.gz
Comment 4 Kobboi 2022-05-30 16:03:43 UTC
Created attachment 781442 [details]
emerge-info.txt
Comment 5 Kobboi 2022-05-30 16:10:17 UTC
When I run it outside of the emerge run, I get:

Skipping tests, python-dbusmock not available (http://pypi.python.org/pypi/python-dbusmock).
Comment 6 Kobboi 2022-05-30 16:11:42 UTC
And indeed, compiles fine on systems that have python-dbusmock installed.
Comment 7 Kobboi 2022-05-30 16:38:07 UTC
This upstream patch addresses this:

https://gitlab.freedesktop.org/upower/upower/-/commit/aa646fa0ca3e164b09949c546796ec50433b748d

Tested it and it works fine.
Comment 8 Larry the Git Cow gentoo-dev 2022-05-30 17:41:25 UTC
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(+)
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2022-05-30 20:31:45 UTC
*** Bug 848543 has been marked as a duplicate of this bug. ***