Skip to content

Rust 1.73.0 failed to build on Monterey arm #152108

Closed
@chenrui333

Description

@chenrui333

brew gist-logs <formula> link OR brew config AND brew doctor output

Building stage0 library artifacts (aarch64-apple-darwin)
      Finished release [optimized] target(s) in 0.24s
  thread 'main' panicked at 'could not read dir "/private/tmp/rust-20231019-5370-1ajvakf/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

relates to #149754

Verification

  • My "brew doctor output" says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

rust 1.73.0 formula upgrade

What happened (include all command output)?

failed to build

What did you expect to happen?

build should pass

Step-by-step reproduction instructions (by running brew commands)

- run `brew install -s rust` on Monterey arm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReproducible Homebrew/homebrew-core bugoutdatedPR was locked due to agestaleNo recent activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions