HigherOrderCO / HVM

A massively parallel, optimal functional runtime in Rust
https://higherorderco.com
Apache License 2.0
10.52k stars 400 forks source link

`cargo install hvm` fails on MacOS 13.6.3 #404

Open tintor opened 4 months ago

tintor commented 4 months ago

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

Additional context

No response

edusporto commented 4 months ago

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?