Port-arm archive

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

Re: aarch64 rust install fails



Jared,
Thank you very much. The second failure was due to running out of swap space.
Man, this makes life a LOT easier. And I can add this to the pkgin
repository.conf file as well?

On Tue, Oct 22, 2019 at 7:05 AM Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>
> Not sure why this fails, but if you want to save yourself some time, my
> binary package repo for netbsd-9 has rust-1.37.0:
>
> export PKG_PATH=http://www.invisible.ca/arm/packages/arm64/netbsd-9/
> pkg_add rust
>
>
> On Mon, 21 Oct 2019, Ronald Georgia wrote:
>
> > 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.”
> >
> >



-- 
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