I am trying to build torizon from a clean workspace, and observed some compilation errors:
ERROR: rac-0.0+gitAUTOINC+719afe6b829316c096b3-r0 do_compile: ExecutionError('/mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/temp/run.do_compile.29496', 101, None, None)
ERROR: Logfile of failure stored in: /mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/temp/log.do_compile.29496
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: Using rust targets from /mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/rust-targets/
| NOTE: cargo = /mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/recipe-sysroot-native/usr/bin/cargo
| NOTE: cargo build -v --offline --target aarch64-tdx-linux-gnu --release --manifest-path=/mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/git//Cargo.toml
| error: could not load Cargo configuration
|
| Caused by:
| could not parse TOML configuration in `/mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/cargo_home/config`
|
| Caused by:
| could not parse input as TOML
|
| Caused by:
| TOML parse error at line 42, column 1
| |
| 42 | olpc-cjson = { path = "/mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/tough/olpc-cjson" }
| | ^
| duplicate key `olpc-cjson` in table `patch.https://github.com/toradex/tough`
| WARNING: exit code 101 from a shell command.
as the error message explained, there are multiple "olpc-cjson" lines in /mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/cargo_home/config:
also another compilation error was observed as follows:
| DEBUG: Executing shell function do_compile
| NOTE: Using rust targets from /mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/rust-targets/
| NOTE: cargo = /mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/recipe-sysroot-native/usr/bin/cargo
| NOTE: cargo build -v --offline --target aarch64-tdx-linux-gnu --release --manifest-path=/mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/git//Cargo.toml
| error: failed to get `tough` as a dependency of package `rac v0.1.0 (/mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/git)`
|
| Caused by:
| failed to load source for dependency `tough`
|
| Caused by:
| Unable to update https://github.com/toradex/tough?branch=rac#28c2deb2
|
| Caused by:
| can't checkout from 'https://github.com/toradex/tough': you are in the offline mode (--offline)
| WARNING: exit code 101 from a shell command.
these errors could be reproduced by the following steps:
I am trying to build torizon from a clean workspace, and observed some compilation errors:
as the error message explained, there are multiple "olpc-cjson" lines in /mnt/toradex/torizon-kirkstone/build-torizon/tmp/work/cortexa57-tdx-linux/rac/0.0+gitAUTOINC+719afe6b829316c096b3-r0/cargo_home/config:
also another compilation error was observed as follows:
these errors could be reproduced by the following steps: