Bug 2424796 - [ELN] "plotters" crate FTBFS on ppc64le
Summary: [ELN] "plotters" crate FTBFS on ppc64le
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Paul Murphy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-23 23:51 UTC by Yaakov Selkowitz
Modified: 2026-01-23 00:55 UTC (History)
19 users (show)

Fixed In Version: LLVM 21.1.8-2 llvm-21.1.8-3.fc43
Clone Of:
Environment:
Last Closed: 2026-01-16 16:08:59 UTC
Type: ---
Embargoed:
paumurph: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-2916 0 None None None 2026-01-07 16:51:30 UTC

Description Yaakov Selkowitz 2025-12-23 23:51:10 UTC
rust crashes when building clap as part of librsvg2 on ELN ppc64le:

https://koji.fedoraproject.org/koji/taskinfo?taskID=140321916

   Compiling clap v4.5.45
     Running `/usr/bin/rustc --crate-name clap --edition=2021 /builddir/build/BUILD/librsvg2-2.61.0-build/librsvg-2.61.0/vendor/clap-4.5.45/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=rust_2018_idioms '--warn=clippy::zero_sized_map_values' '--warn=clippy::verbose_file_reads' --warn=unused_qualifications --warn=unused_macro_rules --warn=unused_lifetimes --warn=unsafe_op_in_unsafe_fn --warn=unreachable_pub --allow=unnameable_types '--warn=clippy::uninlined_format_args' '--warn=clippy::trait_duplication_in_bounds' '--warn=clippy::todo' '--warn=clippy::string_lit_as_bytes' '--warn=clippy::string_add_assign' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::self_named_module_files' '--warn=clippy::same_functions_in_if_condition' '--allow=clippy::result_large_err' '--warn=clippy::rest_pat_in_fully_bound_structs' '--warn=clippy::ref_option_ref' '--warn=clippy::redundant_feature_names' '--warn=clippy::rc_mutex' '--warn=clippy::ptr_as_ptr' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::negative_feature_names' '--warn=clippy::needless_for_each' '--allow=clippy::needless_continue' '--warn=clippy::mutex_integer' '--allow=clippy::multiple_bound_locations' '--warn=clippy::mem_forget' '--warn=clippy::macro_use_imports' '--warn=clippy::lossy_float_literal' '--warn=clippy::linkedlist' '--allow=clippy::let_and_return' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_digit_groups' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--allow=clippy::if_same_then_else' '--warn=clippy::from_iter_instead_of_collect' '--warn=clippy::fn_params_excessive_bools' '--warn=clippy::float_cmp_const' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::fallible_impl_from' '--warn=clippy::explicit_into_iter_loop' '--warn=clippy::explicit_deref_methods' '--warn=clippy::expl_impl_clone_on_copy' '--warn=clippy::enum_glob_use' '--warn=clippy::empty_enum' '--warn=clippy::doc_markdown' '--warn=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--allow=clippy::collapsible_else_if' '--warn=clippy::checked_conversions' '--allow=clippy::branches_sharing_code' '--allow=clippy::bool_assert_comparison' '--allow=clippy::blocks_in_conditions' '--allow=clippy::assigning_clones' --cfg 'feature="help"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("cargo", "color", "debug", "default", "deprecated", "derive", "env", "error-context", "help", "std", "string", "suggestions", "unicode", "unstable-derive-ui-tests", "unstable-doc", "unstable-ext", "unstable-markdown", "unstable-styles", "unstable-v5", "usage", "wrap_help"))' -C metadata=4007c6bb4f4ee9c3 -C extra-filename=-041c22e1ae97a93e --out-dir /builddir/build/BUILD/librsvg2-2.61.0-build/librsvg-2.61.0/redhat-linux-build/target/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/librsvg2-2.61.0-build/librsvg-2.61.0/redhat-linux-build/target/release/deps --extern clap_builder=/builddir/build/BUILD/librsvg2-2.61.0-build/librsvg-2.61.0/redhat-linux-build/target/release/deps/libclap_builder-4ed86cb5200d1fb7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes`
error: rustc interrupted by SIGSEGV, printing backtrace
/lib64/librustc_driver-9a77b2735316cba2.so(+0x10007b0) [0x7fff7ea007b0]
linux-vdso64.so.1(__kernel_sigtramp_rt64+0x0) [0x7fff82fb0484]
/lib64/glibc-hwcaps/power10/libc.so.6(+0xe24c4) [0x7fff7d6e24c4]
/lib64/libLLVM.so.21.1(+0x59e0d0c) [0x7fff7b3e0d0c]
/lib64/libLLVM.so.21.1(+0x59dcee8) [0x7fff7b3dcee8]
/lib64/libLLVM.so.21.1(+0x69f6b1c) [0x7fff7c3f6b1c]
/lib64/libLLVM.so.21.1(+0x4b72ff4) [0x7fff7a572ff4]
/lib64/libLLVM.so.21.1(_ZN4llvm12SelectionDAG8LegalizeEv+0x30c) [0x7fff7a571dec]
/lib64/libLLVM.so.21.1(_ZN4llvm16SelectionDAGISel17CodeGenAndEmitDAGEv+0x7b4) [0x7fff7ab6fc94]
/lib64/libLLVM.so.21.1(_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERKNS_8FunctionE+0xd8c) [0x7fff7a6c220c]
/lib64/libLLVM.so.21.1(_ZN4llvm16SelectionDAGISel20runOnMachineFunctionERNS_15MachineFunctionE+0x174) [0x7fff7ac71ca4]
/lib64/libLLVM.so.21.1(+0x5271ad0) [0x7fff7ac71ad0]
/lib64/libLLVM.so.21.1(_ZN4llvm22SelectionDAGISelLegacy20runOnMachineFunctionERNS_15MachineFunctionE+0x11c) [0x7fff7af854ec]
/lib64/libLLVM.so.21.1(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x1c8) [0x7fff7ac5e308]
/lib64/libLLVM.so.21.1(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x8a0) [0x7fff7a7ac6e0]
/lib64/libLLVM.so.21.1(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x4c) [0x7fff7a7abc5c]
/lib64/libLLVM.so.21.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x348) [0x7fff7a7b02d8]
/lib64/libLLVM.so.21.1(_ZN4llvm6legacy11PassManager3runERNS_6ModuleE+0x1c) [0x7fff7a7aff6c]
/lib64/librustc_driver-9a77b2735316cba2.so(+0x46aff7c) [0x7fff820aff7c]
/lib64/librustc_driver-9a77b2735316cba2.so(+0x3f3e9d8) [0x7fff8193e9d8]
/lib64/librustc_driver-9a77b2735316cba2.so(+0x3f3fc10) [0x7fff8193fc10]
/lib64/librustc_driver-9a77b2735316cba2.so(+0x3f1612c) [0x7fff8191612c]
/lib64/librustc_driver-9a77b2735316cba2.so(_RINvNtNtCsct1lYG7Dt4L_3std3sys9backtrace28___rust_begin_short_backtraceNCINvXs0_CsiWT1CHBT2S0_18rustc_codegen_llvmNtB1g_18LlvmCodegenBackendNtNtNtCsjtDbXT3T7gM_17rustc_codegen_ssa6traits7backend19ExtraBackendMethods18spawn_named_threadNCINvNtNtB2k_4back5write10spawn_workB1O_E0uE0uEB1g_+0xd0) [0x7fff81912cb0]
/lib64/librustc_driver-9a77b2735316cba2.so(+0x3f230c4) [0x7fff819230c4]
/lib64/librustc_driver-9a77b2735316cba2.so(+0x464b440) [0x7fff8204b440]
/lib64/glibc-hwcaps/power10/libc.so.6(+0xae748) [0x7fff7d6ae748]
note: we would appreciate a report at https://github.com/rust-lang/rust
help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216
note: backtrace dumped due to SIGSEGV! resuming signal
error: could not compile `plotters` (lib)


Reproducible: Always

Comment 1 Fabio Valentini 2025-12-26 15:10:59 UTC
The log messages are interleaved, the issue is not in "clap" (it's just the last message that's printed), but in "plotters", see

> error: could not compile `plotters` (lib)

Comment 2 Fabio Valentini 2026-01-07 16:54:32 UTC
(Fixed bug title according to what actually happes.)

Comment 3 Paul Murphy 2026-01-14 16:05:11 UTC
This should be fixed by https://src.fedoraproject.org/rpms/llvm/pull-request/538, which should arrive with LLVM 21.1.8-2 (or newer).

Comment 4 Josh Stone 2026-01-15 19:14:45 UTC
The rawhide build is llvm-21.1.8-3.fc44, but I guess we need to wait for this to build in ELN too.

Comment 5 Yaakov Selkowitz 2026-01-16 16:08:59 UTC
Thanks, we finally got an ELN build (although a test failed on s390x which necessitated a retry, so it took a lot longer than it should have) and with that I was able to get a successful build of librsvg2:

https://koji.fedoraproject.org/koji/buildinfo?buildID=2893644

Comment 6 Fedora Update System 2026-01-20 09:56:39 UTC
FEDORA-2026-710f1e560c (llvm-21.1.8-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-710f1e560c

Comment 7 Fedora Update System 2026-01-21 00:52:27 UTC
FEDORA-2026-710f1e560c has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-710f1e560c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-710f1e560c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2026-01-23 00:55:03 UTC
FEDORA-2026-710f1e560c (llvm-21.1.8-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.