Closed daedalus-ode closed 3 months ago
We're currently pinning the version of cargo to be used at 1.75.0
. See https://github.com/ros2/rmw_zenoh/pull/136 for more details. I'll close this ticket now as it is a duplicate of https://github.com/ros2/rmw_zenoh/issues/138 but feel free to reopen if you feel otherwise.
Overview :
After cloning the git repository into my system and trying to build the package using colcon build. It failed by throwing the following error.
Command :
ubundadu@USER:~/ws_rmw_zenoh$ colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release
Output :
= note: source type:
Option<zenoh::query::Reply>
(1920 bits) = note: target type:get::z_owned_reply_t
(1792 bits) = note: this error originates in the macroimpl_guarded_transmute
(in Nightly builds, run with -Z macro-backtrace for more info)For more information about this error, try
rustc --explain E0512
. error: could not compilezenoh-c
(lib) due to 1 previous error gmake[5]: [CMakeFiles/cargo.dir/build.make:111: release/target/release/libzenohc.so] Error 101 gmake[4]: [CMakeFiles/Makefile2:180: CMakeFiles/cargo.dir/all] Error 2 gmake[3]: [Makefile:146: all] Error 2 gmake[2]: [CMakeFiles/zenoh_c_vendor.dir/build.make:85: zenoh_c_vendor-prefix/src/zenoh_c_vendor-stamp/zenoh_c_vendor-build] Error 2 gmake[1]: [CMakeFiles/Makefile2:137: CMakeFiles/zenoh_c_vendor.dir/all] Error 2 gmake: [Makefile:146: all] Error 2Failed <<< zenoh_c_vendor [1min 55s, exited with code 2]
Summary: 0 packages finished [1min 55s] 1 package failed: zenoh_c_vendor 1 package had stderr output: zenoh_c_vendor 1 package not processed
Environment Info
rustc --version
rustc 1.77.0 (aedd173a2 2024-03-17)
cargo --version
cargo 1.77.0 (3fe68eabf 2024-02-29)
System
wsl2 - Ubuntu-22.04 (LTS)