Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2024 09:38:20 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        Charlie Li <vishwin@freebsd.org>, Mikael Urankar <mikael@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org, Konstantin Belousov <kib@freebsd.org>, brooks@FreeBSD.org
Subject:   Re: git: 2252f9df9da7 - main - lang/rust: Update to 1.76.0
Message-ID:  <b00c59e789f038c7b355a0b86ad383d5@Leidinger.net>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_6c11020f9ad1193c2ca6fc018c0f284c
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8;
 format=flowed

Am 2024-02-20 09:02, schrieb Nuno Teixeira:
> (...)
> 
> 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.

I see different failure cases between libsys with or without the rtld 
change. Without the rtld change, I see the failure case of dovecot imap 
coredumping, but mysql and java working. With the rtld change, dovecot 
imap works, but mysql authentication (over FS socket, via ip not tested) 
failing, java issues, and bind 9.18 not working (error message in the 
logs). For the case with the rtld change, I know that the rust 1.75 
build fails in the libc component. For the case without the rtld change, 
I haven't tested to build rust.

A world with current as of Jan 18 works. A world with current as of Feb 
16 fails on 2 systems. Both exhibit the mysql issue, as I have mysql on 
both systems, the rest I have tested only on 1. The system with the most 
failure cases I have still on Feb 16 code. The other one I have reverted 
to Jan 18 (I love that we have BEs). The one I have on the Feb 16 code 
base I also tested with Feb 10 and 11 code, but with the issues 
described above. As the rtld change was introduced on Feb 13, and the 
Feb 10 showed different failure cases, the big issue (bind+mysql was ok 
with Feb 10+11 code, but not ok with Feb 16 code), the issue was 
introduced somehow between 10/11 and 16. In terms of low-level stuff 
which has changed, the libsys and rtld changes stick out a bit. Any 
other ideas are welcome.

The issue bind has is that it fails to open some files with an 
unexpected error. Java can not connect to a postgresql DB (while php is 
able to connect to this db).

Note, I use WITH_REPOLINE and WITH_BIND_NOW, no idea if this matters for 
this.

I haven't tested the most recent changes by brooks, that's next on my 
list (it should be possible to have this done within the next 8h... a 
buildworld runs).

Bye,
Alexander.

> 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)

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_6c11020f9ad1193c2ca6fc018c0f284c
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=833
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmXUZQwACgkQEg2wmwP4
2IbLNw/9HTANxh7h++9gRUIl6j3r/QM9jZSW0gaf/b6CJdNoVXVZkze95nzs4P67
2C87QNiuyGoP4gXwULqh0g5n6nDInhRhYTddhmpeV1KUx9jm9acwF9hE0TKtDuiB
7enKDuAoh5IrluJ2qIwkAAB+KC1kP78VQIO+TWPRNNLtgRuFjHRU4LhZvztM71QC
uvO0ceyrc3Qq1YfhF+erDp3YVrPFaWQQujdQIwWWLvd7wua3ACPkPYCkozrRWgZy
FFdj5UZsP5FH9Dsa5vGllCSX+5Mq+9SX9FdexeccEC9B5f43Aq29GrQRlKxy+RBg
zL2iFpkSXBe+c9gkF+RKkGQLJCXh+xO1PmjMcf2PSFumnrcYhGgI4nhT+oEFoegf
1Vz6zu7/Ja0CnpSs8wWPylfp/Q3J49CCjtNjLKNVap9Yyr14AZwzKdWxrRRiJvk5
LaqFxwKOU+EAKoVkhpmofKWfY89J74l2rFw1+Nmq6cjII1om8Gfmrlt1EX7n6A8H
zubBcD2GuXFJq6Jlbyfv48uu50pyc6rUQjF7hKA/KwKEO/jxRHuEU1XkDIQLEQ//
u6C5gBv8uNNn/Yjkp+CYCKwiUJR7O2i0AKU8L12OS7ZlftTxT9KnMtTLZFVbRqfx
3b8RuSITwxZzuxS4BhH6kHz5IefgDHRybUwLp8J0YmaJRhOY8W0=
=fs09
-----END PGP SIGNATURE-----

--=_6c11020f9ad1193c2ca6fc018c0f284c--



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