HVM icon indicating copy to clipboard operation
HVM copied to clipboard

`cargo install hvm` fails on MacOS 13.6.3

Open tintor opened this issue 1 year ago • 1 comments

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

tintor avatar Jul 10 '24 16:07 tintor

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?

edusporto avatar Jul 10 '24 16:07 edusporto