https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/crc32c-1.0.6 uses -Werror for build. 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 NOTE: If you want to change the summary, to avoid auto-filed duplicates, please at least keep the word '-Werror'
The flag is added in the CMakeLists.txt file, in a separate step. So we can remove the flag using: sed -e '/-Werror/d' -i CMakeLists.txt
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9 commit 7b5f5bec1046b618a945eb0ead4d4e4b44cb3bd9 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2021-09-05 16:33:46 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2021-09-05 16:40:18 +0000 dev-libs/crc32c: move to cmake.eclass, fix Werror Closes: https://bugs.gentoo.org/744658 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-libs/crc32c/crc32c-1.0.6.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)