guix-science / guix-science-nonfree

Non-free scientific packages for GNU Guix.
16 stars 12 forks source link

python-jax not building. #28

Closed atu0gard closed 1 month ago

atu0gard commented 2 months ago

I get the following error when trying to install python-jax:


...
[ 84%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/csharp/csharp_generator_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/csharp/csharp_generator_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/csharp/csharp_generator_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/csharp/csharp_generator_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/csharp/csharp_generator_unittest.cc
[ 85%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/importer_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/importer_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/importer_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/importer_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/importer_unittest.cc
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc: In member function ‘virtual void google::protobuf::compiler::{anonymous}::CommandLineInterfaceTest_WriteTransitiveDescriptorSet_Test::TestBody()’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:1646:58: warning: ‘Element** google::protobuf::RepeatedPtrField<T>::mutable_data() [with Element = google::protobuf::FileDescriptorProto]’ is deprecated: Use APIs in repeated_field_util.h [-Wdeprecated-declarations]
 1646 |     std::swap(descriptor_set.mutable_file()->mutable_data()[0],
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_field.h:60,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/implicit_weak_message.h:39,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_util.h:54,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/any.pb.h:26,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:52:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_ptr_field.h:1440:18: note: declared here
 1440 | inline Element** RepeatedPtrField<Element>::mutable_data() {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:1647:58: warning: ‘Element** google::protobuf::RepeatedPtrField<T>::mutable_data() [with Element = google::protobuf::FileDescriptorProto]’ is deprecated: Use APIs in repeated_field_util.h [-Wdeprecated-declarations]
 1647 |               descriptor_set.mutable_file()->mutable_data()[1]);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_field.h:60,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/implicit_weak_message.h:39,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_util.h:54,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/any.pb.h:26,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:52:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_ptr_field.h:1440:18: note: declared here
 1440 | inline Element** RepeatedPtrField<Element>::mutable_data() {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc: In member function ‘virtual void google::protobuf::compiler::{anonymous}::CommandLineInterfaceTest_WriteTransitiveDescriptorSetWithSourceInfo_Test::TestBody()’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:1677:58: warning: ‘Element** google::protobuf::RepeatedPtrField<T>::mutable_data() [with Element = google::protobuf::FileDescriptorProto]’ is deprecated: Use APIs in repeated_field_util.h [-Wdeprecated-declarations]
 1677 |     std::swap(descriptor_set.mutable_file()->mutable_data()[0],
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_field.h:60,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/implicit_weak_message.h:39,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_util.h:54,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/any.pb.h:26,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:52:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_ptr_field.h:1440:18: note: declared here
 1440 | inline Element** RepeatedPtrField<Element>::mutable_data() {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:1678:58: warning: ‘Element** google::protobuf::RepeatedPtrField<T>::mutable_data() [with Element = google::protobuf::FileDescriptorProto]’ is deprecated: Use APIs in repeated_field_util.h [-Wdeprecated-declarations]
 1678 |               descriptor_set.mutable_file()->mutable_data()[1]);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_field.h:60,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/implicit_weak_message.h:39,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_util.h:54,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/any.pb.h:26,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/command_line_interface_unittest.cc:52:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_ptr_field.h:1440:18: note: declared here
 1440 | inline Element** RepeatedPtrField<Element>::mutable_data() {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
[ 85%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/java/doc_comment_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/java/doc_comment_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/java/doc_comment_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/java/doc_comment_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/java/doc_comment_unittest.cc
[ 85%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/java/plugin_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/java/plugin_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/java/plugin_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/java/plugin_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/java/plugin_unittest.cc
[ 85%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc
[ 86%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/parser_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/parser_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/parser_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/parser_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser_unittest.cc
[ 86%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/python/plugin_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/python/plugin_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/python/plugin_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/python/plugin_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/python/plugin_unittest.cc
[ 86%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc
[ 86%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/descriptor_database_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/descriptor_database_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/descriptor_database_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/descriptor_database_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/descriptor_database_unittest.cc
[ 87%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/descriptor_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/descriptor_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/descriptor_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/descriptor_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/descriptor_unittest.cc
[ 87%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/drop_unknown_fields_test.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/drop_unknown_fields_test.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/drop_unknown_fields_test.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/drop_unknown_fields_test.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/drop_unknown_fields_test.cc
[ 87%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/dynamic_message_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/dynamic_message_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/dynamic_message_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/dynamic_message_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/dynamic_message_unittest.cc
[ 87%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/extension_set_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/extension_set_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/extension_set_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/extension_set_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/extension_set_unittest.cc
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser_unittest.cc: In function ‘void google::protobuf::compiler::{anonymous}::SortMessages(google::protobuf::DescriptorProto*)’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser_unittest.cc:2169:60: warning: ‘Element** google::protobuf::RepeatedPtrField<T>::mutable_data() [with Element = google::protobuf::DescriptorProto]’ is deprecated: Use APIs in repeated_field_util.h [-Wdeprecated-declarations]
 2169 |       descriptor_proto->mutable_nested_type()->mutable_data();
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_field.h:60,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/implicit_weak_message.h:39,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_util.h:54,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/descriptor.pb.h:26,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser.h:46,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser_unittest.cc:35:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_ptr_field.h:1440:18: note: declared here
 1440 | inline Element** RepeatedPtrField<Element>::mutable_data() {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser_unittest.cc: In function ‘void google::protobuf::compiler::{anonymous}::SortMessages(google::protobuf::FileDescriptorProto*)’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser_unittest.cc:2181:66: warning: ‘Element** google::protobuf::RepeatedPtrField<T>::mutable_data() [with Element = google::protobuf::DescriptorProto]’ is deprecated: Use APIs in repeated_field_util.h [-Wdeprecated-declarations]
 2181 |       file_descriptor_proto->mutable_message_type()->mutable_data();
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_field.h:60,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/implicit_weak_message.h:39,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_util.h:54,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/descriptor.pb.h:26,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser.h:46,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/compiler/parser_unittest.cc:35:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/repeated_ptr_field.h:1440:18: note: declared here
 1440 | inline Element** RepeatedPtrField<Element>::mutable_data() {
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
[ 88%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/generated_message_reflection_unittest.cc.o
[ 88%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/generated_message_tctable_lite_test.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/generated_message_reflection_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/generated_message_reflection_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/generated_message_reflection_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_reflection_unittest.cc
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/generated_message_tctable_lite_test.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/generated_message_tctable_lite_test.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/generated_message_tctable_lite_test.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/generated_message_tctable_lite_test.cc
[ 88%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/inlined_string_field_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/inlined_string_field_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/inlined_string_field_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/inlined_string_field_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/inlined_string_field_unittest.cc
[ 88%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/io/coded_stream_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/io/coded_stream_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/io/coded_stream_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/io/coded_stream_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/io/coded_stream_unittest.cc
[ 89%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/io/io_win32_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/io/io_win32_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/io/io_win32_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/io/io_win32_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/io/io_win32_unittest.cc
[ 89%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/io/printer_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/io/printer_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/io/printer_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/io/printer_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/io/printer_unittest.cc
[ 89%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/io/tokenizer_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/io/tokenizer_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/io/tokenizer_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/io/tokenizer_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/io/tokenizer_unittest.cc
[ 89%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/io/zero_copy_stream_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/io/zero_copy_stream_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/io/zero_copy_stream_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/io/zero_copy_stream_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/io/zero_copy_stream_unittest.cc
[ 90%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/map_field_test.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/map_field_test.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/map_field_test.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/map_field_test.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_field_test.cc
[ 90%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/map_test.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/map_test.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/map_test.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/map_test.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc
[ 90%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/message_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/message_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/message_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/message_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message_unittest.cc
[ 90%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/no_field_presence_test.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/no_field_presence_test.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/no_field_presence_test.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/no_field_presence_test.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/no_field_presence_test.cc
[ 91%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/preserve_unknown_enum_test.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/preserve_unknown_enum_test.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/preserve_unknown_enum_test.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/preserve_unknown_enum_test.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/preserve_unknown_enum_test.cc
[ 91%] Building CXX object CMakeFiles/tests.dir/src/google/protobuf/proto3_arena_lite_unittest.cc.o
/gnu/store/86fc8bi3mciljxz7c79jx8zr4wsx7xw8-gcc-11.4.0/bin/c++ -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DHAVE_ZLIB -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/build -I/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src -O2 -g -DNDEBUG -DGOOGLE_PROTOBUF_TEST_PLUGIN_PATH=\"/tmp/guix-build-protobuf-static-3.21.9.drv-0/build/test_plugin\" -std=c++14 -MD -MT CMakeFiles/tests.dir/src/google/protobuf/proto3_arena_lite_unittest.cc.o -MF CMakeFiles/tests.dir/src/google/protobuf/proto3_arena_lite_unittest.cc.o.d -o CMakeFiles/tests.dir/src/google/protobuf/proto3_arena_lite_unittest.cc.o -c /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/proto3_arena_lite_unittest.cc
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [CMakeFiles/tests.dir/build.make:387: CMakeFiles/tests.dir/src/google/protobuf/descriptor_unittest.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc: In member function ‘virtual void google::protobuf::internal::{anonymous}::MapFieldReflectionTest_RegularFields_Test::TestBody()’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1467:41: warning: ‘const google::protobuf::RepeatedPtrField<Element>& google::protobuf::Reflection::GetRepeatedPtrField(const google::protobuf::Message&, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1467 |       refl->GetRepeatedPtrField<Message>(message, fd_map_int32_int32);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:875:30: note: declared here
  875 |   const RepeatedPtrField<T>& GetRepeatedPtrField(
      |                              ^~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1469:41: warning: ‘const google::protobuf::RepeatedPtrField<Element>& google::protobuf::Reflection::GetRepeatedPtrField(const google::protobuf::Message&, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1469 |       refl->GetRepeatedPtrField<Message>(message, fd_map_int32_double);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:875:30: note: declared here
  875 |   const RepeatedPtrField<T>& GetRepeatedPtrField(
      |                              ^~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1471:41: warning: ‘const google::protobuf::RepeatedPtrField<Element>& google::protobuf::Reflection::GetRepeatedPtrField(const google::protobuf::Message&, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1471 |       refl->GetRepeatedPtrField<Message>(message, fd_map_string_string);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:875:30: note: declared here
  875 |   const RepeatedPtrField<T>& GetRepeatedPtrField(
      |                              ^~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1473:41: warning: ‘const google::protobuf::RepeatedPtrField<Element>& google::protobuf::Reflection::GetRepeatedPtrField(const google::protobuf::Message&, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1473 |       refl->GetRepeatedPtrField<Message>(message, fd_map_int32_foreign_message);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:875:30: note: declared here
  875 |   const RepeatedPtrField<T>& GetRepeatedPtrField(
      |                              ^~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1477:45: warning: ‘google::protobuf::RepeatedPtrField<Element>* google::protobuf::Reflection::MutableRepeatedPtrField(google::protobuf::Message*, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetMutableRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1477 |       refl->MutableRepeatedPtrField<Message>(&message, fd_map_int32_int32);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:886:24: note: declared here
  886 |   RepeatedPtrField<T>* MutableRepeatedPtrField(Message* msg,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1479:45: warning: ‘google::protobuf::RepeatedPtrField<Element>* google::protobuf::Reflection::MutableRepeatedPtrField(google::protobuf::Message*, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetMutableRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1479 |       refl->MutableRepeatedPtrField<Message>(&message, fd_map_int32_double);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:886:24: note: declared here
  886 |   RepeatedPtrField<T>* MutableRepeatedPtrField(Message* msg,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1481:45: warning: ‘google::protobuf::RepeatedPtrField<Element>* google::protobuf::Reflection::MutableRepeatedPtrField(google::protobuf::Message*, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetMutableRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1481 |       refl->MutableRepeatedPtrField<Message>(&message, fd_map_string_string);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:886:24: note: declared here
  886 |   RepeatedPtrField<T>* MutableRepeatedPtrField(Message* msg,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:1483:45: warning: ‘google::protobuf::RepeatedPtrField<Element>* google::protobuf::Reflection::MutableRepeatedPtrField(google::protobuf::Message*, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetMutableRepeatedFieldRef() instead [-Wdeprecated-declarations]
 1483 |       refl->MutableRepeatedPtrField<Message>(&message,
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
 1484 |                                              fd_map_int32_foreign_message);
      |                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:886:24: note: declared here
  886 |   RepeatedPtrField<T>* MutableRepeatedPtrField(Message* msg,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gtest/gtest.h:67,
                 from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gmock/internal/gmock-internal-utils.h:50,
                 from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gmock/gmock-actions.h:145,
                 from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gmock/gmock.h:56,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/testing/googletest.h:41,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/test_util2.h:36,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:34:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc: In member function ‘virtual void google::protobuf::internal::{anonymous}::MapEntryTest_ConstInit_Test::TestBody()’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:2300:28: warning: ‘int google::protobuf::Message::SpaceUsed() const’ is deprecated: Please use SpaceUsedLong() instead [-Wdeprecated-declarations]
 2300 |   EXPECT_NE(entry.SpaceUsed(), 0);
      |             ~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:304:7: note: declared here
  304 |   int SpaceUsed() const { return internal::ToIntSize(SpaceUsedLong()); }
      |       ^~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc: In member function ‘virtual void google::protobuf::internal::{anonymous}::GeneratedMapFieldTest_SpaceUsed_Test::TestBody()’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:2882:47: warning: ‘int google::protobuf::Message::SpaceUsed() const’ is deprecated: Please use SpaceUsedLong() instead [-Wdeprecated-declarations]
 2882 |   const size_t initial = map_message.SpaceUsed();
      |                          ~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:304:7: note: declared here
  304 |   int SpaceUsed() const { return internal::ToIntSize(SpaceUsedLong()); }
      |       ^~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:2883:71: warning: ‘int google::protobuf::Message::SpaceUsed() const’ is deprecated: Please use SpaceUsedLong() instead [-Wdeprecated-declarations]
 2883 |   const size_t space_used_message = UNITTEST::TestRequired().SpaceUsed();
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:304:7: note: declared here
  304 |   int SpaceUsed() const { return internal::ToIntSize(SpaceUsedLong()); }
      |       ^~~~~~~~~
In file included from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gtest/gtest.h:67,
                 from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gmock/internal/gmock-internal-utils.h:50,
                 from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gmock/gmock-actions.h:145,
                 from /gnu/store/lgaj8pv3362pwkacq2df7cby4l56px4h-googletest-1.12.1/include/gmock/gmock.h:56,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/testing/googletest.h:41,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/test_util2.h:36,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:34:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:2898:47: warning: ‘int google::protobuf::Message::SpaceUsed() const’ is deprecated: Please use SpaceUsedLong() instead [-Wdeprecated-declarations]
 2898 |   EXPECT_LE(lower_bound, map_message.SpaceUsed());
      |                          ~~~~~~~~~~~~~~~~~~~~~^~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:304:7: note: declared here
  304 |   int SpaceUsed() const { return internal::ToIntSize(SpaceUsedLong()); }
      |       ^~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:46:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc: In member function ‘virtual void google::protobuf::internal::{anonymous}::TextFormatMapTest_NoDisableReflectionIterator_Test::TestBody()’:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.inc:3885:51: warning: ‘google::protobuf::RepeatedPtrField<Element>* google::protobuf::Reflection::MutableRepeatedPtrField(google::protobuf::Message*, const google::protobuf::FieldDescriptor*) const [with T = google::protobuf::Message]’ is deprecated: Please use GetMutableRepeatedFieldRef() instead [-Wdeprecated-declarations]
 3885 |       reflection->MutableRepeatedPtrField<Message>(&source, field_desc);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_proto2_unittest.pb.h:29,
                 from /tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/map_test.cc:31:
/tmp/guix-build-protobuf-static-3.21.9.drv-0/protobuf-3.21.9/src/google/protobuf/message.h:886:24: note: declared here
  886 |   RepeatedPtrField<T>* MutableRepeatedPtrField(Message* msg,
      |                        ^~~~~~~~~~~~~~~~~~~~~~~
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [CMakeFiles/tests.dir/build.make:233: CMakeFiles/tests.dir/src/google/protobuf/compiler/cpp/unittest.cc.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-protobuf-static-3.21.9.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:268: CMakeFiles/tests.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-protobuf-static-3.21.9.drv-0/build'
make: *** [Makefile:149: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "12") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 1338.5 seconds
command "make" "-j" "12" failed with status 2
build process 14 exited with status 256
rekado commented 2 months ago

c++: fatal error: Killed signal terminated program cc1plus

You may have run out of resources while compiling.

atu0gard commented 1 month ago

Ah, that makes sense. Okay, I think it would compile with -j4 instead of -j12, but that may be wrong. Okay, I will try with substitutes. Thank you.