https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/cereal-1.3.2-r1 fails to compile. Discovered on: amd64 (internal ref: ci)
Created attachment 767358 [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: unittests/CMakeFiles/test_array_32.dir/array.cpp.o FAILED: unittests/CMakeFiles/test_array.dir/array.cpp.o FAILED: unittests/CMakeFiles/test_atomic_32.dir/atomic.cpp.o FAILED: unittests/CMakeFiles/test_atomic.dir/atomic.cpp.o FAILED: unittests/CMakeFiles/test_basic_string_32.dir/basic_string.cpp.o FAILED: unittests/CMakeFiles/test_basic_string.dir/basic_string.cpp.o FAILED: unittests/CMakeFiles/test_bitset_32.dir/bitset.cpp.o FAILED: unittests/CMakeFiles/test_bitset.dir/bitset.cpp.o FAILED: unittests/CMakeFiles/test_chrono_32.dir/chrono.cpp.o FAILED: unittests/CMakeFiles/test_chrono.dir/chrono.cpp.o FAILED: unittests/CMakeFiles/test_complex_32.dir/complex.cpp.o FAILED: unittests/CMakeFiles/test_complex.dir/complex.cpp.o FAILED: unittests/CMakeFiles/test_defer_32.dir/defer.cpp.o FAILED: unittests/CMakeFiles/test_defer.dir/defer.cpp.o FAILED: unittests/CMakeFiles/test_deque_32.dir/deque.cpp.o FAILED: unittests/CMakeFiles/test_deque.dir/deque.cpp.o FAILED: unittests/CMakeFiles/test_forward_list_32.dir/forward_list.cpp.o FAILED: unittests/CMakeFiles/test_forward_list.dir/forward_list.cpp.o FAILED: unittests/CMakeFiles/test_list_32.dir/list.cpp.o FAILED: unittests/CMakeFiles/test_list.dir/list.cpp.o FAILED: unittests/CMakeFiles/test_load_construct_32.dir/load_construct.cpp.o FAILED: unittests/CMakeFiles/test_load_construct.dir/load_construct.cpp.o FAILED: unittests/CMakeFiles/test_map_32.dir/map.cpp.o FAILED: unittests/CMakeFiles/test_map.dir/map.cpp.o FAILED: unittests/CMakeFiles/test_memory_32.dir/memory.cpp.o FAILED: unittests/CMakeFiles/test_memory_cycles_32.dir/memory_cycles.cpp.o FAILED: unittests/CMakeFiles/test_memory_cycles.dir/memory_cycles.cpp.o FAILED: unittests/CMakeFiles/test_memory.dir/memory.cpp.o FAILED: unittests/CMakeFiles/test_multimap_32.dir/multimap.cpp.o FAILED: unittests/CMakeFiles/test_multimap.dir/multimap.cpp.o FAILED: unittests/CMakeFiles/test_multiset_32.dir/multiset.cpp.o FAILED: unittests/CMakeFiles/test_multiset.dir/multiset.cpp.o FAILED: unittests/CMakeFiles/test_pair_32.dir/pair.cpp.o FAILED: unittests/CMakeFiles/test_pair.dir/pair.cpp.o FAILED: unittests/CMakeFiles/test_pod_32.dir/pod.cpp.o FAILED: unittests/CMakeFiles/test_pod.dir/pod.cpp.o FAILED: unittests/CMakeFiles/test_polymorphic_32.dir/polymorphic.cpp.o FAILED: unittests/CMakeFiles/test_polymorphic.dir/polymorphic.cpp.o FAILED: unittests/CMakeFiles/test_portable_binary_archive_32.dir/portable_binary_archive.cpp.o FAILED: unittests/CMakeFiles/test_portable_binary_archive.dir/portable_binary_archive.cpp.o FAILED: unittests/CMakeFiles/test_priority_queue_32.dir/priority_queue.cpp.o FAILED: unittests/CMakeFiles/test_priority_queue.dir/priority_queue.cpp.o FAILED: unittests/CMakeFiles/test_queue_32.dir/queue.cpp.o FAILED: unittests/CMakeFiles/test_queue.dir/queue.cpp.o /var/tmp/portage/dev-libs/cereal-1.3.2-r1/work/cereal-1.3.2/include/cereal/archives/json.hpp:64:10: fatal error: cereal/external/rapidjson/prettywriter.h: No such file or directory /var/tmp/portage/dev-libs/cereal-1.3.2-r1/work/cereal-1.3.2/include/cereal/archives/json.hpp:64:10: fatal error: cereal/external/rapidjson/prettywriter.h: No such file or directory
it seems also compile tests in src_compile
I found the same problem in my gentoo, everything is fine when i emerge cereal-1.3.2, i think this issue is related with dev-libs/rapidjson that seems there is a new version upstream.
(In reply to Maurizio Contu from comment #4) > I found the same problem in my gentoo, everything is fine when i emerge > cereal-1.3.2, i think this issue is related with dev-libs/rapidjson that > seems there is a new version upstream. It's related to the broken unbundling of the rapidjson version used by cereal (#792444). I posted a patch on that there bug and it builds fine.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af5cbae5cf6d46de63c25e7d0fdf03b2fb1fc402 commit af5cbae5cf6d46de63c25e7d0fdf03b2fb1fc402 Author: Matthew Smith <matthew@gentoo.org> AuthorDate: 2022-04-03 08:51:03 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2022-04-03 08:52:11 +0000 dev-libs/cereal: include system rapidjson Fixes build and tests. Also fix tests on nomultilib systems by disabling one of them. rapidxml still needs to be unbundled. Closes: https://bugs.gentoo.org/835614 Bug: https://bugs.gentoo.org/792444 Signed-off-by: Matthew Smith <matthew@gentoo.org> dev-libs/cereal/{cereal-1.3.2-r1.ebuild => cereal-1.3.2-r2.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+)