public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Resurrect debuginfo GDB index generation (#1410907)
@ 2026-11-23 9:30 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:30 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 4324465d43e7e21fe7ac9b72a363c92a9fff9499
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2017-01-23T15:45:57+02:00
Stats : +27/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/4324465d43e7e21fe7ac9b72a363c92a9fff9499?branch=pmatilai-v6
Log:
Resurrect debuginfo GDB index generation (#1410907)
---
diff --git a/rpm-4.13.0-gdbindex.patch b/rpm-4.13.0-gdbindex.patch
new file mode 100644
index 0000000..01ee34a
--- /dev/null
+++ b/rpm-4.13.0-gdbindex.patch
@@ -0,0 +1,25 @@
+commit de7a1e279f8a21fe3494daeb27801db74e8420c5
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date: Tue Jan 17 12:21:48 2017 +0200
+
+ Resurrect GDB index generation (RhBug:1410907)
+
+ Commit 54d30ac4a344770571e56c60281a9130b61c1788 broke GDB index
+ generation due to a leftover "[". In git master this got fixed in
+ commit 67d3df338875ad5d9601e360bfdbd4289f271bc1 but we don't want
+ that on 4.13.x because there are behavior changes involved, so
+ fixing this specifically on the 4.13.x branch.
+
+diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
+index a70ef3c..4293261 100644
+--- a/scripts/find-debuginfo.sh
++++ b/scripts/find-debuginfo.sh
+@@ -312,7 +312,7 @@ while read nlinks inum f; do
+ $strict && exit 2
+ fi
+
+- [ type gdb-add-index >/dev/null 2>&1 && gdb-add-index "$f" > /dev/null 2>&1
++ type gdb-add-index >/dev/null 2>&1 && gdb-add-index "$f" > /dev/null 2>&1
+
+ # A binary already copied into /usr/lib/debug doesn't get stripped,
+ # just has its file names collected and adjusted.
diff --git a/rpm.spec b/rpm.spec
index e9e40dd..5e3e3a7 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -54,6 +54,7 @@ Patch5: rpm-4.12.0-rpm2cpio-hack.patch
# Patches already upstream:
Patch100: rpm-4.13.x-transfiletriggerpostun-invalid-read.patch
Patch101: rpm-4.13.0-signaturesize.patch
+Patch102: rpm-4.13.0-gdbindex.patch
Patch133: rpm-4.13.x-pythondistdeps.patch
Patch134: rpm-4.13.x-pythondistdeps-Makefile.patch
@@ -568,6 +569,7 @@ exit 0
%changelog
* Mon Jan 23 2017 Panu Matilainen <pmatilai@redhat.com> - 4.13.0-11
- Fix malformed packages being generated around 4GB boundary (#1405570)
+- Resurrect debuginfo GDB index generation (#1410907)
* Fri Jan 06 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.13.0-10
- Add Requires: python-setuptools for rpm-build (RHBZ #1410631)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 9:30 [rpms/rpm] pmatilai-v6: Resurrect debuginfo GDB index generation (#1410907) Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox