Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 926062

Summary: sys-apps/{s6,s6-rc} strip binaries unconditionally due to upstream Makefiles
Product: Gentoo Linux Reporter: Alexis <flexibeast>
Component: Current packagesAssignee: Petr Vaněk <arkamar>
Status: RESOLVED INVALID    
Severity: normal CC: flexibeast, proxy-maint, samuel, williamh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexis 2024-03-03 03:42:44 UTC
The Makefiles contain:

    strip: $(ALL_LIBS) $(ALL_BINS)
    ifneq ($(strip $(STATIC_LIBS)),)
        exec $(STRIP) -x -R .note -R .comment $(STATIC_LIBS)
    endif
    ifneq ($(strip $(ALL_BINS)$(SHARED_LIBS)),)
        exec $(STRIP) -R .note -R .comment $(ALL_BINS) $(SHARED_LIBS)
    endif

Other skaware packages might also have the same issue.

Reported based on the following note at https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces:

> Some packages unfortunately handle stripping by themselves, inside the upstream provided makefiles. This is an error and should be reported. All packages should leave Portage the task of the stripping or simply restrict stripping entirely.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-03 03:58:48 UTC
I don't think the ebuild calls the 'strip' target, and 'strip' doesn't seem to be a dependency of 'all' or 'install'.

I also don't get Portage's QA warning for pre-stripped binaries when installing sys-apps/s6-2.12.0.3.

If you're seeing stripped binaries from the ebuild, please provide more information.

(Also, no need to manually CC maintainers. Bug wranglers do that.)
Comment 2 Alexis 2024-03-03 05:51:17 UTC
Gah. i spent about an hour last night on this, trying to make sure that it wasn't some issue with my setup, before reporting it today - only to find that i now can't reproduce. :-/ i keep trying to be more and more thorough before making bug reports, checking reproducibility etc., and yet ....

Sorry for wasting your time.

(Also, noted re. cc's.)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-03 05:55:43 UTC
I've been there so, so, so many times :)

Don't worry about it.