-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[conf] temporary remove failing aircraft
rust on CI server not compiling at the moment
- Loading branch information
1 parent
9b94543
commit 69953a7
Showing
1 changed file
with
0 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69953a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error is :
...
GENERATE /home/n3yh3hnii/develop/allthings_paparazzi/paparazzi/var/aircrafts/AAMinionSim/ap/generated/settings.h
Error: Cargo (Rust) not found, cannot build Rust modules. Please install xargo.
....
/usr/lib/gcc/arm-none-eabi/4.9.3/../../../arm-none-eabi/bin/ld: cannot find -lrust_demo_module
A
sudo apt install cargo
fixes the main error then new issues arise...Compiling quick-error v1.2.2
Running
rustc --crate-name quick_error /home/huh/.cargo/registry/src/github.com-1ecc6299db9ec823/quick-error-1.2.2/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=a7dc63933b021aaa -C extra-filename=-a7dc63933b021aaa --out-dir /home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/release/deps -L dependency=/home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/release/deps --cap-lints allow
...
Running
rustc --crate-name panic_halt /home/huh/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-halt-0.2.0/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=fe51088a03f9d1bc -C extra-filename=-fe51088a03f9d1bc --out-dir /home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/thumbv7em-none-eabihf/release/deps --target thumbv7em-none-eabihf -L dependency=/home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/thumbv7em-none-eabihf/release/deps -L dependency=/home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/release/deps --cap-lints allow
error[E0463]: can't find crate for
core
|
= note: the
thumbv7em-none-eabihf
target may not be installederror: aborting due to previous error
For more information about this error, try
rustc --explain E0463
.error: Could not compile
panic-halt
.Caused by:
process didn't exit successfully:
rustc --crate-name panic_halt /home/huh/.cargo/registry/src/github.com-1ecc6299db9ec823/panic-halt-0.2.0/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=fe51088a03f9d1bc -C extra-filename=-fe51088a03f9d1bc --out-dir /home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/thumbv7em-none-eabihf/release/deps --target thumbv7em-none-eabihf -L dependency=/home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/thumbv7em-none-eabihf/release/deps -L dependency=/home/huh/paparazzi/sw/airborne/modules/rust/demo_module/target/release/deps --cap-lints allow
(exit code: 1)warning: build failed, waiting for other jobs to finish...
error: build failed
Makefile.ac:196: recipe for target 'build_rust_modules' failed
make[1]: *** [build_rust_modules] Error 101
make[1]: Leaving directory '/home/huh/paparazzi'
...
for this install
https://docs.rs/cortex-m-quickstart/0.2.7/cortex_m_quickstart/index.html
etc. etc.