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

Build fails on win x86_64 #159

Open
ngutech21 opened this issue Oct 22, 2023 · 0 comments
Open

Build fails on win x86_64 #159

ngutech21 opened this issue Oct 22, 2023 · 0 comments

Comments

@ngutech21
Copy link
Owner

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?`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant