Failed to build "force-cargo-library-build"
Opened this issue · 0 comments
kenhys commented
Problem
./mach build
fails to build with force-cargo-library-build
It seems that it needs the following patch for newer version of cargo.
Actual
% cargo --version
cargo 0.24.0 (45043115c 2017-12-05)
% rustc --version
rustc 1.23.0 (766bd11c8 2018-01-01)
Here is the actual build error logs.
0:00.83 buildid.h
0:00.83 source-repo.h
0:00.95 application.ini
0:01.03 application.ini.h
0:01.07 Elapsed: 0.03s; From ../../dist/idl: Kept 1065 existing;
Added/updated 0; Removed 0 files and 0 directories.
0:01.32 force-cargo-library-build
0:01.60 Compiling mp4parse_capi v0.6.0
(file:///home/kenhys/work/firefox/graphene-gecko/media/libstagefright/binding/mp4parse_capi)
0:01.70 error[E0463]: can't find crate for `cheddar`
0:01.70 -->
/home/kenhys/work/firefox/graphene-gecko/media/libstagefright/binding/mp4parse_capi/build.rs:1:1
0:01.70 |
0:01.70 1 | extern crate cheddar;
0:01.70 | ^^^^^^^^^^^^^^^^^^^^^ can't find crate
0:01.70
0:01.70 error: aborting due to previous error
0:01.70
0:01.70 error: Could not compile `mp4parse_capi`.
0:01.70
0:01.70 To learn more, run the command again with --verbose.
0:01.70 /home/kenhys/work/firefox/graphene-gecko/config/rules.mk:966:
recipe for target 'force-cargo-library-build' failed
Expected
./mach build
succeeds.