Issue: dev-libs/igraph-0.10.4 adds -Werror flag on its own (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
-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 851980 [details]
build log and emerge --info
This can be disabled by passing -DIGRAPH_WARNINGS_AS_ERRORS=OFF. You will find detailed documentation aimed at packagers here: https://igraph.org/c/html/latest/igraph-Installation.html
That said, if you encounter an actual breakage related to this flag (e.g. a new compiler version issuing a new warning), please do report this at https://github.com/igraph/igraph/issues (after checking that it's not already fixed in the latest released version). We do test with new GCC and Clang releases.