From b76929283d565c0fab7d5f27424ea119d7955af4 Mon Sep 17 00:00:00 2001 From: David Benoit Date: Mon, 21 Jul 2025 09:48:57 -0400 Subject: [PATCH] [c9s] Re enable debuginfo in toolchain binaries Instead of omitting debuginfo, waive the rpminspect result. Later we will strip the debuginfo into a separate package. Resolves: RHEL-101454 --- golang.spec | 8 ++++++-- rpminspect.yaml | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/golang.spec b/golang.spec index 2f613b9..336f528 100644 --- a/golang.spec +++ b/golang.spec @@ -102,7 +102,7 @@ Name: golang Version: %{version} -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Go Programming Language # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain License: BSD and Public Domain @@ -342,7 +342,7 @@ export CC_FOR_TARGET="gcc" export GOOS=linux export GOARCH=%{gohostarch} -DEFAULT_GO_LD_FLAGS="-s -w" +DEFAULT_GO_LD_FLAGS="" %if !%{external_linker} export GO_LDFLAGS="-linkmode internal $DEFAULT_GO_LD_FLAGS" %else @@ -585,6 +585,10 @@ cd .. %endif %changelog +* Mon Jul 21 2025 David Benoit - 1.24.4-3 +- Re-enable debguginfo and waive rpminspect result +- Resolves: RHEL-101454 + * Thu Jun 26 2025 Alejandro Sáez - 1.24.4-2 - Add LD_FLAGS for stripping binaries - Resolves: RHEL-93238 diff --git a/rpminspect.yaml b/rpminspect.yaml index cd93d0d..bbe0d5a 100644 --- a/rpminspect.yaml +++ b/rpminspect.yaml @@ -20,6 +20,7 @@ debuginfo: - /usr/lib/golang/pkg/tool/linux_*/objdump - /usr/lib/golang/pkg/tool/linux_*/pack - /usr/lib/golang/pkg/tool/linux_*/pprof + - /usr/lib/golang/pkg/tool/linux_*/preprofile - /usr/lib/golang/pkg/tool/linux_*/test2json - /usr/lib/golang/pkg/tool/linux_*/trace - /usr/lib/golang/pkg/tool/linux_*/vet