[Bug 291479] Rust failed to build 191.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Dec 2025 02:49:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291479

            Bug ID: 291479
           Summary: Rust failed to build 191.1
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: baillie.joshua@gmail.com

thread 'main' panicked at
/usr/ports/lang/rust/work/rustc-1.91.1-src/vendor/cmake-0.1.54/src/lib.rs:1119:5:

command did not execute successfully, got: exit status: 137

build script failed, must exit now
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: cmake::fail
   3: cmake::run
   4: cmake::Config::build
   5: <bootstrap::core::build_steps::llvm::Llvm as
bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/llvm.rs:540:13
   6: bootstrap::core::builder::Builder::ensure
             at ./src/bootstrap/src/core/builder/mod.rs:1792:36
   7: <bootstrap::core::build_steps::compile::Assemble as
bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/compile.rs:2020:69
   8: bootstrap::core::builder::Builder::ensure
             at ./src/bootstrap/src/core/builder/mod.rs:1792:36
   9: bootstrap::core::builder::Builder::compiler
             at ./src/bootstrap/src/core/builder/mod.rs:1362:14
  10: bootstrap::core::build_steps::doc::prepare_doc_compiler
             at ./src/bootstrap/src/core/build_steps/doc.rs:825:34
  11: <bootstrap::core::build_steps::doc::TheBook as
bootstrap::core::builder::Step>::make_run
             at ./src/bootstrap/src/core/build_steps/doc.rs:225:29
  12: bootstrap::core::builder::StepDescription::maybe_run
             at ./src/bootstrap/src/core/builder/mod.rs:533:13
  13: bootstrap::core::builder::StepDescription::run
             at ./src/bootstrap/src/core/builder/mod.rs:585:26
  14: bootstrap::core::builder::Builder::run_step_descriptions
             at ./src/bootstrap/src/core/builder/mod.rs:1335:9
  15: bootstrap::core::builder::Builder::run_default_doc_steps
             at ./src/bootstrap/src/core/builder/mod.rs:1319:14
  16: <bootstrap::core::build_steps::dist::Docs as
bootstrap::core::builder::Step>::run
             at ./src/bootstrap/src/core/build_steps/dist.rs:83:17
  17: bootstrap::core::builder::Builder::ensure
             at ./src/bootstrap/src/core/builder/mod.rs:1792:36
  18: <bootstrap::core::build_steps::dist::Docs as
bootstrap::core::builder::Step>::make_run
             at ./src/bootstrap/src/core/build_steps/dist.rs:74:21
  19: bootstrap::core::builder::StepDescription::maybe_run
             at ./src/bootstrap/src/core/builder/mod.rs:533:13
  20: bootstrap::core::builder::StepDescription::run
             at ./src/bootstrap/src/core/builder/mod.rs:585:26
  21: bootstrap::core::builder::Builder::run_step_descriptions
             at ./src/bootstrap/src/core/builder/mod.rs:1335:9
  22: bootstrap::core::builder::Builder::execute_cli
             at ./src/bootstrap/src/core/builder/mod.rs:1314:14
  23: bootstrap::Build::build
             at ./src/bootstrap/src/lib.rs:803:25
  24: bootstrap::main
             at ./src/bootstrap/src/bin/main.rs:130:11
  25: core::ops::function::FnOnce::call_once
             at
/wrkdirs/usr/ports/lang/rust-bootstrap/work-aarch64/rustc-1.90.0-src/library/core/src/ops/function.rs:253:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose
backtrace.
        finished in 18794.419 seconds
Traceback (most recent call last):
  File "/usr/ports/lang/rust/work/rustc-1.91.1-src/x.py", line 53, in <module>
    bootstrap.main()
  File "/usr/ports/lang/rust/work/rustc-1.91.1-src/src/bootstrap/bootstrap.py",
line 1389, in main
    bootstrap(args)
  File "/usr/ports/lang/rust/work/rustc-1.91.1-src/src/bootstrap/bootstrap.py",
line 1364, in bootstrap
    run(args, env=env, verbose=build.verbose, is_bootstrap=True)
  File "/usr/ports/lang/rust/work/rustc-1.91.1-src/src/bootstrap/bootstrap.py",
line 237, in run
    raise RuntimeError(err)
RuntimeError: failed to run:
/usr/ports/lang/rust/work/_build/bootstrap/debug/bootstrap dist --jobs=6
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.