Skip to content

[homebrew] rust 1.73.0 failed to build on 12-arm #117299

Closed
@chenrui333

Description

@chenrui333

We've got a weird error while trying to upgrade rust to 1.73.0. The error seems only happened in 12-arm build:

  thread 'main' panicked at 'could not read dir "/private/tmp/rust-20231026-5378-1tb0p4o/rustc-1.73.0-src/build/aarch64-apple-darwin/stage0/lib/rustlib/aarch64-apple-darwin/codegen-backends": Os { code: 2, kind: NotFound, message: "No such file or directory" }', lib.rs:1714:25

Some host toolchain:

Clang: 14.0.0 build 1400
macOS: 12.6.3-arm64

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/6660485676/job/18101828627?pr=149754
relates to Homebrew/homebrew-core#149754

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-macosOperating system: macOST-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions