thunderbird failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=128153944 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix thunderbird at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, thunderbird will be orphaned. Before branching of Fedora 43, thunderbird will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2072820 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2072822 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2072823 [details] state.log
The full build.log for aarch64 https://kojipkgs.fedoraproject.org//work/tasks/4129/128154129/build.log shows a rustc signal: 11, SIGSEGV: invalid memory reference 3:55.22 error: could not compile `uniffi_bindgen` (lib); 6 warnings emitted 3:55.22 Caused by: 3:55.22 process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=uniffi_bindgen CARGO_MANIFEST_DIR=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/comm/third_party/rust/uniffi_bindgen CARGO_MANIFEST_PATH=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/comm/third_party/rust/uniffi_bindgen/Cargo.toml CARGO_PKG_AUTHORS='Firefox Sync Team <sync-team>' CARGO_PKG_DESCRIPTION='a multi-language bindings generator for rust (codegen and cli tooling)' CARGO_PKG_HOMEPAGE='https://mozilla.github.io/uniffi-rs' CARGO_PKG_LICENSE=MPL-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=uniffi_bindgen CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/mozilla/uniffi-rs' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.27.1 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=27 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/release/deps /usr/bin/rustc --crate-name uniffi_bindgen --edition=2021 /builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/comm/third_party/rust/uniffi_bindgen/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clap"))' -C metadata=a344945a6bb472ab -C extra-filename=-a344945a6bb472ab --out-dir /builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps --target aarch64-unknown-linux-gnu -C linker=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/build/cargo-linker -C strip=debuginfo -L dependency=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/release/deps --extern anyhow=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libanyhow-b8607a334325555e.rmeta --extern askama=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libaskama-e5682fc68c73b457.rmeta --extern camino=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libcamino-612a92f4b080f7b5.rmeta --extern cargo_metadata=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libcargo_metadata-947227d60ae5a6b3.rmeta --extern fs_err=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libfs_err-12e4bdf37996fcbb.rmeta --extern glob=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libglob-a438eaa064c61598.rmeta --extern goblin=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libgoblin-eecb8d938a29cb3a.rmeta --extern heck=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libheck-2b92602534b064a9.rmeta --extern once_cell=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libonce_cell-ed31f4ba6768647d.rmeta --extern paste=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/release/deps/libpaste-ef55fc09c351cc6e.so --extern serde=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libserde-dc6c82bdcc415b18.rmeta --extern textwrap=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libtextwrap-1856f6b4c54c3854.rmeta --extern toml=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libtoml-dfa59af030dc5da9.rmeta --extern uniffi_meta=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libuniffi_meta-5b04515e6d807f7d.rmeta --extern uniffi_testing=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libuniffi_testing-04e7708f86a3d0ac.rmeta --extern uniffi_udl=/builddir/build/BUILD/thunderbird-128.6.0-build/thunderbird-128.6.0/objdir/aarch64-unknown-linux-gnu/release/deps/libuniffi_udl-a6a54f182ce2e433.rmeta --cap-lints warn -C debuginfo=2 --cap-lints warn -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -Cembed-bitcode=yes -C codegen-units=1` (signal: 11, SIGSEGV: invalid memory reference) The previous build of thunderbird-128.6.0-1.fc42 on 2025-01-09 went flawless. Meanwhile new builds of thunderbird-128.6.1-1 on f40,f41,f42 fail for all architectures with similar SIGSEGVs, see https://koji.fedoraproject.org/koji/packageinfo?packageID=39 From https://koji.fedoraproject.org/koji/packageinfo?packageID=22720 I deduce that an upgrade from rust-1.83.0 to rust-1.84.0 _might_ be responsible for this? In #devel:fedoraproject.org to debug it was suggested to rebuild rustc with the bundled LLVM and with LLVM assertions turned on, but I'm one day before vacation..
I believe rust-1.84.1 fixes the rustc crash. Builds are in progress for all Fedora branches now. Locally, I was able to complete a mock build of thunderbird on F41 with rust-1.84.1, but on rawhide I got past the original error and hit something else, probably due to GCC 15: 2:39.73 [swgl 0.1.0] cargo:warning=In file included from src/glsl.h:7, 2:39.73 [swgl 0.1.0] cargo:warning= from src/gl.cc:92: 2:39.74 [swgl 0.1.0] cargo:warning=src/vector_type.h: In instantiation of ‘struct glsl::VectorType<__vector(4) int, 4>’: 2:39.74 [swgl 0.1.0] cargo:warning=src/glsl.h:59:63: required from here 2:39.74 [swgl 0.1.0] cargo:warning= 59 | SI bool test_equal(Bool cond) { return test_none(cond != cond.x); } 2:39.74 [swgl 0.1.0] cargo:warning= | ^ 2:39.74 [swgl 0.1.0] cargo:warning=src/vector_type.h:101:13: error: invalid vector type for attribute ‘vector_size’ 2:39.74 [swgl 0.1.0] cargo:warning= 101 | typedef T data_type __attribute__((vector_size(sizeof(T) * N))); 2:39.74 [swgl 0.1.0] cargo:warning= | ^~~~~~~~~ 2:39.74 [swgl 0.1.0] cargo:warning=src/vector_type.h:103:22: error: invalid vector type for attribute ‘vector_size’ 2:39.74 [swgl 0.1.0] cargo:warning= 103 | typedef mask_index mask_type 2:39.74 [swgl 0.1.0] cargo:warning= | ^~~~~~~~~ 2:39.74 [swgl 0.1.0] cargo:warning=src/vector_type.h:105:13: error: invalid vector type for attribute ‘vector_size’ 2:39.74 [swgl 0.1.0] cargo:warning= 105 | typedef T half_type __attribute__((vector_size(sizeof(T) * (N / 2)))); 2:39.74 [swgl 0.1.0] cargo:warning= | ^~~~~~~~~ [... and many more ...] 2:48.59 error: failed to run custom build command for `swgl v0.1.0 (/builddir/build/BUILD/thunderbird-128.6.1-build/thunderbird-128.6.1/gfx/wr/swgl)` Note that cargo is only in these messages because they came through swgl's build script, but the actual errors are from g++.
Please see https://gcc.gnu.org/PR116666.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
Apparently fixed with rustc update, i.e. thunderbird-128.7.1-1.fc42 available.