All,
I am trying to install Rust on my Pinebook pro. Using pkgsrc 2019_Q2.
Here is the error message.
error: process didn't exit successfully:
`/usr/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/bin/rustc -vV`
(exit code: 1)
--- stdout
rustc 1.35.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: aarch64-unknown-netbsd
release: 1.35.0
--- stderr
error: couldn't load codegen backend
"/usr/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/lib/rustlib/aarch64-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so":
"/usr/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/lib/rustlib/aarch64-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so:
Shared object \"libstdc++.so.8\" not found"
Traceback (most recent call last):
File "./x.py", line 11, in <module>
bootstrap.main()
File "/usr/pkgsrc/lang/rust/work.aarch64/rustc-1.35.0-src/src/bootstrap/bootstrap.py",
line 849, in main
bootstrap(help_triggered)
File "/usr/pkgsrc/lang/rust/work.aarch64/rustc-1.35.0-src/src/bootstrap/bootstrap.py",
line 820, in bootstrap
build.build_bootstrap()
File "/usr/pkgsrc/lang/rust/work.aarch64/rustc-1.35.0-src/src/bootstrap/bootstrap.py",
line 656, in build_bootstrap
run(args, env=env, verbose=self.verbose)
File "/usr/pkgsrc/lang/rust/work.aarch64/rustc-1.35.0-src/src/bootstrap/bootstrap.py",
line 141, in run
raise RuntimeError(err)
RuntimeError: failed to run:
/usr/pkgsrc/lang/rust/work.aarch64/rust-bootstrap/bin/cargo build
--manifest-path
/usr/pkgsrc/lang/rust/work.aarch64/rustc-1.35.0-src/src/bootstrap/Cargo.toml
--frozen
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/rust
--
Ron Georgia
“90% of my problems are due to ignorance, the other 10% is because I
just don’t know any better.”