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

Bug 887981

Summary: dev-util/bpftool-6.1.7 adds -Werror flag on its own
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Jakov Smolić <jsmolic>
Status: CONFIRMED ---    
Severity: normal CC: esigra, holger
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 260867    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-22 14:54:40 UTC

Issue: dev-util/bpftool-6.0.12 adds -Werror flag on its own.
Discovered on: amd64 (internal ref: ci)

-Werror is not recommended for releases and should always be disabled when encountered in build-logs, because there are numerous cases where this breaks without purpose.
See also:
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-22 14:54:42 UTC
Created attachment 844725 [details]

build log and emerge --info
Comment 2 Holger Hoffstätte 2023-01-13 11:31:58 UTC
Unfortunately it seems that this is common for all kernel tools, they all have -Werror sprinkled all over the place, often multiple times.
Comment 3 Agostino Sarubbo gentoo-dev 2023-01-25 07:11:33 UTC
ci has reproduced this issue with version 6.1.7 - Updating summary.