When running `nix-build . -A spectrumPackages.spectrum-vm` with these two patches applied, vm_protos fails to build:
[23/52] ACTION //vm_tools/proto:fuzzer-protos_gen(//common-mk/toolchain:toolchain) /usr/share/proto: warning: directory does not exist. [26/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libfuzzer-protos.fuzzer.grpc.pb.o FAILED: obj/out/Release/gen/include/vm_protos/proto_bindings/libfuzzer-protos.fuzzer.grpc.pb.o c++ -MMD -MF obj/out/Release/gen/include/vm_protos/proto_bindings/libfuzzer-protos.fuzzer.grpc.pb.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Igen/include -I../../common-mk -I/usr/include -Igen -Igen -Igen -Igen -Wall -Wunused -Wno-unused-parameter -Wunreachable-code -ggdb3 -fstack-protector-strong -Wformat=2 -fvisibility=internal -Wa,--noexecstack -Wimplicit-fallthrough -Werror --sysroot= -fPIE -fvisibility=default -pthread -I/nix/store/pjl2q3lny3c18ypqjcv0q3akyq89hg2i-grpc-1.28.1/include -I/nix/store/hya0y6slws66h99njc2yiz02irfv4n62-openssl-1.1.1g-dev/include -I/nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include -pthread -I/nix/store/pjl2q3lny3c18ypqjcv0q3akyq89hg2i-grpc-1.28.1/include -I/nix/store/hya0y6slws66h99njc2yiz02irfv4n62-openssl-1.1.1g-dev/include -I/nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include -Wno-unreachable-code -std=gnu++14 -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-psabi -c gen/include/vm_protos/proto_bindings/fuzzer.grpc.pb.cc -o obj/out/Release/gen/include/vm_protos/proto_bindings/libfuzzer-protos.fuzzer.grpc.pb.o In file included from gen/include/vm_protos/proto_bindings/fuzzer.grpc.pb.cc:5: gen/include/vm_protos/proto_bindings/fuzzer.pb.h:38:10: fatal error: vm_crash.pb.h: No such file or directory 38 | #include "vm_crash.pb.h" | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. builder for '/nix/store/8asskz117p1nhirxaa4pwa0caayxg6c5-vm_protos-83.13020.0.0-rc1.drv' failed with exit code 1
That's interesting -- I can't reproduce this:
$ NIX_PATH= nix-build -A chromiumOSPackages.vm_protos /nix/store/2dn0l8bb33ww5fcg09n30c3fpag6lc39-vm_protos-83.13020.0.0-rc1
I notice that our outPaths for vm_protos are different. What commit are did you apply the patches onto? (For me cfa1e27fdfb.) Do you have some global overlay that could be changing things (try with NIX_PATH= as above to make sure)?
Actually, I now notice that I was comparing my outPath to your drv path. So never mind. We do indeed have the same derivation: $ NIX_PATH= nix-instantiate -A chromiumOSPackages.vm_protos warning: you did not specify '--add-root'; the result might be removed by the garbage collector /nix/store/8asskz117p1nhirxaa4pwa0caayxg6c5-vm_protos-83.13020.0.0-rc1.drv I tried deleting it and rebuilding, and it worked again for me. I'm not really sure what could be going on here. Is it a hardware difference? What sort of processor do you have? I've built this once on an AMD EPYC 7401P, and once on an Intel Core i5-2520M. Any other ideas? Build log: $ NIX_PATH= nix-build -A chromiumOSPackages.vm_protos these derivations will be built: /nix/store/8asskz117p1nhirxaa4pwa0caayxg6c5-vm_protos-83.13020.0.0-rc1.drv building '/nix/store/8asskz117p1nhirxaa4pwa0caayxg6c5-vm_protos-83.13020.0.0-rc1.drv'... unpacking sources unpacking source archive /nix/store/5mlr9rh8m9br9g5qlc2yr6xms49avvmi-platform2 source root is platform2 setting SOURCE_DATE_EPOCH to timestamp 1576011860 of file platform2/diagnostics/grpc/wilco_dtc.proto patching sources /build/platform2/vm_tools/proto /build/platform2 /build/platform2 applying patch /nix/store/xa4s2mxhx1s0ls3gvvcm88h12s67qm14-0001-common-mk-don-t-leak-source-absolute-paths.patch patching file common-mk/external_dependencies/BUILD.gn patching file common-mk/pkg_config.gni patching file common-mk/proto_library.gni applying patch /nix/store/p4wqm2h8f7qxdrs3609n44432cwv0hi6-0002-common-mk-.gn-don-t-hardcode-env-path.patch patching file .gn patching script interpreter paths in common-mk common-mk/platform2_unittest.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/file_generator_wrapper.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/generate_pc_file.sh: interpreter directive changed from "/bin/bash" to "/nix/store/81wybawvkr95c7j8gj5ab3y740mq1fli-bash-4.4-p23/bin/bash" common-mk/pkg-config_wrapper.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/platform2.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/mojom_bindings_generator_wrapper.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/gnlint_unittest.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/check-owners.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/check-readme.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/write_args.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/ebuild_function_unittest.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/example/run_tests.sh: interpreter directive changed from "/bin/bash" to "/nix/store/81wybawvkr95c7j8gj5ab3y740mq1fli-bash-4.4-p23/bin/bash" common-mk/generate-pc.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/args_generator_wrapper.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/ebuild_function.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/arg_prefix_filter_wrapper.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/gnlint.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" common-mk/platform2_test.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/2dcsn57cgaxs92ha5swihrab0g3l2h6g-python3-3.7.7/bin/python3" configuring gn flags: ar="ar" cc="cc" cxx="c++" libdir="/nix/store/2dn0l8bb33ww5fcg09n30c3fpag6lc39-vm_protos-83.13020.0.0-rc1" pkg_config="pkg-config" platform2_root="." platform_subdir="vm_tools/proto" use={amd64=true arm=false asan=false coverage=false cros_host=false crypto=false dbus=false device_mapper=false fuzzer=false mojo=false profiling=false tcmalloc=false test=false timers=false udev=false} Done. Made 18 targets from 9 files in 423ms building build flags: -j4 -l4 [1/52] ACTION //vm_tools/proto:common-protos_gen(//common-mk/toolchain:toolchain) /usr/share/proto: warning: directory does not exist. [3/52] ACTION //vm_tools/proto:tremplin-rpcs_gen(//common-mk/toolchain:toolchain)mon.grpc.pb.o /usr/share/proto: warning: directory does not exist. [4/52] ACTION //vm_tools/proto:vm-gorpcs(//common-mk/toolchain:toolchain)otos.common.pb.o /usr/share/proto: warning: directory does not exist. [6/52] ACTION //vm_tools/proto:tremplin-gorpcs(//common-mk/toolchain:toolchain)remplin.grpc.pb.o /usr/share/proto: warning: directory does not exist. [10/52] ACTION //vm_tools/proto:vsh-protos_gen(//common-mk/toolchain:toolchain)ommon.pb.o[K /usr/share/proto: warning: directory does not exist. [15/52] ACTION //vm_tools/proto:container-rpcs_gen(//common-mk/toolchain:toolchain)on.grpc.pb.o /usr/share/proto: warning: directory does not exist. [16/52] ACTION //vm_tools/proto:container-rpcs_gen(//common-mk/toolchain:toolchain) /usr/share/proto: warning: directory does not exist. [19/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libvsh-protos.vsh.pb.oer_guest.grpc.pb.o In file included from /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/string.h:494, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/port.h:38, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/common.h:46, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/io/coded_stream.h:135, from gen/include/vm_protos/proto_bindings/vsh.pb.h:23, from gen/include/vm_protos/proto_bindings/vsh.pb.cc:4: In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::vsh::ConnectionStatusMessage::SharedCtor()' at gen/include/vm_protos/proto_bindings/vsh.pb.cc:1225:11, inlined from 'vm_tools::vsh::ConnectionStatusMessage::ConnectionStatusMessage()' at gen/include/vm_protos/proto_bindings/vsh.pb.cc:1197:13, inlined from 'void InitDefaultsscc_info_ConnectionStatusMessage_vsh_2eproto()' at gen/include/vm_protos/proto_bindings/vsh.pb.cc:66:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [29, 32] from the object at 'vm_tools::vsh::_ConnectionStatusMessage_default_instance_' is out of the bounds of referenced subobject 'vm_tools::vsh::ConnectionStatusMessage::status_' with type 'int' at offset 24 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [20/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libcontainer-rpcs.container_guest.pb.o In file included from /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/string.h:494, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/port.h:38, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/common.h:46, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/io/coded_stream.h:135, from gen/include/vm_protos/proto_bindings/container_guest.pb.h:23, from gen/include/vm_protos/proto_bindings/container_guest.pb.cc:4: In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::container::LinuxPackageInfoResponse::SharedCtor()' at gen/include/vm_protos/proto_bindings/container_guest.pb.cc:3750:11, inlined from 'vm_tools::container::LinuxPackageInfoResponse::LinuxPackageInfoResponse()' at gen/include/vm_protos/proto_bindings/container_guest.pb.cc:3692:13, inlined from 'void InitDefaultsscc_info_LinuxPackageInfoResponse_container_5fguest_2eproto()' at gen/include/vm_protos/proto_bindings/container_guest.pb.cc:365:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset 73 from the object at 'vm_tools::container::_LinuxPackageInfoResponse_default_instance_' is out of the bounds of referenced subobject 'vm_tools::container::LinuxPackageInfoResponse::size_' with type 'long unsigned int' at offset 64 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::container::IconRequest::SharedCtor()' at gen/include/vm_protos/proto_bindings/container_guest.pb.cc:1646:11, inlined from 'vm_tools::container::IconRequest::IconRequest()' at gen/include/vm_protos/proto_bindings/container_guest.pb.cc:1622:13, inlined from 'void InitDefaultsscc_info_IconRequest_container_5fguest_2eproto()' at gen/include/vm_protos/proto_bindings/container_guest.pb.cc:238:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [45, 48] from the object at 'vm_tools::container::_IconRequest_default_instance_' is out of the bounds of referenced subobject 'vm_tools::container::IconRequest::icon_size_' with type 'int' at offset 40 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [21/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libtremplin-rpcs.tremplin.pb.ogrpc.pb.o In file included from /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/string.h:494, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/port.h:38, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/common.h:46, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/io/coded_stream.h:135, from gen/include/vm_protos/proto_bindings/tremplin.pb.h:23, from gen/include/vm_protos/proto_bindings/tremplin.pb.cc:4: In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::tremplin::ContainerExportProgress::SharedCtor()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:11290:11, inlined from 'vm_tools::tremplin::ContainerExportProgress::ContainerExportProgress()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:11256:13, inlined from 'void InitDefaultsscc_info_ContainerExportProgress_tremplin_2eproto()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:306:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [37, 80] from the object at 'vm_tools::tremplin::_ContainerExportProgress_default_instance_' is out of the bounds of referenced subobject 'vm_tools::tremplin::ContainerExportProgress::status_' with type 'int' at offset 32 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::tremplin::ContainerImportProgress::SharedCtor()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:13388:11, inlined from 'vm_tools::tremplin::ContainerImportProgress::ContainerImportProgress()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:13342:13, inlined from 'void InitDefaultsscc_info_ContainerImportProgress_tremplin_2eproto()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:320:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [53, 80] from the object at 'vm_tools::tremplin::_ContainerImportProgress_default_instance_' is out of the bounds of referenced subobject 'vm_tools::tremplin::ContainerImportProgress::status_' with type 'int' at offset 48 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::tremplin::ContainerCreationProgress::SharedCtor()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:7165:11, inlined from 'vm_tools::tremplin::ContainerCreationProgress::ContainerCreationProgress()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:7131:13, inlined from 'void InitDefaultsscc_info_ContainerCreationProgress_tremplin_2eproto()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:278:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [37, 40] from the object at 'vm_tools::tremplin::_ContainerCreationProgress_default_instance_' is out of the bounds of referenced subobject 'vm_tools::tremplin::ContainerCreationProgress::status_' with type 'int' at offset 32 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::tremplin::UpgradeContainerRequest::SharedCtor()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:15102:11, inlined from 'vm_tools::tremplin::UpgradeContainerRequest::UpgradeContainerRequest()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:15074:13, inlined from 'void InitDefaultsscc_info_UpgradeContainerRequest_tremplin_2eproto()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:742:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [29, 32] from the object at 'vm_tools::tremplin::_UpgradeContainerRequest_default_instance_' is out of the bounds of referenced subobject 'vm_tools::tremplin::UpgradeContainerRequest::source_version_' with type 'int' at offset 24 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::tremplin::GetContainerInfoResponse::SharedCtor()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:8770:11, inlined from 'vm_tools::tremplin::GetContainerInfoResponse::GetContainerInfoResponse()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:8742:13, inlined from 'void InitDefaultsscc_info_GetContainerInfoResponse_tremplin_2eproto()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:474:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [29, 32] from the object at 'vm_tools::tremplin::_GetContainerInfoResponse_default_instance_' is out of the bounds of referenced subobject 'vm_tools::tremplin::GetContainerInfoResponse::status_' with type 'int' at offset 24 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::tremplin::StartContainerResponse::SharedCtor()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:4935:11, inlined from 'vm_tools::tremplin::StartContainerResponse::StartContainerResponse()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:4904:13, inlined from 'void InitDefaultsscc_info_StartContainerResponse_tremplin_2eproto()' at gen/include/vm_protos/proto_bindings/tremplin.pb.cc:699:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 36] from the object at 'vm_tools::tremplin::_StartContainerResponse_default_instance_' is out of the bounds of referenced subobject 'vm_tools::tremplin::StartContainerResponse::os_release_' with type 'vm_tools::tremplin::OsRelease*' at offset 24 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [23/52] ACTION //vm_tools/proto:vm-crash-rpcs_gen(//common-mk/toolchain:toolchain)ntainer_guest.grpc.pb.o /usr/share/proto: warning: directory does not exist. [26/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libcontainer-rpcs.container_host.pb.o In file included from /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/string.h:494, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/port.h:38, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/common.h:46, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/io/coded_stream.h:135, from gen/include/vm_protos/proto_bindings/container_host.pb.h:23, from gen/include/vm_protos/proto_bindings/container_host.pb.cc:4: In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::container::UninstallPackageProgressInfo::SharedCtor()' at gen/include/vm_protos/proto_bindings/container_host.pb.cc:5275:11, inlined from 'vm_tools::container::UninstallPackageProgressInfo::UninstallPackageProgressInfo()' at gen/include/vm_protos/proto_bindings/container_host.pb.cc:5241:13, inlined from 'void InitDefaultsscc_info_UninstallPackageProgressInfo_container_5fhost_2eproto()' at gen/include/vm_protos/proto_bindings/container_host.pb.cc:269:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [37, 40] from the object at 'vm_tools::container::_UninstallPackageProgressInfo_default_instance_' is out of the bounds of referenced subobject 'vm_tools::container::UninstallPackageProgressInfo::status_' with type 'int' at offset 32 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::container::InstallLinuxPackageProgressInfo::SharedCtor()' at gen/include/vm_protos/proto_bindings/container_host.pb.cc:4751:11, inlined from 'vm_tools::container::InstallLinuxPackageProgressInfo::InstallLinuxPackageProgressInfo()' at gen/include/vm_protos/proto_bindings/container_host.pb.cc:4711:13, inlined from 'void InitDefaultsscc_info_InstallLinuxPackageProgressInfo_container_5fhost_2eproto()' at gen/include/vm_protos/proto_bindings/container_host.pb.cc:213:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [45, 48] from the object at 'vm_tools::container::_InstallLinuxPackageProgressInfo_default_instance_' is out of the bounds of referenced subobject 'vm_tools::container::InstallLinuxPackageProgressInfo::status_' with type 'int' at offset 40 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [30/52] ACTION //vm_tools/proto:vm-rpcs_gen(//common-mk/toolchain:toolchain)pcs.container_host.grpc.pb.o /usr/share/proto: warning: directory does not exist. [31/52] ACTION //vm_tools/proto:vm-rpcs_gen(//common-mk/toolchain:toolchain) /usr/share/proto: warning: directory does not exist. [39/52] ACTION //vm_tools/proto:fuzzer-protos_gen(//common-mk/toolchain:toolchain)grpc.pb.ob.o /usr/share/proto: warning: directory does not exist. [44/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libfuzzer-protos.fuzzer.pb.o.o In file included from /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/string.h:494, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/port.h:38, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/common.h:46, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/io/coded_stream.h:135, from gen/include/vm_protos/proto_bindings/fuzzer.pb.h:23, from gen/include/vm_protos/proto_bindings/fuzzer.pb.cc:4: In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::container::ContainerListenerFuzzerSingleAction::SharedCtor()' at gen/include/vm_protos/proto_bindings/fuzzer.pb.cc:1600:11, inlined from 'vm_tools::container::ContainerListenerFuzzerSingleAction::ContainerListenerFuzzerSingleAction()' at gen/include/vm_protos/proto_bindings/fuzzer.pb.cc:1412:13, inlined from 'void InitDefaultsscc_info_ContainerListenerFuzzerSingleAction_fuzzer_2eproto()' at gen/include/vm_protos/proto_bindings/fuzzer.pb.cc:107:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 196] from the object at 'vm_tools::container::_ContainerListenerFuzzerSingleAction_default_instance_' is out of the bounds of referenced subobject 'vm_tools::container::ContainerListenerFuzzerSingleAction::tremplin_create_container_response_' with type 'vm_tools::tremplin::CreateContainerResponse*' at offset 24 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [47/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libvm-rpcs.vm_host.pb.o In file included from /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/string.h:494, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/port.h:38, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/common.h:46, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/io/coded_stream.h:135, from gen/include/vm_protos/proto_bindings/vm_host.pb.h:23, from gen/include/vm_protos/proto_bindings/vm_host.pb.cc:4: In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::LogRecord::SharedCtor()' at gen/include/vm_protos/proto_bindings/vm_host.pb.cc:1170:11, inlined from 'vm_tools::LogRecord::LogRecord()' at gen/include/vm_protos/proto_bindings/vm_host.pb.cc:1139:13, inlined from 'void InitDefaultsscc_info_LogRecord_vm_5fhost_2eproto()' at gen/include/vm_protos/proto_bindings/vm_host.pb.cc:76:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [33, 36] from the object at 'vm_tools::_LogRecord_default_instance_' is out of the bounds of referenced subobject 'vm_tools::LogRecord::timestamp_' with type 'vm_tools::Timestamp*' at offset 24 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [49/52] CXX obj/out/Release/gen/include/vm_protos/proto_bindings/libvm-rpcs.vm_guest.pb.oo In file included from /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/string.h:494, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/port.h:38, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/stubs/common.h:46, from /nix/store/mfpg3sk5vk9rm99hbpmd3dgvxqybd391-protobuf-3.8.0/include/google/protobuf/io/coded_stream.h:135, from gen/include/vm_protos/proto_bindings/vm_guest.pb.h:23, from gen/include/vm_protos/proto_bindings/vm_guest.pb.cc:4: In function 'void* memset(void*, int, size_t)', inlined from 'void vm_tools::NetworkConfigRequest::SharedCtor()' at gen/include/vm_protos/proto_bindings/vm_guest.pb.cc:1523:11, inlined from 'vm_tools::NetworkConfigRequest::NetworkConfigRequest()' at gen/include/vm_protos/proto_bindings/vm_guest.pb.cc:1494:13, inlined from 'void InitDefaultsscc_info_NetworkConfigRequest_vm_5fguest_2eproto()' at gen/include/vm_protos/proto_bindings/vm_guest.pb.cc:241:5: /nix/store/796fpc57zsb4x57krgcdspxk0vp2rykq-glibc-2.30-dev/include/bits/string_fortified.h:71:33: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset [25, 32] from the object at 'vm_tools::_NetworkConfigRequest_default_instance_' is out of the bounds of referenced subobject 'vm_tools::NetworkConfigRequest::ipv4_config_' with type 'vm_tools::IPv4Config*' at offset 16 [-Warray-bounds] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [52/52] STAMP obj/common-mk/gn_root/root.stamp installing post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/2dn0l8bb33ww5fcg09n30c3fpag6lc39-vm_protos-83.13020.0.0-rc1 strip is /nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/strip stripping (with command strip and flags -S) in /nix/store/2dn0l8bb33ww5fcg09n30c3fpag6lc39-vm_protos-83.13020.0.0-rc1/lib patching script interpreter paths in /nix/store/2dn0l8bb33ww5fcg09n30c3fpag6lc39-vm_protos-83.13020.0.0-rc1 checking for references to /build/ in /nix/store/2dn0l8bb33ww5fcg09n30c3fpag6lc39-vm_protos-83.13020.0.0-rc1... /nix/store/2dn0l8bb33ww5fcg09n30c3fpag6lc39-vm_protos-83.13020.0.0-rc1