public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dwz] rawhide: Remove old, unused, dwz-0.14-* patches
@ 2026-10-31 23:46 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2026-10-31 23:46 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/dwz
Branch : rawhide
Commit : 0659a426e6174600c2901938c27008637606631b
Author : Mark Wielaard <mjw@redhat.com>
Date   : 2026-11-01T00:45:40+01:00
Stats  : +0/-156 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/dwz/c/0659a426e6174600c2901938c27008637606631b?branch=rawhide

Log:
Remove old, unused, dwz-0.14-* patches

---
diff --git a/dwz-0.14-binutils-Wn.patch b/dwz-0.14-binutils-Wn.patch
deleted file mode 100644
index f9f3c2f..0000000
--- a/dwz-0.14-binutils-Wn.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-commit b1f26dc76158e1f3364836d8b540b17a7a1ccb3d
-Author: Tom de Vries <tdevries@suse.de>
-Date:   Sat Mar 20 09:37:31 2021 +0100
-
-    [testsuite] Handle readelf following links by default
-    
-    Since binutils commit c46b706620e "Change the readelf and objdump programs so
-    that they will automatically follow links to separate debug info files" there
-    are a few FAILs in the dwz testsuite.
-    
-    This is just due to changing the default behaviour for readelf.
-    
-    Fix this by testing whether the new -Wn readelf flag is supported,
-    and if so, adding it to the readelf call.
-    
-    2021-03-20  Tom de Vries  <tdevries@suse.de>
-    
-            PR dwz/27592
-            * testsuite/dwz.tests/odr-struct-multifile.sh: Call readelf with -wN
-            if supported.
-            * testsuite/dwz.tests/cycle.sh: Same.
-
-diff --git a/testsuite/dwz.tests/odr-struct-multifile.sh b/testsuite/dwz.tests/odr-struct-multifile.sh
-index cc462c9..20b682b 100644
---- a/testsuite/dwz.tests/odr-struct-multifile.sh
-+++ b/testsuite/dwz.tests/odr-struct-multifile.sh
-@@ -2,6 +2,11 @@ if ! $execs/dwz-for-test --odr -v 2>/dev/null; then
-     exit 77
- fi
- 
-+readelf_flags=""
-+if readelf -h 2>&1 | grep -q "\-wN,"; then
-+    readelf_flags=-wN
-+fi
-+
- cp $execs/odr-struct 1
- cp 1 2
- 
-@@ -41,12 +46,12 @@ done
- 
- 
- for name in aaa bbb ccc; do
--    cnt=$(readelf -wi 1 | grep -c "DW_AT_name.*:.*$name" || true)
-+    cnt=$(readelf -wi $readelf_flags 1 | grep -c "DW_AT_name.*:.*$name" || true)
-     [ $cnt -eq 0 ]
- done
- 
- for name in member_one member_two member_three member_four; do
--    cnt=$(readelf -wi 1 | grep -c "DW_AT_name.*:.*$name" || true)
-+    cnt=$(readelf -wi $readelf_flags 1 | grep -c "DW_AT_name.*:.*$name" || true)
-     [ $cnt -eq 0 ]
- done
- 
-commit 2b3711fef3438ca83db8eabed3715b6c45924511
-Author: Lv Ying via Dwz <dwz@sourceware.org>
-Date:   Thu Jan 13 05:29:44 2022 +0800
-
-    fix Handle readelf following links by default(b1f26dc76158e)
-    
-    The two testcases still failed when using newer readelf(binutils commit c46b706620e):
-    testsuite/dwz.tests/odr-struct-multifile.sh
-    testsuite/dwz.tests/cycle.sh
-    
-    fix the new -Wn readelf flag test
-    
-    Signed-off-by: Lv Ying <lvying6@huawei.com>
-
-diff --git a/testsuite/dwz.tests/odr-struct-multifile.sh b/testsuite/dwz.tests/odr-struct-multifile.sh
-index 20b682b..159cbc3 100644
---- a/testsuite/dwz.tests/odr-struct-multifile.sh
-+++ b/testsuite/dwz.tests/odr-struct-multifile.sh
-@@ -3,7 +3,7 @@ if ! $execs/dwz-for-test --odr -v 2>/dev/null; then
- fi
- 
- readelf_flags=""
--if readelf -h 2>&1 | grep -q "\-wN,"; then
-+if readelf -h 2>&1 | grep -q "\-wN"; then
-     readelf_flags=-wN
- fi
- 

diff --git a/dwz-0.14-binutils-readelf-alt.patch b/dwz-0.14-binutils-readelf-alt.patch
deleted file mode 100644
index ed13fd7..0000000
--- a/dwz-0.14-binutils-readelf-alt.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/testsuite/dwz.tests/odr-struct-multifile.sh b/testsuite/dwz.tests/odr-struct-multifile.sh
-old mode 100644
-new mode 100755
-index 159cbc3..5961abf
---- a/testsuite/dwz.tests/odr-struct-multifile.sh
-+++ b/testsuite/dwz.tests/odr-struct-multifile.sh
-@@ -44,6 +44,9 @@ for name in member_one member_two member_three member_four; do
-     [ $cnt -eq 1 ]
- done
- 
-+# Even with -wN readelf 2.38-15.fc37 follows and prints the contents
-+# of the alt file. So make sure it cannot do that by removing it.
-+rm 3
- 
- for name in aaa bbb ccc; do
-     cnt=$(readelf -wi $readelf_flags 1 | grep -c "DW_AT_name.*:.*$name" || true)

diff --git a/dwz-0.14-gdb-add-index.patch b/dwz-0.14-gdb-add-index.patch
deleted file mode 100644
index 1cb2027..0000000
--- a/dwz-0.14-gdb-add-index.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-commit 5cb60631fad2827d5d337fce0c1cd03c894d6f8c
-Author: Mark Wielaard <mark@klomp.org>
-Date:   Sat Jul 2 00:57:38 2022 +0200
-
-    Redirect stder in gdb-add-index.sh test
-    
-    gdb-add-index might produce an error message on stderr when trying to
-    disable debuginfod support. Any message to stderr makes the testcase
-    fail. This looks like a gdb bug:
-    https://sourceware.org/bugzilla/show_bug.cgi?id=29316
-    But it is easy to workaround by redirecting stderr to stdout.
-
-diff --git a/testsuite/dwz.tests/gdb-add-index.sh b/testsuite/dwz.tests/gdb-add-index.sh
-index 5a91b23..3095efb 100644
---- a/testsuite/dwz.tests/gdb-add-index.sh
-+++ b/testsuite/dwz.tests/gdb-add-index.sh
-@@ -1,6 +1,8 @@
- cp $execs/hello 1
- 
--gdb-add-index 1
-+# Redirect gdb-add-index stderr to stdout.
-+# https://sourceware.org/bugzilla/show_bug.cgi?id=29316
-+gdb-add-index 1 2>&1
- 
- readelf -S 1 | grep -q '\.gdb_index'
- 

diff --git a/dwz-0.14-grep-E.patch b/dwz-0.14-grep-E.patch
deleted file mode 100644
index bf1e8c4..0000000
--- a/dwz-0.14-grep-E.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-commit a57177980a05f0f84bf290ab7b68f73c0f78053f
-Author: Martin Liška <mliska@suse.cz>
-Date:   Wed Sep 7 21:55:03 2022 +0200
-
-    Use grep -E instead of egrep.
-    
-    egrep is obsoleted starting with GNU Grep 3.8.
-
-diff --git a/contrib/bytes-per-die.sh b/contrib/bytes-per-die.sh
-index 969f733..fda8998 100755
---- a/contrib/bytes-per-die.sh
-+++ b/contrib/bytes-per-die.sh
-@@ -3,7 +3,7 @@
- f="$1"
- 
- size=$(readelf -WS "$f" \
--	   | egrep "[ \t]\.debug_info" \
-+	   | grep -E "[ \t]\.debug_info" \
- 	   | sed 's/.*\.debug_info//' \
- 	   | awk '{print $4}')
- size=$((16#$size))
-diff --git a/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh b/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
-index a3395a7..ee31359 100644
---- a/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
-+++ b/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
-@@ -7,7 +7,7 @@
-     1 2 \
-     2> dwz.err
- 
--if egrep -q "Compressing (1|2)$" dwz.err; then
-+if grep -Eq "Compressing (1|2)$" dwz.err; then
-     exit 1
- fi
- 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-31 23:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 23:46 [rpms/dwz] rawhide: Remove old, unused, dwz-0.14-* patches Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox