Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2024 14:22:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277921] lang/rust: 1.77.0 fails to build on aarch64 14.0-RELEASE
Message-ID:  <bug-277921-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277921

            Bug ID: 277921
           Summary: lang/rust: 1.77.0 fails to build on aarch64
                    14.0-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust@FreeBSD.org
          Reporter: diizzy@FreeBSD.org
                CC: mikael@FreeBSD.org
             Flags: maintainer-feedback?(rust@FreeBSD.org)
          Assignee: rust@FreeBSD.org

Created attachment 249449
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D249449&action=
=3Dedit
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=3Dfile-names -Zallow-features=3D -C linker=3Dcc -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=3Dsysroot --print=3Dsplit-debuginfo --print=3Dcrate-name --print=3D=
cfg` (exit
status: 1)
  --- stderr
  rustc -Cllvm-args=3D"..." with: Unknown command line argument
'-generate-arange-section'.  Try: 'rustc -Cllvm-args=3D"..." with --help'
  rustc -Cllvm-args=3D"..." with: Did you mean '--print-all-options'?
  rustc -Cllvm-args=3D"..." with: Unknown command line argument
'-mergefunc-use-aliases'.  Try: 'rustc -Cllvm-args=3D"..." with --help'
  rustc -Cllvm-args=3D"..." with: Did you mean '--rng-seed'?
  rustc -Cllvm-args=3D"..." with: Unknown command line argument
'-preserve-alignment-assumptions-during-inlining=3Dfalse'.  Try: 'rustc
-Cllvm-args=3D"..." with --help'
  rustc -Cllvm-args=3D"..." with: Did you mean '--print-all-options=3Dfalse=
'?
  rustc -Cllvm-args=3D"..." with: Unknown command line argument
'-import-cold-multiplier=3D0.1'.  Try: 'rustc -Cllvm-args=3D"..." with --he=
lp'
  rustc -Cllvm-args=3D"..." with: Did you mean '--sort-timers=3D0.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=3Denv, verbose=3Dself.verbose, cwd=3Dself.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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277921-7788>