Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

aarch64 rust install failure



I have a Pinebook 1080P. I tried to build firefox on it and after three days of building I got the error listed below. I tried to install rustup but got an error; no evbarm. I added evbarm to the rust-init.sh switch statement. Another error I keep running into is libstdc++.so.8 not found.

evbarm)
            _cputype=aarch64
            ;;

Now when I run it I get this error:

$ ./rustup-init.sh
info: downloading installer
curl: (22) The requested URL returned error: 404 Not Found
rustup: command failed: downloader https://static.rust-lang.org/rustup/dist/aarch64-unknown-netbsd/rustup-init /tmp/mktemp.eaADP6ji/rustup-init


MAKE INSTALL ERROR FOR FIREFOX
error: process didn't exit successfully: `/usr/pkgsrc/lang/rust/work/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/rust-bootstrap/lib/rustlib/aarch64-unknown-netbsd/codegen-backends/librustc_codegen_llvm-llvm.so": "/usr/pkgsrc/lang/rust/work/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/rustc-1.35.0-src/src/bootstrap/bootstrap.py", line 849, in main
    bootstrap(help_triggered)
  File "/usr/pkgsrc/lang/rust/work/rustc-1.35.0-src/src/bootstrap/bootstrap.py", line 820, in bootstrap
    build.build_bootstrap()
  File "/usr/pkgsrc/lang/rust/work/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/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/rust-bootstrap/bin/cargo build --manifest-path /usr/pkgsrc/lang/rust/work/rustc-1.35.0-src/src/bootstrap/Cargo.toml --frozen
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox60

Ron Georgia
“90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”






Home | Main Index | Thread Index | Old Index