https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/bpftool-6.0.12 adds -Werror flag on its own. Discovered on: amd64 (internal ref: ci) NOTE: -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 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.
*** Bug 920814 has been marked as a duplicate of this bug. ***
ci has reproduced this issue with version 6.7.6 - Updating summary.
This was easier than expected, so I made a PR for 6.6.x and 6.7.x.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24220478c1224c5491223df28b8af6d58358d3e8 commit 24220478c1224c5491223df28b8af6d58358d3e8 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2024-02-24 18:22:02 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2024-02-24 19:24:51 +0000 dev-util/bpftool: remove -Werror Closes: https://bugs.gentoo.org/887981 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-util/bpftool/bpftool-6.6.8.ebuild | 3 +++ dev-util/bpftool/bpftool-6.7.6.ebuild | 3 +++ 2 files changed, 6 insertions(+)