Hello community,

here is the log from the commit of package elfutils for openSUSE:Factory 
checked in at 2019-11-20 13:43:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/elfutils (Old)
 and      /work/SRC/openSUSE:Factory/.elfutils.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "elfutils"

Wed Nov 20 13:43:32 2019 rev:77 rq:748802 version:0.177

Changes:
--------
--- /work/SRC/openSUSE:Factory/elfutils/elfutils.changes        2019-09-11 
10:24:48.423477903 +0200
+++ /work/SRC/openSUSE:Factory/.elfutils.new.26869/elfutils.changes     
2019-11-20 13:43:34.412269101 +0100
@@ -1,0 +2,6 @@
+Thu Nov 14 15:19:43 UTC 2019 - Andreas Schwab <[email protected]>
+
+- disable-tests-with-ptrace.patch: Remove, set XFAIL_TESTS instead
+- dwelf_elf_e_machine_string.patch: Avoid spurious failure
+
+-------------------------------------------------------------------

Old:
----
  disable-tests-with-ptrace.patch

New:
----
  dwelf_elf_e_machine_string.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ elfutils.spec ++++++
--- /var/tmp/diff_new_pack.k8O41a/_old  2019-11-20 13:43:35.388268804 +0100
+++ /var/tmp/diff_new_pack.k8O41a/_new  2019-11-20 13:43:35.392268802 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package elfutils
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,7 @@
 Source2:        baselibs.conf
 Source3:        %{name}.changes
 Source5:        %{name}.keyring
-Patch1:         disable-tests-with-ptrace.patch
+Patch1:         dwelf_elf_e_machine_string.patch
 Patch2:         cfi-fix.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -131,10 +131,7 @@
 
 %prep
 %setup -q
-%if 0%{?qemu_user_space_build}
-# qemu does not support ptrace
 %patch1 -p1
-%endif
 %patch2 -p1
 
 %build
@@ -181,6 +178,10 @@
 %postun -n libdw1 -p /sbin/ldconfig
 
 %check
+%if 0%{?qemu_user_space_build}
+# qemu-linux-user does not support ptrace and a few other process details
+export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh 
run-backtrace-native.sh run-deleted.sh"
+%endif
 %make_build check
 
 %files

++++++ dwelf_elf_e_machine_string.patch ++++++
Index: elfutils-0.177/tests/dwelf_elf_e_machine_string.c
===================================================================
--- elfutils-0.177.orig/tests/dwelf_elf_e_machine_string.c
+++ elfutils-0.177/tests/dwelf_elf_e_machine_string.c
@@ -40,6 +40,7 @@ main (int argc, char **argv)
       int em;
       const char *machine;
 
+      errno = 0;
       if (strncmp ("0x", argv[i], 2) == 0)
        val = strtol (&argv[i][2], NULL, 16);
       else



Reply via email to