Services which were using corrosion were
failing to build with nix develop.
This updates corrosion to include fixes found in
https://github.com/corrosion-rs/corrosion/pull/192
Related:
Differential D5041
[Nix] Fix corrosion usage with nix develop • jon on Sep 2 2022, 5:10 PM. Authored by Tags None Referenced Files
Details Services which were using corrosion were This updates corrosion to include fixes found in Related: nix develop # services cd services/tunnelbroker rm -rf build && mkdir build && cd build && cmake .. && make -j # close any existing xcode sessions open -na xcode # run xcode build
Diff Detail
Event TimelineComment Actions Hmm, running into the following when I follow the Test Plan: /Users/atul/comm/services/tunnelbroker/build/protos/tunnelbroker.pb.cc:2392:12: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr' payload_.Swap(&other->payload_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); ~~~~~~~~ ^ /Users/atul/comm/services/tunnelbroker/build/protos/tunnelbroker.pb.cc:2902:14: error: no member named 'Swap' in 'google::protobuf::internal::ArenaStringPtr' messageid_.Swap(&other->messageid_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena()); ~~~~~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[2]: *** [protos/CMakeFiles/comm-tunnelbroker-grpc.dir/tunnelbroker.pb.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Looks like I have the right version of protoc atuls-MacBook-Pro:build atul$ which protoc /nix/store/r5nv2l4hiraggzawpjhxhbqgnc93p0a9-protobuf-3.15.8/bin/protoc Comment Actions @atul did you remove the old build folder? I'm able to build this by either checking out the commit, or by doing arc patch D5041 from master |