Re: git: 2252f9df9da7 - main - lang/rust: Update to 1.76.0

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Tue, 20 Feb 2024 08:02:21 UTC
(...)

Last time that I build rust 1.75.0 was on 15.0-CURRENT 1500014 arm64
(build started at Fri Feb 16...).
This was after libsys changes.

Nuno Teixeira <eduardo@freebsd.org> escreveu (segunda, 19/02/2024 à(s) 20:38):
>
> Can't find more fails on https://portsfallout.com/fallout?env=main-arm64-default
>
> I remember that I've built rust 1.7.5 after 968a18975adc...
> I will check logs
>
> Charlie Li <vishwin@freebsd.org> escreveu (segunda, 19/02/2024 à(s) 18:29):
> >
> > Nuno Teixeira wrote:
> > > (...)
> > >
> > > main-n268303-3733d82c4deb
> > >
> > > Nuno Teixeira <eduardo@freebsd.org> escreveu (segunda, 19/02/2024 à(s) 14:47):
> > >>
> > >> Hello!
> > >>
> > >> Fails to build on aarch64 (rpi4):
> > >>
> > >> =======================<phase: build          >============================
> > >> ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
> > >> ===>  Building for rust-1.76.0
> > >> Building bootstrap
> > >> running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build
> > >> --manifest-path
> > >> /wrkdirs/usr/ports/lang/rust/work/rustc-1.76.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 -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.76.0-src/x.py", line
> > >> 50, in <module>
> > >>      bootstrap.main()
> > >>    File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstrap.py",
> > >> line 1125, in main
> > >>      bootstrap(args)
> > >>    File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.0-src/src/bootstrap/bootstrap.py",
> > >> line 1092, in bootstrap
> > >>      build.build_bootstrap()
> > >>    File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.76.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.76.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.76.0-src/src/bootstrap/Cargo.toml
> > >> --verbose --verbose --frozen
> > >> *** Error code 1
> > >>
> > >
> > Possible fallout from base 968a18975adc?
> >
> > --
> > Charlie Li
> > ...nope, still don't have an exit line.
> >
>
>
> --
> Nuno Teixeira
> FreeBSD Committer (ports)



-- 
Nuno Teixeira
FreeBSD Committer (ports)