public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: Resurrect debuginfo GDB index generation (#1410907)
Date: Mon, 23 Nov 2026 09:30:31 GMT [thread overview]
Message-ID: <179542623112.1.17793444590592132586.rpms-rpm-4324465d43e7@fedoraproject.org> (raw)
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)
reply other threads:[~2026-11-23 9:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542623112.1.17793444590592132586.rpms-rpm-4324465d43e7@fedoraproject.org \
--to=pmatilai@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox