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

Bug 886149

Summary: dev-util/ninja-1.11.1-r2 adds debug flags (-g/-ggdb) on its own
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal CC: chromium
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-15 16:10:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/ninja-1.11.1-r2 adds debug flags (-g/-ggdb) on its own.
Discovered on: amd64 (internal ref: ci)

NOTE:
while at the end the binaries are stripped, debug flags slow down the build process, and take more disk/ram.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-15 16:10:56 UTC
Created attachment 842897 [details]
build.log

build log and emerge --info
Comment 2 Mike Gilbert gentoo-dev 2022-12-15 18:14:55 UTC
> while at the end the binaries are stripped, debug flags slow down the build process, and take more disk/ram.

The slowdown and increased resource usage should be rather small for a package like ninja, which only compiles ~30 source files.

If this really bothers you, I would suggest submitting a pull request upstream to fix the issue.

If there is some more serious problem this causes, we can take another look at it.