public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: Really add fix for missing_build_ids_terminate_build without __debug_package.
@ 2026-11-23  9:30 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2026-11-23  9:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : b70aa8f2a798de813ad51cdd7e1a1b6c779761e8
Author : Mark Wielaard <mark@klomp.org>
Date   : 2017-03-09T15:59:12+01:00
Stats  : +17/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/b70aa8f2a798de813ad51cdd7e1a1b6c779761e8?branch=pmatilai-v6

Log:
Really add fix for missing_build_ids_terminate_build without __debug_package.

---
diff --git a/0013-missing_build_ids_terminate_build.patch b/0013-missing_build_ids_terminate_build.patch
new file mode 100644
index 0000000..95dc37a
--- /dev/null
+++ b/0013-missing_build_ids_terminate_build.patch
@@ -0,0 +1,17 @@
+diff --git a/build/files.c b/build/files.c
+index 26f53bd..8b516c6 100644
+--- a/build/files.c
++++ b/build/files.c
+@@ -1699,7 +1699,11 @@ static int generateBuildIDs(FileList fl)
+     if (build_id_links == BUILD_IDS_NONE || rc != 0)
+ 	return rc;
+ 
+-    int terminate = rpmExpandNumeric("%{?_missing_build_ids_terminate_build}");
++    /* Historically we have only checked build_ids when __debug_package
++       was defined. So don't terminate the build if __debug_package is
++       unset, even when _missing_build_ids_terminate_build is. */
++    int terminate = (rpmExpandNumeric("%{?_missing_build_ids_terminate_build}")
++		     && rpmExpandNumeric("%{?__debug_package}"));
+ 
+     /* Collect and check all build-ids for ELF files in this package.  */
+     int needMain = 0;

^ 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: Really add fix for missing_build_ids_terminate_build without __debug_package Mark Wielaard

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