Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887981 - dev-util/bpftool-6.1.7 adds -Werror flag on its own
Summary: dev-util/bpftool-6.1.7 adds -Werror flag on its own
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
Depends on:
Blocks: werror
  Show dependency tree
Reported: 2022-12-22 14:54 UTC by Agostino Sarubbo
Modified: 2023-01-25 07:11 UTC (History)
2 users (show)

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

build.log (build.log,107.87 KB, text/plain)
2022-12-22 14:54 UTC, Agostino Sarubbo

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