Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886149 - dev-util/ninja-1.11.1-r2 adds debug flags (-g/-ggdb) on its own
Summary: dev-util/ninja-1.11.1-r2 adds debug flags (-g/-ggdb) on its own
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-15 16:10 UTC by Agostino Sarubbo
Modified: 2022-12-15 18:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,72.91 KB, text/plain)
2022-12-15 16:10 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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.