sys-auth/elogind: Disable broken test
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 31 Jan 2018 14:15:20 +0000 (15:15 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 31 Jan 2018 14:16:45 +0000 (15:16 +0100)
Closes: https://bugs.gentoo.org/645156
Package-Manager: Portage-2.3.21, Repoman-2.3.6

sys-auth/elogind/elogind-235.2-r1.ebuild
sys-auth/elogind/files/elogind-235.2-drop-logintest.patch [new file with mode: 0644]

index 59b037e8e3f0ffc5dbd8fe64dc68bb7e40110f40..f2e8d0611a3993c9d17690fa5dea932c35cb544b 100644 (file)
@@ -42,6 +42,7 @@ PDEPEND="
 PATCHES=(
        "${FILESDIR}/${PN}-235.1-docs.patch"
        "${FILESDIR}/${P}-legacy-cgroupmode.patch"
+       "${FILESDIR}/${P}-drop-logintest.patch" # bug 645156
 )
 
 pkg_setup() {
diff --git a/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch b/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch
new file mode 100644 (file)
index 0000000..45f17f1
--- /dev/null
@@ -0,0 +1,17 @@
+--- a/src/test/meson.build     2018-01-15 20:34:18.000000000 +0100
++++ b/src/test/meson.build     2018-01-31 15:11:33.342989914 +0100
+@@ -868,10 +868,10 @@
+ #          [],
+ #          [threads]],
+ #endif // 0
+-
+-        [['src/libelogind/sd-login/test-login.c'],
+-         [],
+-         []],
++# Broken in chroot; needs elogind at runtime?
++#        [['src/libelogind/sd-login/test-login.c'],
++#         [],
++#         []],
+ ]
+ #if 0 /// UNNEEDED in elogind