commit:     8b8e22f6afc9bdb16bc13ed3997f0c1281a0792e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  2 22:07:12 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Feb  2 23:40:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8e22f6

dev-libs/elfutils: disable unstable biarch test

test fails on multilib system when elfutils is built for 32-bit ABI.

Bug: https://sourceware.org/PR24158
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-libs/elfutils/elfutils-0.175-r1.ebuild                       | 1 +
 .../files/elfutils-0.175-disable-biarch-test-PR24158.patch       | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/dev-libs/elfutils/elfutils-0.175-r1.ebuild 
b/dev-libs/elfutils/elfutils-0.175-r1.ebuild
index ad1c1988b46..458b215bbe7 100644
--- a/dev-libs/elfutils/elfutils-0.175-r1.ebuild
+++ b/dev-libs/elfutils/elfutils-0.175-r1.ebuild
@@ -26,6 +26,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
        "${FILESDIR}"/${PN}-0.118-PaX-support.patch
        "${FILESDIR}"/${PN}-0.173-partial-core.patch
+       "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch
 )
 
 src_prepare() {

diff --git 
a/dev-libs/elfutils/files/elfutils-0.175-disable-biarch-test-PR24158.patch 
b/dev-libs/elfutils/files/elfutils-0.175-disable-biarch-test-PR24158.patch
new file mode 100644
index 00000000000..809c3df1efa
--- /dev/null
+++ b/dev-libs/elfutils/files/elfutils-0.175-disable-biarch-test-PR24158.patch
@@ -0,0 +1,9 @@
+https://sourceware.org/PR24158
+
+Tets fails when 32-bit elfutils tries to dump 64-bit process.
+--- a/tests/run-backtrace-native-biarch.sh
++++ b/tests/run-backtrace-native-biarch.sh
+@@ -17,2 +17,3 @@
+ 
++ELFUTILS_DISABLE_BIARCH=yes # https://sourceware.org/PR24158
+ if test -n "$ELFUTILS_DISABLE_BIARCH"; then

Reply via email to