darling icon indicating copy to clipboard operation
darling copied to clipboard

use -DTARGET_i386=OFF cmake then:

Open Mr-Ao-Dragon opened this issue 11 months ago • 1 comments

Build Log What is the build error?

[ 18%] Generating test_data.h
Traceback (most recent call last):
File "/home/mraodragon/repos/darling/src/external/corecrypto/tests/../scripts/generate-test-data.py", line 5, in <module>
from cryptography.hazmat.backends import default_backend
ImportError: No module named cryptography.hazmat.backends
make[2]: *** [src/external/corecrypto/tests/CMakeFiles/generate_test_data.dir/build.make:73:src/external/corecrypto/tests/test_data.h] 错误 1
make[1]: *** [CMakeFiles/Makefile2:20867:src/external/corecrypto/tests/CMakeFiles/generate_test_data.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2

System Information What system are you building with? image

Software Version
Clang 17.0.6
CMake 3.28.3
Linux Kernel 6.7.6
Darling 25afbc76428c39c3909e9efcf5caef1140425211

Mr-Ao-Dragon avatar Mar 24 '24 00:03 Mr-Ao-Dragon

Try to install Python if you don't have it and run pip install cryptography.

HGStyle avatar Mar 27 '24 17:03 HGStyle