Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895066 - dev-libs/igraph-0.10.4 adds -Werror flag on its own (MUSL-CLANG-SYSTEM)
Summary: dev-libs/igraph-0.10.4 adds -Werror flag on its own (MUSL-CLANG-SYSTEM)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Biology related packages
Depends on:
Blocks: werror
  Show dependency tree
Reported: 2023-02-17 08:57 UTC by Agostino Sarubbo
Modified: 2023-02-24 14:47 UTC (History)
2 users (show)

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

build.log (build.log,440.15 KB, text/plain)
2023-02-17 08:57 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 2023-02-17 08:57:48 UTC

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:
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-17 08:57:50 UTC
Created attachment 851980 [details]

build log and emerge --info
Comment 2 Szabolcs Horvát 2023-02-24 14:47:19 UTC
This can be disabled by passing -DIGRAPH_WARNINGS_AS_ERRORS=OFF. You will find detailed documentation aimed at packagers here:

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 (after checking that it's not already fixed in the latest released version). We do test with new GCC and Clang releases.