Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jun 2021 12:07:11 +0200
From:      J P <webplication@gmail.com>
To:        freebsd-ports@freebsd.orgadd, freebsd-arm@freebsd.org
Subject:   lang/rust does not build on aarch64
Message-ID:  <CABcCtUQe=d%2Bh8AsTyEn8gsryqFOHPtMQjeqcYybeKdfZH1eL_w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000f3584c05c5bc8938
Content-Type: text/plain; charset="UTF-8"

Hi,
it seems rust does not build on aarch64:
===>  Building for rust-1.52.1
rustup not detected: [Errno 2] No such file or directory: 'rustc'
falling back to auto-detect
running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build
--manifest-path
/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/Cargo.toml
--verbose --frozen
Traceback (most recent call last):
  File "x.py", line 27, in <module>
    bootstrap.main()
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.py",
line 1175, in main
    bootstrap(help_triggered)
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.py",
line 1148, in bootstrap
    build.build_bootstrap()
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.py",
line 900, in build_bootstrap
    run(args, env=env, verbose=self.verbose)
  File
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.py",
line 153, in run
    raise RuntimeError(err)
RuntimeError: failed to run:
/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build --manifest-path
/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/Cargo.toml
--verbose --frozen
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust

Is this known?

Thank you.

BR,

--000000000000f3584c05c5bc8938--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABcCtUQe=d%2Bh8AsTyEn8gsryqFOHPtMQjeqcYybeKdfZH1eL_w>