commit:     1d6901d982beb2721dd2a6f8a400baa58f7c8f57
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 31 14:15:20 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 31 14:16:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6901d9

sys-auth/elogind: Disable broken test

Closes: https://bugs.gentoo.org/645156
Package-Manager: Portage-2.3.21, Repoman-2.3.6

 sys-auth/elogind/elogind-235.2-r1.ebuild                |  1 +
 .../elogind/files/elogind-235.2-drop-logintest.patch    | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/sys-auth/elogind/elogind-235.2-r1.ebuild 
b/sys-auth/elogind/elogind-235.2-r1.ebuild
index 59b037e8e3f..f2e8d0611a3 100644
--- a/sys-auth/elogind/elogind-235.2-r1.ebuild
+++ b/sys-auth/elogind/elogind-235.2-r1.ebuild
@@ -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
index 00000000000..45f17f1b843
--- /dev/null
+++ b/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch
@@ -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

Reply via email to