darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.55k stars 447 forks source link

use -DTARGET_i386=OFF cmake then: #1498

Open Mr-Ao-Dragon opened 8 months ago

Mr-Ao-Dragon commented 8 months ago

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
HGStyle commented 8 months ago

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