[packages/elfutils] disable tests which require glibc debuginfo

atler atler at pld-linux.org
Wed Apr 27 00:12:13 CEST 2022


commit 0c4b0df0f7851a721826676657ea28dd988aa5e3
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Apr 27 00:09:51 2022 +0200

    disable tests which require glibc debuginfo
    
    - keeping debuginfo aligned with current glibc on builders requires
      manual action
    - to make it worse x86_64 requries debuginfo of both x86_64 and i686 for
      biarch test
    - i686/x32 builders are not able to install glibc-debuginfo "Memory exhausted"

 disable-tests.patch | 13 +++++++++++++
 elfutils.spec       |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/elfutils.spec b/elfutils.spec
index f4b889f..7d165b8 100644
--- a/elfutils.spec
+++ b/elfutils.spec
@@ -18,6 +18,7 @@ Patch2:		%{name}-awk.patch
 Patch3:		%{name}-align.patch
 Patch4:		%{name}-paxflags.patch
 Patch5:		%{name}-sparc.patch
+Patch6:		disable-tests.patch
 URL:		https://sourceware.org/elfutils/
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
@@ -181,6 +182,7 @@ Plik nagłówkowy biblioteki debuginfod.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %{__rm} po/stamp-po
 
diff --git a/disable-tests.patch b/disable-tests.patch
new file mode 100644
index 0000000..497c8d1
--- /dev/null
+++ b/disable-tests.patch
@@ -0,0 +1,13 @@
+--- elfutils-0.187/tests/Makefile.am.orig	2022-04-25 22:56:39.000000000 +0200
++++ elfutils-0.187/tests/Makefile.am	2022-04-27 00:07:17.549585252 +0200
+@@ -151,8 +151,8 @@
+ 	run-addr2line-i-test.sh run-addr2line-i-lex-test.sh \
+ 	run-addr2line-i-demangle-test.sh run-addr2line-alt-debugpath.sh \
+ 	run-varlocs.sh run-exprlocs.sh run-varlocs-vars.sh run-funcretval.sh \
+-	run-backtrace-native.sh run-backtrace-data.sh run-backtrace-dwarf.sh \
+-	run-backtrace-native-biarch.sh run-backtrace-native-core.sh \
++	run-backtrace-data.sh run-backtrace-dwarf.sh \
++	run-backtrace-native-core.sh \
+ 	run-backtrace-native-core-biarch.sh run-backtrace-core-x86_64.sh \
+ 	run-backtrace-fp-core-x86_64.sh \
+ 	run-backtrace-fp-core-aarch64.sh \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/elfutils.git/commitdiff/0c4b0df0f7851a721826676657ea28dd988aa5e3



More information about the pld-cvs-commit mailing list