[Libre-soc-dev] cargo install maturin fails when building power-instruction-analyzer

Jacob Lifshay programmerjake at gmail.com
Sun Oct 18 22:19:57 BST 2020

On Sat, Oct 17, 2020, 06:45 Tobias Platen <libre-soc at platen-software.de>

> On Sat, 17 Oct 2020 15:39:28 +0200
> Tobias Platen <libre-soc at platen-software.de> wrote:
> more precise the error is:
> Compiling idna v0.2.0
> error: failed to run custom build command for `ring v0.16.15`
> Caused by:
>   process didn't exit successfully:
> `/tmp/cargo-installg39wE3/release/build/ring-995281b7f2ea4e47/build-script-build`
> (exit code: 101)
>   --- stderr
>   ENV ALTERNATE_EDITOR=panic_editor
>   ENV
> CARGO=/home/isengaara/.rustup/toolchains/stable-powerpc64le-unknown-linux-gnu/bin/cargo

The actual cause of the error should be further down in the output, after
all the ENV lines. I'd guess it's failing to compile because it's missing
some apt package(s). The `ring` crate is a cryptography library built using
some of the C/C++ code from BoringSSL, do you have a working C++ compiler

I'll try to reproduce it in a little bit.


More information about the Libre-soc-dev mailing list