commit:     9beb91d485ff4f66a69b9a0cf58fd3b866b22eeb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 18:19:37 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 18:19:57 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9beb91d4

sys-apps/portage: backport the other objcopy noise fix

Bug: https://bugs.gentoo.org/968220
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...nce-noise-from-objcopy-if-build-ID-sectio.patch | 31 ++++++++++++++++++++++
 ...e-3.0.77-r2.ebuild => portage-3.0.77-r3.ebuild} |  0
 2 files changed, 31 insertions(+)

diff --git 
a/sys-apps/portage/files/0001-estrip-silence-noise-from-objcopy-if-build-ID-sectio.patch
 
b/sys-apps/portage/files/0001-estrip-silence-noise-from-objcopy-if-build-ID-sectio.patch
index 1da78586dee4..5afac81af8f8 100644
--- 
a/sys-apps/portage/files/0001-estrip-silence-noise-from-objcopy-if-build-ID-sectio.patch
+++ 
b/sys-apps/portage/files/0001-estrip-silence-noise-from-objcopy-if-build-ID-sectio.patch
@@ -33,3 +33,34 @@ index 6e2a5b623..54c5a6e33 100755
 -- 
 2.53.0
 
+From e87494699b30eb9458cb0fb9e05479389904dcb3 Mon Sep 17 00:00:00 2001
+Message-ID: 
<e87494699b30eb9458cb0fb9e05479389904dcb3.1771352319.git....@gentoo.org>
+From: Sam James <[email protected]>
+Date: Sun, 15 Feb 2026 14:46:34 +0000
+Subject: [PATCH] estrip: silence (further) noise from objcopy if build ID
+ section doesn't exist
+
+Followup to 71dd5e89eaa5868418e13da6605fe3873939c60b.
+
+Bug: https://bugs.gentoo.org/968220
+Signed-off-by: Sam James <[email protected]>
+---
+ bin/estrip | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/estrip b/bin/estrip
+index 54c5a6e33..526a1f203 100755
+--- a/bin/estrip
++++ b/bin/estrip
+@@ -172,7 +172,7 @@ save_elf_debug() {
+                                       # We need to process the splitdebug 
file too
+                                       # if we're doing it at this late 
juncture (bug #968220)
+                                       "${name_of[objcopy]}" --dump-section 
.note.gnu.build-id="${inode_link}_buildid" "${src}" 2>/dev/null \
+-                                              && "${name_of[objcopy]}" 
--update-section .note.gnu.build-id="${inode_link}_buildid" "${dst}"
++                                              && "${name_of[objcopy]}" 
--update-section .note.gnu.build-id="${inode_link}_buildid" "${dst}" 2>/dev/null
+                                       rm -f "${inode_link}_buildid"
+                               elif ! contains_word buildid 
"${warned_for[debugedit]}"; then
+                                       warned_for[debugedit]+=" buildid"
+-- 
+2.53.0
+

diff --git a/sys-apps/portage/portage-3.0.77-r2.ebuild 
b/sys-apps/portage/portage-3.0.77-r3.ebuild
similarity index 100%
rename from sys-apps/portage/portage-3.0.77-r2.ebuild
rename to sys-apps/portage/portage-3.0.77-r3.ebuild

Reply via email to