moksha icon indicating copy to clipboard operation
moksha copied to clipboard

Build fails on win x86_64

Open ngutech21 opened this issue 2 years ago • 0 comments

fedimint ring library can not be built on win x86_64

error: failed to run custom build command for ring v0.16.20 (https://github.com/dpc/ring?rev=5493e7e76d0d8fb1d3cbb0be9c4944700741b802#5493e7e7)`

Caused by: process didn't exit successfully: D:\a\moksha\moksha\target\dist\build\ring-cf80674e836a91c2\build-script-build (exit code: 101) --- stderr running "perl" "crypto/fipsmodule/aes/asm/aesni-x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/aesni-x86_64-nasm.asm" running "perl" "crypto/fipsmodule/aes/asm/vpaes-x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/vpaes-x86_64-nasm.asm" running "perl" "crypto/fipsmodule/bn/asm/x86_64-mont.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/x86_64-mont-nasm.asm" running "perl" "crypto/fipsmodule/bn/asm/x86_64-mont5.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/x86_64-mont5-nasm.asm" running "perl" "crypto/chacha/asm/chacha-x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/chacha-x86_64-nasm.asm" running "perl" "crypto/fipsmodule/ec/asm/p256-x86_64-asm.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/p256-x86_64-asm-nasm.asm" running "perl" "crypto/fipsmodule/modes/asm/aesni-gcm-x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/aesni-gcm-x86_64-nasm.asm" running "perl" "crypto/fipsmodule/modes/asm/ghash-x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/ghash-x86_64-nasm.asm" running "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/sha512-x86_64-nasm.asm" running "perl" "crypto/cipher_extra/asm/chacha20_poly1305_x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/chacha20_poly1305_x86_64-nasm.asm" running "perl" "crypto/fipsmodule/sha/asm/sha512-x86_64.pl" "nasm" "D:/a/moksha/moksha/target/x86_64-pc-windows-msvc/dist/build/ring-b5f50d65a6fcecca/out/sha256-x86_64-nasm.asm" running "./target/tools/nasm" "-o" "D:\a\moksha\moksha\target\x86_64-pc-windows-msvc\dist\build\ring-b5f50d65a6fcecca\out\aesni-x86_64-nasm.obj" "-f" "win64" "-Xgnu" "-gcv8" "D:\a\moksha\moksha\target\x86_64-pc-windows-msvc\dist\build\ring-b5f50d65a6fcecca\out\aesni-x86_64-nasm.asm" thread 'main' panicked at C:\Users\runneradmin.cargo\git\checkouts\ring-aabf124e540a679d\5493e7e\build.rs:653:9: failed to execute ["./target/tools/nasm" "-o" "D:\a\moksha\moksha\target\x86_64-pc-windows-msvc\dist\build\ring-b5f50d65a6fcecca\out\aesni-x86_64-nasm.obj" "-f" "win64" "-Xgnu" "-gcv8" "D:\a\moksha\moksha\target\x86_64-pc-windows-msvc\dist\build\ring-b5f50d65a6fcecca\out\aesni-x86_64-nasm.asm"]: The system cannot find the path specified. (os error 3) note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... × failed to find bin moksha-cli (moksha-wallet 0.1.2 (path+file:///D:/a/ │ moksha/moksha/moksha-wallet)) -- did the cargo build above have errors?`

ngutech21 avatar Oct 22 '23 21:10 ngutech21