Date: Sun, 14 Apr 2024 13:17:40 -0700 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Juraj Lutter <otis@FreeBSD.org>, Rainer Hurling <rhurlin@FreeBSD.org>, Christoph Moench-Tegeder <cmt@FreeBSD.org> Cc: "<ports-committers@freebsd.org>" <ports-committers@FreeBSD.org>, "<dev-commits-ports-all@freebsd.org>" <dev-commits-ports-all@FreeBSD.org>, "<dev-commits-ports-main@freebsd.org>" <dev-commits-ports-main@FreeBSD.org> Subject: Re: git: 3426640f52e5 - main - mail/thunderbird: update to 115.10.0 (rc2) Message-ID: <20240414201740.5F1801A0@slippy.cwsent.com> In-Reply-To: <20240414123617.8C04F569@slippy.cwsent.com> References: <202404132108.43DL8i4F009187@gitrepo.freebsd.org> <20240414070403.2BB88624@slippy.cwsent.com> <6f39fefa-eb42-4ac8-bef4-b05b17a06e40@gwdg.de> <05392D00-3717-474E-AFA8-E6594BB7183D@FreeBSD.org> <20240414123617.8C04F569@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20240414123617.8C04F569@slippy.cwsent.com>, Cy Schubert writes: > In message <05392D00-3717-474E-AFA8-E6594BB7183D@FreeBSD.org>, Juraj Lutter > wri > tes: > > > > > > > > > On 14 Apr 2024, at 13:31, Rainer Hurling <rhurlin@gwdg.de> wrote: > > >=20 > > > For me it fails in Poudriere with recent 15.0-CURRENT and clang = > > 18.1.3, but it succeeds with slightly older 15.0-CURRENT and clang 17. > > >=20 > > > I don't know, if base clang version 18 is the reason for the breakage? > > > > It looks more like rust-related. Are rust versions used to compile = > > thunderbird the same on both your -CURRENT systems? > > rust-1.77.0 Building it by hand with DISABLE_MAKE_JOBS I see this: Running `CARGO=/usr/local/bin/cargo CARGO_CRATE_NAME=mdns_service CARGO_MANIFEST_DIR=/export/wrkdir/amd64/usr /ports/mail/thunderbird/work/thunderbird-115.10.0/dom/media/webrtc/transport /mdns_service CARGO_PKG_AUTHORS='Dan M inor <dminor@mozilla.com>' CARGO_PKG_DESCRIPTION='' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICE NSE_FILE='' CARGO_PKG_NAME=mdns_service CARGO_PKG_README='' CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARG O_PKG_VERSION=0.1.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSIO N_PRE='' LD_LIBRARY_PATH='/export/wrkdir/amd64/usr/ports/mail/thunderbird/wo rk/.build/release/deps:/usr/local/lib' /usr/local/bin/rustc --crate-name mdns_service --edition=2018 dom/media/webrtc/transport/mdns_service/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompa t --diagnostic-width=114 --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C panic=abort -C embed-bitcode=no -C metadata=894ec80d65a2e1eb - C extra-filename=-894ec80d65a2e1eb --out-dir /export/wrkdir/amd64/usr/ports/ mail/thunderbird/work/.build/x86_64-un known-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=/export/wrkdir/amd64/usr/ports/mail/thunderbi rd/work/thunderbird-115.10.0/build/cargo-linker -L dependency=/export/wrkdir/amd64/usr/ports/mail/thunderbird/work /.build/x86_64-unknown-freebsd/release/deps -L dependency=/export/wrkdir/amd 64/usr/ports/mail/thunderbird/work/.bu ild/release/deps --extern byteorder=/export/wrkdir/amd64/usr/ports/mail/thun derbird/work/.build/x86_64-unknown-fre ebsd/release/deps/libbyteorder-e1742701afaa1e83.rmeta --extern dns_parser=/export/wrkdir/amd64/usr/ports/mail/thun derbird/work/.build/x86_64-unknown-freebsd/release/deps/libdns_parser-813018 e540cadd90.rmeta --extern gecko_profil er=/export/wrkdir/amd64/usr/ports/mail/thunderbird/work/.build/x86_64-unknow n-freebsd/release/deps/libgecko_profil er-4ee41bbaea0c96b6.rmeta --extern log=/export/wrkdir/amd64/usr/ports/mail/t hunderbird/work/.build/x86_64-unknown- freebsd/release/deps/liblog-1530d20d7812c073.rmeta --extern socket2=/export/wrkdir/amd64/usr/ports/mail/thunderbir d/work/.build/x86_64-unknown-freebsd/release/deps/libsocket2-68d43f91c15b301 f.rmeta --extern uuid=/export/wrkdir/a md64/usr/ports/mail/thunderbird/work/.build/x86_64-unknown-freebsd/release/d eps/libuuid-2c3651165594b1c4.rmeta -C force-frame-pointers=yes --cap-lints warn -Cembed-bitcode=yes -C codegen-units=1` error[E0412]: cannot find type `_Pred` in this scope --> /export/wrkdir/amd64/usr/ports/mail/thunderbird/work/.build/x86_64- unknown-freebsd/release/build/style-5fb673490cc43b88/out/gecko/structs.rs:34 497:49 | 34497 | pub _base: root::std::__1::_And<_Pred>, | ^^^^^ not found in this scope | help: you might be missing a type parameter | 34496 | pub struct tuple__EnableUTypesCtor<_Pred> { | +++++++ rustc --explain tells me: bob$ rustc --explain E0412 A used type name is not in scope. Erroneous code examples: impl Something {} // error: type name `Something` is not in scope // or: trait Foo { fn bar(N); // error: type name `N` is not in scope } // or: fn foo(x: T) {} // type name `T` is not in scope To fix this error, please verify you didn't misspell the type name, you did declare it or imported it into the scope. Examples: struct Something; impl Something {} // ok! // or: trait Foo { type N; fn bar(_: Self::N); // ok! } // or: fn foo<T>(x: T) {} // ok! Another case that causes this error is when a type is imported into a parent module. To fix this, you can follow the suggestion and use File directly or use super::File; which will import the types from the parent namespace. An example that causes this error is below: use std::fs::File; mod foo { fn some_function(f: File) {} } use std::fs::File; mod foo { // either use super::File; // or // use std::fs::File; fn foo(f: File) {} } bob$ This certainly looks like an upstream problem. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240414201740.5F1801A0>