bandwhich icon indicating copy to clipboard operation
bandwhich copied to clipboard

failed to run custom build command for `bandwhich v0.20.0`

Open ket000 opened this issue 4 years ago • 1 comments

Trying to build bandwhich on windows using cargo install bandwhich

Getting below error.

Caused by: process didn't exit successfully: C:\Users\xxx~1\AppData\Local\Temp\cargo-install2CUw6c\release\build\bandwhich-e4dc500439890925\build-script-build (exit code: 101) --- stdout cargo:rerun-if-changed=build.rs

--- stderr thread 'main' panicked at 'called Result::unwrap() on an Err value: InvalidArchive("Could not find central directory end")', C:\Users\xxx.cargo\registry\src\github.com-1ecc6299db9ec823\bandwhich-0.20.0\build.rs:37:57 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to compile bandwhich v0.20.0, intermediate artifacts can be found at C:\Users\xxx~1\AppData\Local\Temp\cargo-install2CUw6c

Caused by: build failed

ket000 avatar Mar 28 '22 22:03 ket000

fixing the path to npcap as outlined in #234 does resolve the build. I just ran cargo install bandwhich --offline after modifying the build script and it ran through without this error.

ScriptingDad avatar Jul 11 '22 14:07 ScriptingDad

Fixed in #273. See also #275.

cyqsimon avatar Aug 25 '23 08:08 cyqsimon