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

clang error: no such file or directory #1511

Open jerodg opened 7 months ago

jerodg commented 7 months ago

Build Log What is the build error?

clang: error: no such file or directory: '/devdrive/sdks/darling/build/src/external/xnu/darling/src/libsystem_kernel/emulation/linux/signal/mach_excUser.c'
clang: error: no input files
make[2]: *** [src/external/xnu/darling/src/libsystem_kernel/emulation/linux/CMakeFiles/emulation_dyld.dir/build.make:108: src/external/xnu/darling/src/libsystem_kernel/emulation/linux/CMakeFiles/emulation_dyld.dir/signal/mach_excUser.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:14691: src/external/xnu/darling/src/libsystem_kernel/emulation/linux/CMakeFiles/emulation_dyld.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

System Information What system are you building with?

Software Version
Ubuntu 24.04
Clang 18.1.3
CMake 3.28.3
Linux Kernel Linux 6.8.0-31-generic x86_64
Darling 7c8415e679b59641f9f7aede78ed0acb2972051f
CuriousTommy commented 6 months ago

Can you post the entire build log? This might be related to the same issue I'm encountering in Fedora 40.

CuriousTommy commented 6 months ago

@jerodg Can you test my mig_fix branch and tell me if it fixes your issue.