sonic-pi-tool icon indicating copy to clipboard operation
sonic-pi-tool copied to clipboard

Build failure MacOS Monterey 12.4

Open Bubobubobubobubo opened this issue 2 years ago • 1 comments

Hi,

The build fails on my OS. Cargo 1.56.0, rustc 1.56.1. Here are some logs:

error[E0282]: type annotations needed
   --> src/lib.rs:111:13
    |
111 |             execv(cmd, &[]).unwrap_or_else(|_| panic!("Unable to start {}", *p))
    |             ^^^^^ cannot infer type for type parameter `S` declared on the function `execv`

For more information about this error, try `rustc --explain E0282`.
error: could not compile `sonic-pi-tool` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `sonic-pi-tool v0.1.0 (https://github.com/lpil/sonic-pi-tool/#48265a12)`, intermediate artifacts can be found at `/var/folders/zq/nwpwzg_s2rq87xq7zggqfvhw0000gn/T/cargo-installtpNTv9`

Caused by:
  build failed

I don't really know what can be the cause of it. I think that my rustc and cargo version are pretty standard and I very rarely use these tools.

Bubobubobubobubo avatar Jul 01 '22 09:07 Bubobubobubobubo

running the installation on an older commit worked for me: cargo install --git https://github.com/lpil/sonic-pi-tool/ --rev=3f1b64e9f08d6a55fbd9c94e6f5464452f0f1154 --force

tloureiro avatar Aug 11 '22 14:08 tloureiro