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

cargo install hvm fails on MacOS 13.6.3 #404

Open
tintor opened this issue Jul 10, 2024 · 1 comment
Open

cargo install hvm fails on MacOS 13.6.3 #404

tintor opened this issue Jul 10, 2024 · 1 comment

Comments

@tintor
Copy link

tintor commented Jul 10, 2024

Reproducing the behavior

cargo install hvm

    Updating crates.io index
  Installing hvm v2.0.21
    Updating crates.io index
     Locking 29 packages to latest compatible versions
      Adding hermit-abi v0.3.9 (latest: v0.4.0)
   Compiling libc v0.2.155
   Compiling utf8parse v0.2.2
   Compiling colorchoice v1.0.1
   Compiling is_terminal_polyfill v1.70.0
   Compiling anstyle-query v1.1.0
   Compiling anstyle v1.0.7
   Compiling clap_lex v0.7.1
   Compiling strsim v0.11.1
   Compiling anstyle-parse v0.2.4
   Compiling cc v1.1.0
   Compiling highlight_error v0.1.1
   Compiling TSPL v0.0.12
error: failed to run custom build command for `libc v0.2.155`

Caused by:
  could not execute process `/var/folders/6d/fm2xxcd54cb84zbd2drr11v80000gn/T/cargo-installDMIA97/release/build/libc-7deb5b7ceb466c9c/build-script-build` (never executed)

Caused by:
  No such file or directory (os error 2)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `hvm v2.0.21`, intermediate artifacts can be found at `/var/folders/6d/fm2xxcd54cb84zbd2drr11v80000gn/T/cargo-installDMIA97`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

System Settings

  • OS: [MacOS 13.6.3]
  • CPU: [4.2 GHz Quad-Core Intel Core i7]

Additional context

No response

@edusporto
Copy link
Contributor

This doesn't seem to be an HVM specific issue.

I've looked up the error you got and found this discussion; it seems like your computer is not allowing build-script-build to run. The person in this discussion is using a security software called F-Secure, are you also using it? Could you try restarting your computer like they did?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants