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: https://devmanual.gentoo.org/ebuild-writing/common-mistakes/index.html.
Created attachment 844725 [details]
build log and emerge --info
Unfortunately it seems that this is common for all kernel tools, they all have -Werror sprinkled all over the place, often multiple times.
ci has reproduced this issue with version 6.1.7 - Updating summary.