Summary: | lang/rust: 1.77.0 fails to build on aarch64 14.0-RELEASE | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Daniel Engberg <diizzy> | ||||
Component: | Individual Port(s) | Assignee: | FreeBSD Rust Team <rust> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | eduardo, hlh, jjb-b, mikael, sam990620, vivek | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(rust) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277220 | ||||||
Attachments: |
|
(In reply to Daniel Engberg from comment #0) Reproducible on my arm64 server either. If I look at the correct build log the build system took the broken devel/freebsd-sysroot [1]: aarch64-freebsd-sysroot-a2023.12.30_2 should be aarch64-freebsd-sysroot-a2023.12.30_3 [2] [1] https://pkg-status.freebsd.org/beefy16/data/132amd64-default/3229bb06d7d7/logs/aarch64-rust-bootstrap-1.76.0.log [2] https://github.com/freebsd/freebsd-ports/commit/a0802863390d880d8ea18de688162cad0e45f97e This build error seems to be equal of PR from 1.76.0 (+See also) (In reply to Nuno Teixeira from comment #3) Are you saying we should drop the bootstrap version to the 2023-12-28 1.75.0? The current rust port seems to have everything current as per that referenced issue. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f156f501ce613b7948ea1bddd00f0c4dbeb44fb commit 6f156f501ce613b7948ea1bddd00f0c4dbeb44fb Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2024-03-26 12:42:02 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2024-03-26 12:43:32 +0000 lang/rust: Update bootstrap for aarch64 The previous one did not work. PR: 277921 lang/rust/distinfo | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (In reply to commit-hook from comment #5) Building :) |
Created attachment 249449 [details] Poudriere log Fails at "Building bootstrap" Building bootstrap running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build --manifest-path /wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/src/bootstrap/Cargo.toml --verbose --verbose --frozen error: failed to run `rustc` to learn about target-specific information Caused by: process didn't exit successfully: `/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/rustc - --crate-name ___ --print=file-names -Zallow-features= -C linker=cc -Wrust_2018_idioms -Wunused_lifetimes --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1) --- stderr rustc -Cllvm-args="..." with: Unknown command line argument '-generate-arange-section'. Try: 'rustc -Cllvm-args="..." with --help' rustc -Cllvm-args="..." with: Did you mean '--print-all-options'? rustc -Cllvm-args="..." with: Unknown command line argument '-mergefunc-use-aliases'. Try: 'rustc -Cllvm-args="..." with --help' rustc -Cllvm-args="..." with: Did you mean '--rng-seed'? rustc -Cllvm-args="..." with: Unknown command line argument '-preserve-alignment-assumptions-during-inlining=false'. Try: 'rustc -Cllvm-args="..." with --help' rustc -Cllvm-args="..." with: Did you mean '--print-all-options=false'? rustc -Cllvm-args="..." with: Unknown command line argument '-import-cold-multiplier=0.1'. Try: 'rustc -Cllvm-args="..." with --help' rustc -Cllvm-args="..." with: Did you mean '--sort-timers=0.1'? Traceback (most recent call last): File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/x.py", line 50, in <module> bootstrap.main() File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/src/bootstrap/bootstrap.py", line 1162, in main bootstrap(args) File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/src/bootstrap/bootstrap.py", line 1129, in bootstrap build.build_bootstrap() File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/src/bootstrap/bootstrap.py", line 880, in build_bootstrap run(args, env=env, verbose=self.verbose, cwd=self.rust_root) File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.77.0-src/src/bootstrap/bootstrap.py", line 187, 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.77.0-src/src/bootstrap/Cargo.toml --verbose --verbose --frozen *** Error code 1 Full Poudriere log attached, also reproducable using ports