https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-cpp/valijson-0.6 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 800633 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Could not find a package configuration file provided by "Qt5Core" with any -- Could NOT find Boost (missing: Boost_INCLUDE_DIR) FAILED: CMakeFiles/test_suite.dir/tests/test_adapter_comparison.cpp.o FAILED: CMakeFiles/test_suite.dir/tests/test_validator.cpp.o /var/tmp/portage/dev-cpp/valijson-0.6/work/valijson-0.6/thirdparty/picojson-1.3.0/picojson.h:249:10: error: ‘<unnamed>.picojson::value::u_’ may be used uninitialized [-Werror=maybe-uninitialized]
Probably gcc-12 related.
Works with gcc-11.x and clang-14. :(
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc6c155957fceb4367db5a76aa9c5ca91334347 commit 3cc6c155957fceb4367db5a76aa9c5ca91334347 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2022-08-23 17:27:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-23 18:56:54 +0000 dev-cpp/valijson: bump to 0.7 & fix test compilation with gcc12 Bug: https://bugs.gentoo.org/866153 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/26988 Signed-off-by: Sam James <sam@gentoo.org> dev-cpp/valijson/Manifest | 2 +- dev-cpp/valijson/{valijson-0.6.ebuild => valijson-0.7.ebuild} | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-)