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

Installing on windows with gnu fails at random times with an error about a missing build script #135

Open
DJ-Dav opened this issue Mar 1, 2023 · 2 comments
Labels
invalid This doesn't seem right upstream This bug is caused by a bug in an upstream dependency

Comments

@DJ-Dav
Copy link

DJ-Dav commented Mar 1, 2023

Running the command cargo install -f cargo-binutils
gives the following error message:
error: failed to run custom build command for quote v1.0.23

Caused by:
could not execute process "\AppData\Local\Temp\cargo-installurqU3j\release\build\quote-0cc442527a6b4d49\build-script-build" (never executed)

Caused by:
The system cannot find the file specified. (os error 2)
warning: build failed, waiting for other jobs to finish...
error: failed to compile "cargo-binutils v0.3.6", intermediate artifacts can be found at...

It successfully compiles a few crates before failing, the number of successful crates compiling varies, but the error is always the same.

@Emilgardis
Copy link
Member

Emilgardis commented Mar 1, 2023

This error suggests something wrong with your toolchain, but it's as you suggested in issue 46 not a problem from cargo-binutils but with cargo.

I'd recommend opening an issue on https://github.com/rust-lang/cargo or chiming in on rust-lang/cargo#9902 which seems related (and with possible solutions)

this is not something we can control

@Emilgardis Emilgardis added invalid This doesn't seem right upstream This bug is caused by a bug in an upstream dependency labels Mar 1, 2023
@toothbrush7777777
Copy link
Contributor

Sounds like it could be something to do with your anti-virus software to me. In particular, when I used McAfee in the past, I used to have similar problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right upstream This bug is caused by a bug in an upstream dependency
Projects
None yet
Development

No branches or pull requests

3 participants