commit:     e87494699b30eb9458cb0fb9e05479389904dcb3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 15 14:46:34 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 15 14:46:53 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=e8749469

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 <sam <AT> gentoo.org>

 bin/estrip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/estrip b/bin/estrip
index 54c5a6e33f..526a1f203b 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"

Reply via email to