Re: lang/rust does not build on aarch64
- Reply: Jan Beich : "Re: lang/rust does not build on aarch64"
- In reply to: J P : "lang/rust does not build on aarch64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Jun 2021 14:58:08 UTC
J P <webplication@gmail.com> writes: > Hi, > it seems rust does not build on aarch64: > ===> Building for rust-1.52.1 1.52.1 is no longer supported. Update ports/ tree to get 1.53.0. 2021Q2 has 1.51.0 but the branch is about to reach EOL on 2021-07-01. If 1.53.0 also fails attach complete poudriere log. For example, maybe only a specific FreeBSD version is affected. > rustup not detected: [Errno 2] No such file or directory: 'rustc' > falling back to auto-detect This warning is benign i.e., occurs even when build succeeds. > 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? Hmm, 1.52.1 recently failed on the package cluster with the same error but it did build fine in the past. http://www.ipv6proxy.net/go.php?u=http://ampere2.nyi.freebsd.org/data/main-arm64-default/pc9afda5a14a3_sb43d600c83/logs/errors/rust-1.52.1.log http://www.ipv6proxy.net/go.php?u=http://ampere2.nyi.freebsd.org/data/main-arm64-default/p69c9420a212a_s2349cda44f/logs/rust-1.52.1.log