summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-04-21 12:52:03 -0400
committerMike Gilbert <floppym@gentoo.org>2022-04-21 12:53:14 -0400
commit6c9b38dd67833e1705e985af6ecb5d46a4cf3747 (patch)
tree32ce24bebab8dfa0bbf7213e6a8fd6ddd1f8b65e /sys-apps
parentnet-vpn/tailscale: add 1.22.2 (diff)
downloadgentoo-6c9b38dd67833e1705e985af6ecb5d46a4cf3747.tar.gz
gentoo-6c9b38dd67833e1705e985af6ecb5d46a4cf3747.tar.bz2
gentoo-6c9b38dd67833e1705e985af6ecb5d46a4cf3747.zip
sys-apps/dbus: addwrite /proc for tests
addwrite /proc/self/oom_score_adj is insufficent, possibly due to a bug in how libsandbox resolves the /proc/self symlink. Bug: https://bugs.gentoo.org/836560 Closes: https://bugs.gentoo.org/839828 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/dbus/dbus-1.12.22.ebuild2
-rw-r--r--sys-apps/dbus/dbus-1.14.0.ebuild3
2 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/dbus/dbus-1.12.22.ebuild b/sys-apps/dbus/dbus-1.12.22.ebuild
index f4d09190728e..0491fc1085d8 100644
--- a/sys-apps/dbus/dbus-1.12.22.ebuild
+++ b/sys-apps/dbus/dbus-1.12.22.ebuild
@@ -208,7 +208,7 @@ multilib_src_compile() {
src_test() {
# https://bugs.gentoo.org/836560
- addwrite /proc/self/oom_score_adj
+ addwrite /proc/self
DBUS_VERBOSE=1 virtx emake -j1 -C "${TBD}" check
}
diff --git a/sys-apps/dbus/dbus-1.14.0.ebuild b/sys-apps/dbus/dbus-1.14.0.ebuild
index 07da8e03b737..2cddb00c4761 100644
--- a/sys-apps/dbus/dbus-1.14.0.ebuild
+++ b/sys-apps/dbus/dbus-1.14.0.ebuild
@@ -208,11 +208,12 @@ multilib_src_compile() {
src_test() {
# https://bugs.gentoo.org/836560
- addwrite /proc/self/oom_score_adj
+ addwrite /proc
# DBUS_TEST_MALLOC_FAILURES=0 to avoid huge test logs
# https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/CONTRIBUTING.md#L231
DBUS_TEST_MALLOC_FAILURES=0 DBUS_VERBOSE=1 virtx emake -j1 -C "${TBD}" check
+
}
multilib_src_install() {