meta-ros
meta-ros copied to clipboard
Compilation Failure zenoh-bridge-dds
I encountered a build failure while trying to compile zenoh-bridge-dds. Below are the details of the error:
Error Log:
ERROR: zenoh-bridge-dds-0.5.0-4-r0 do_compile: ExecutionError('temp/run.do_compile.28596', 1, None, None)
ERROR: Logfile of failure stored in: temp/log.do_compile.28596
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build build --target all --
| Change Dir: 'build'
|
| Run Build Command(s): ninja -v -j 12 all
| [1/1] cd build && cargo build --release --manifest-path git/zenoh-bridge-dds/Cargo.toml --target-dir build/target
| FAILED: target/release/zenoh-bridge-dds build/target/release/zenoh-bridge-dds
| cd build && cargo build --release --manifest-path git/zenoh-bridge-dds/Cargo.toml --target-dir build/target
| /bin/sh: 1: cargo: not found
| ninja: build stopped: subcommand failed.
|
| WARNING: exit code 1 from a shell command.
ERROR: Task (meta-ros/meta-ros2-rolling/generated-recipes/zenoh-bridge-dds/zenoh-bridge-dds_0.5.0-4.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1633 tasks of which 1622 didn't need to be rerun and 1 failed.
Steps to Reproduce: Attempt to build zenoh-bridge-dds with the provided meta-layer configuration. The build fails during the do_compile task with the above error log.
Could you please provide guidance on ensuring the build system correctly detects Cargo? If there are specific steps to debug or configure the environment, that would be helpful.
Thank you!
I create pull request for this issue : https://github.com/ros/meta-ros/pull/1289