Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

carge metadata error on MacOS 12 (x86_64) #14387

Closed
daeho-ro opened this issue Aug 11, 2024 · 4 comments
Closed

carge metadata error on MacOS 12 (x86_64) #14387

daeho-ro opened this issue Aug 11, 2024 · 4 comments
Labels
C-bug Category: bug O-macos OS: macOS S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request.

Comments

@daeho-ro
Copy link

daeho-ro commented Aug 11, 2024

Problem

Tried to build a python package maturin on MacOS 12 (x86_64) but it is failed.

Error:

cargo metadata --manifest-path Cargo.toml --format-version 1 --locked

Can anyone help to figure why this happen? Thanks,

Steps

  1. git clone https://github.com/PyO3/maturin.git
  2. cd maturin
  3. git checkout tags/v1.7.0 -b temp
  4. cargo metadata --manifest-path Cargo.toml --format-version 1 --locked
  5. error: cargo metadata --manifest-path Cargo.toml --format-version 1 --locked failed with code -6

Possible Solution(s)

No response

Notes

No response

Version

1.79.0
@daeho-ro daeho-ro added C-bug Category: bug S-triage Status: This issue is waiting on initial triage. labels Aug 11, 2024
@weihanglo
Copy link
Member

Could you provide some information for helping the investigation:

  • The complete reproduction steps. Note that you provide a git clone without pinning to a commit. That may introduce uncertainty when reproducing it.
  • The actual errro output you got.
  • The way you installed the Rust toolchain. And where is the cargo executable located.

@weihanglo weihanglo added the S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request. label Aug 11, 2024
@workingjubilee
Copy link
Member

Latest commit to maturin is PyO3/maturin@dd301e1

@daeho-ro
Copy link
Author

@weihanglo I have updated the steps. rust is installed through homebrew,

brew install rust

and the location looks like /usr/local/Cellar/rust.

@weihanglo weihanglo added O-macos OS: macOS and removed S-triage Status: This issue is waiting on initial triage. labels Aug 12, 2024
@daeho-ro
Copy link
Author

On the same condition but 1.81 looks like working and so please ignore this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug O-macos OS: macOS S-needs-info Status: Needs more info, such as a reproduction or more background for a feature request.
Projects
None yet
Development

No branches or pull requests

3 participants