https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/crc32c-1.1.2-r1 fails to compile (HARDENED-SYSTEM). Discovered on: amd64 (internal ref: hardened_tinderbox) NOTE: (HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Created attachment 849956 [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: FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_arm64_unittest.cc.o FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_portable_unittest.cc.o FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_read_le_unittest.cc.o FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_round_up_unittest.cc.o FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_sse42_unittest.cc.o FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_test_main.cc.o FAILED: CMakeFiles/crc32c_tests.dir/src/crc32c_unittest.cc.o /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71faa99a9c06babb9def382a9fa2d4a08149f15 commit f71faa99a9c06babb9def382a9fa2d4a08149f15 Author: Peter Levine <plevine457@gmail.com> AuthorDate: 2023-02-08 02:10:56 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2023-02-09 15:13:34 +0000 dev-libs/crc32c: fix building against dev-cpp/gtest-1.13.0 Closes: https://bugs.gentoo.org/893346 Closes: https://github.com/gentoo/gentoo/pull/29475 Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-libs/crc32c/crc32c-1.1.2-r2.ebuild | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+)