Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/elogind/, sys-auth/elogind/files/
Date: Wed, 31 Jan 2018 14:17:09
Message-Id: 1517408205.1d6901d982beb2721dd2a6f8a400baa58f7c8f57.asturm@gentoo
1 commit: 1d6901d982beb2721dd2a6f8a400baa58f7c8f57
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 31 14:15:20 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 31 14:16:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6901d9
7
8 sys-auth/elogind: Disable broken test
9
10 Closes: https://bugs.gentoo.org/645156
11 Package-Manager: Portage-2.3.21, Repoman-2.3.6
12
13 sys-auth/elogind/elogind-235.2-r1.ebuild | 1 +
14 .../elogind/files/elogind-235.2-drop-logintest.patch | 17 +++++++++++++++++
15 2 files changed, 18 insertions(+)
16
17 diff --git a/sys-auth/elogind/elogind-235.2-r1.ebuild b/sys-auth/elogind/elogind-235.2-r1.ebuild
18 index 59b037e8e3f..f2e8d0611a3 100644
19 --- a/sys-auth/elogind/elogind-235.2-r1.ebuild
20 +++ b/sys-auth/elogind/elogind-235.2-r1.ebuild
21 @@ -42,6 +42,7 @@ PDEPEND="
22 PATCHES=(
23 "${FILESDIR}/${PN}-235.1-docs.patch"
24 "${FILESDIR}/${P}-legacy-cgroupmode.patch"
25 + "${FILESDIR}/${P}-drop-logintest.patch" # bug 645156
26 )
27
28 pkg_setup() {
29
30 diff --git a/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch b/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch
31 new file mode 100644
32 index 00000000000..45f17f1b843
33 --- /dev/null
34 +++ b/sys-auth/elogind/files/elogind-235.2-drop-logintest.patch
35 @@ -0,0 +1,17 @@
36 +--- a/src/test/meson.build 2018-01-15 20:34:18.000000000 +0100
37 ++++ b/src/test/meson.build 2018-01-31 15:11:33.342989914 +0100
38 +@@ -868,10 +868,10 @@
39 + # [],
40 + # [threads]],
41 + #endif // 0
42 +-
43 +- [['src/libelogind/sd-login/test-login.c'],
44 +- [],
45 +- []],
46 ++# Broken in chroot; needs elogind at runtime?
47 ++# [['src/libelogind/sd-login/test-login.c'],
48 ++# [],
49 ++# []],
50 + ]
51 +
52 + #if 0 /// UNNEEDED in elogind