https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/harec-0_pre20220624 fails to compile. Discovered on: amd64 (internal ref: guru_ci)
Created attachment 787469 [details] build.log build log and emerge --info
Created attachment 788510 [details, diff] Fix compilation error from uninitialized variable I believe this is due to using optimizing compiler flags as it doesn't happen with the default flags from upstream but does when building with emerge. I was able to fix it with a simple patch assign NULL to the variable "flag" in the default label of the switch in the "check_function" function. I don't think this should change any behaviour of the code since the variable was uninitialized in that case anyway.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2a1cda96e2a7d809d6b3ec53cf6312aeb2e394f commit d2a1cda96e2a7d809d6b3ec53cf6312aeb2e394f Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> AuthorDate: 2022-06-27 02:55:30 +0000 Commit: Haelwenn (lanodan) Monnier <contact@hacktivis.me> CommitDate: 2022-06-27 02:56:24 +0000 dev-lang/harec: Remove -Werror Closes: https://bugs.gentoo.org/854162 Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> dev-lang/harec/harec-0_pre20220624.ebuild | 6 ++++++ dev-lang/harec/harec-9999.ebuild | 6 ++++++ 2 files changed, 12 insertions(+)