From 1d6901d982beb2721dd2a6f8a400baa58f7c8f57 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 31 Jan 2018 15:15:20 +0100 Subject: [PATCH] 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 + .../files/elogind-235.2-drop-logintest.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 sys-auth/elogind/files/elogind-235.2-drop-logintest.patch diff --git a/sys-auth/elogind/elogind-235.2-r1.ebuild b/sys-auth/elogind/elogind-235.2-r1.ebuild index 59b037e8e3f0..f2e8d0611a39 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 000000000000..45f17f1b843a --- /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 -- 2.26.2