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 errors on Alpine #1509

Open
yanecc opened this issue Apr 19, 2024 · 2 comments
Open

Build errors on Alpine #1509

yanecc opened this issue Apr 19, 2024 · 2 comments

Comments

@yanecc
Copy link

yanecc commented Apr 19, 2024

Well, I attempted to build Darling on Alpine in WSL, but unfortunately, it failed. I’d like to know the simplest method currently available for using Darling. If I was to build it in WSL, which system should I use?

Build Log

Including component: stock
Including component: cli
Including component: python
Including component: ruby
Including component: perl
Including component: dev_gui_common
Including component: dev_gui_frameworks_common
Including component: dev_gui_stubs_common
Including component: gui_frameworks
Including component: gui_stubs
Including component: system
Including component: core
Including component: gui
Including component: iokitd
Python 2 not available; bytecode compilation is disabled
-- Could NOT find Vulkan (missing: Vulkan_LIBRARY Vulkan_INCLUDE_DIR) (found version "")
Did not find required libraries (Vulkan and LLVM); building without Metal support
CMake Warning at cmake/dsym.cmake:48 (message):
  Cannot find llvm-dsymutil, will not produce debug information
Call Stack (most recent call first):
  CMakeLists.txt:174 (FindDsymutil)


-- Compiler include path detected as /usr/lib/clang/13.0.1/include/
CMake Error at src/CMakeLists.txt:67 (add_subdirectory):
  add_subdirectory given source "external/cctools-port/cctools/ld64/src"
  which is not an existing directory.


CMake Error at src/CMakeLists.txt:68 (add_subdirectory):
  add_subdirectory given source "external/cctools-port/cctools/ar" which is
  not an existing directory.


CMake Error at src/CMakeLists.txt:70 (add_subdirectory):
  add_subdirectory given source "external/cctools-port/cctools/misc" which is
  not an existing directory.


CMake Error at src/CMakeLists.txt:80 (add_subdirectory):
  The source directory

    /root/darling/src/external/darlingserver

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:85 (add_subdirectory):
  The source directory

    /root/darling/src/external/bootstrap_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:136 (add_subdirectory):
  The source directory

    /root/darling/src/external/libkqueue

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:139 (add_subdirectory):
  add_subdirectory given source "external/xnu/darling/src/libsystem_kernel"
  which is not an existing directory.


CMake Error at src/CMakeLists.txt:141 (add_subdirectory):
  The source directory

    /root/darling/src/external/libplatform

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:142 (add_subdirectory):
  The source directory

    /root/darling/src/external/libpthread

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:143 (add_subdirectory):
  The source directory

    /root/darling/src/external/libtrace

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:144 (add_subdirectory):
  The source directory

    /root/darling/src/external/libc

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:150 (add_subdirectory):
  The source directory

    /root/darling/src/external/libstdcxx

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:160 (add_subdirectory):
  The source directory

    /root/darling/src/external/dyld

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:161 (add_subdirectory):
  The source directory

    /root/darling/src/external/libxpc

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:163 (add_subdirectory):
  The source directory

    /root/darling/src/external/copyfile

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:164 (add_subdirectory):
  The source directory

    /root/darling/src/external/Libinfo

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:165 (add_subdirectory):
  add_subdirectory given source "external/compiler-rt/lib/builtins" which is
  not an existing directory.


CMake Error at src/CMakeLists.txt:166 (add_subdirectory):
  The source directory

    /root/darling/src/external/libnotify

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:169 (add_subdirectory):
  The source directory

    /root/darling/src/external/libclosure

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:170 (add_subdirectory):
  The source directory

    /root/darling/src/external/keymgr

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:171 (add_subdirectory):
  The source directory

    /root/darling/src/external/libunwind

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:172 (add_subdirectory):
  The source directory

    /root/darling/src/external/libmalloc

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:173 (add_subdirectory):
  The source directory

    /root/darling/src/external/coretls

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:175 (add_subdirectory):
  The source directory

    /root/darling/src/external/removefile

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:178 (add_subdirectory):
  The source directory

    /root/darling/src/external/corecrypto

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:179 (add_subdirectory):
  The source directory

    /root/darling/src/external/commoncrypto

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:182 (add_subdirectory):
  The source directory

    /root/darling/src/external/configd

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:183 (add_subdirectory):
  The source directory

    /root/darling/src/external/libsystem

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:184 (add_subdirectory):
  add_subdirectory given source "external/objc4/runtime" which is not an
  existing directory.


CMake Error at src/CMakeLists.txt:185 (add_subdirectory):
  The source directory

    /root/darling/src/external/corefoundation

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:186 (add_subdirectory):
  add_subdirectory given source "external/icu/icuSources" which is not an
  existing directory.


CMake Error at src/CMakeLists.txt:187 (add_subdirectory):
  The source directory

    /root/darling/src/external/csu

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:188 (add_subdirectory):
  The source directory

    /root/darling/src/external/libresolv

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:190 (add_subdirectory):
  The source directory

    /root/darling/src/external/bsm

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:191 (add_subdirectory):
  The source directory

    /root/darling/src/external/zlib

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:197 (add_subdirectory):
  The source directory

    /root/darling/src/external/libedit

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:198 (add_subdirectory):
  The source directory

    /root/darling/src/external/ncurses

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:210 (add_subdirectory):
  The source directory

    /root/darling/src/external/libiconv

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:211 (add_subdirectory):
  The source directory

    /root/darling/src/external/bzip2

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:213 (add_subdirectory):
  add_subdirectory given source "external/libarchive/libarchive" which is not
  an existing directory.


CMake Error at src/CMakeLists.txt:214 (add_subdirectory):
  The source directory

    /root/darling/src/external/liblzma

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:215 (add_subdirectory):
  The source directory

    /root/darling/src/external/OpenDirectory

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:216 (add_subdirectory):
  The source directory

    /root/darling/src/external/openssl_certificates

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:217 (add_subdirectory):
  The source directory

    /root/darling/src/external/bash

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:218 (add_subdirectory):
  The source directory

    /root/darling/src/external/zsh

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:220 (add_subdirectory):
  The source directory

    /root/darling/src/external/files

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:221 (add_subdirectory):
  The source directory

    /root/darling/src/external/crontabs

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:228 (add_subdirectory):
  The source directory

    /root/darling/src/external/darling-dmg

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:229 (add_subdirectory):
  The source directory

    /root/darling/src/external/libutil

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:231 (add_subdirectory):
  The source directory

    /root/darling/src/external/libxslt

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:232 (add_subdirectory):
  add_subdirectory given source "external/openssl/src" which is not an
  existing directory.


CMake Error at src/CMakeLists.txt:233 (add_subdirectory):
  The source directory

    /root/darling/src/external/nghttp2

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:234 (add_subdirectory):
  The source directory

    /root/darling/src/external/passwordserver_sasl

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:235 (add_subdirectory):
  The source directory

    /root/darling/src/external/curl

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:236 (add_subdirectory):
  The source directory

    /root/darling/src/external/OpenLDAP

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:237 (add_subdirectory):
  The source directory

    /root/darling/src/external/pcre

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:238 (add_subdirectory):
  The source directory

    /root/darling/src/external/libtelnet

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:239 (add_subdirectory):
  The source directory

    /root/darling/src/external/remote_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:240 (add_subdirectory):
  The source directory

    /root/darling/src/external/IOKitTools

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:241 (add_subdirectory):
  The source directory

    /root/darling/src/external/apr

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:243 (add_subdirectory):
  add_subdirectory given source "external/file/file" which is not an existing
  directory.


CMake Error at src/CMakeLists.txt:244 (add_subdirectory):
  The source directory

    /root/darling/src/external/shell_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:245 (add_subdirectory):
  The source directory

    /root/darling/src/external/file_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:247 (add_subdirectory):
  The source directory

    /root/darling/src/external/adv_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:248 (add_subdirectory):
  The source directory

    /root/darling/src/external/network_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:250 (add_subdirectory):
  The source directory

    /root/darling/src/external/mail_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:251 (add_subdirectory):
  The source directory

    /root/darling/src/external/doc_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:252 (add_subdirectory):
  The source directory

    /root/darling/src/external/basic_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:253 (add_subdirectory):
  The source directory

    /root/darling/src/external/misc_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:254 (add_subdirectory):
  The source directory

    /root/darling/src/external/patch_cmds

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:255 (add_subdirectory):
  The source directory

    /root/darling/src/external/less

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:256 (add_subdirectory):
  The source directory

    /root/darling/src/external/grep

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:257 (add_subdirectory):
  The source directory

    /root/darling/src/external/awk

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:258 (add_subdirectory):
  The source directory

    /root/darling/src/external/groff

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:259 (add_subdirectory):
  The source directory

    /root/darling/src/external/nano

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:260 (add_subdirectory):
  The source directory

    /root/darling/src/external/man

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:261 (add_subdirectory):
  The source directory

    /root/darling/src/external/bc

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:262 (add_subdirectory):
  The source directory

    /root/darling/src/external/zip

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:263 (add_subdirectory):
  The source directory

    /root/darling/src/external/installer

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:264 (add_subdirectory):
  The source directory

    /root/darling/src/external/bind9

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:265 (add_subdirectory):
  The source directory

    /root/darling/src/external/netcat

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:266 (add_subdirectory):
  The source directory

    /root/darling/src/external/gpatch

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:267 (add_subdirectory):
  The source directory

    /root/darling/src/external/gnudiff

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:268 (add_subdirectory):
  The source directory

    /root/darling/src/external/openssh

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:270 (add_subdirectory):
  The source directory

    /root/darling/src/external/screen

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:272 (add_subdirectory):
  The source directory

    /root/darling/src/external/rsync

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:273 (add_subdirectory):
  The source directory

    /root/darling/src/external/DSTools

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:277 (add_subdirectory):
  The source directory

    /root/darling/src/external/lzfse

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:291 (add_subdirectory):
  The source directory

    /root/darling/src/external/libffi

  does not contain a CMakeLists.txt file.


CMake Error at src/CMakeLists.txt:302 (add_subdirectory):
  The source directory

    /root/darling/src/external/libxml2

  does not contain a CMakeLists.txt file.


CMake Error at src/external/foundation/CMakeLists.txt:3 (remove_sdk_framework):
  Unknown CMake command "remove_sdk_framework".


-- Configuring incomplete, errors occurred!
See also "/root/darling/build/CMakeFiles/CMakeOutput.log".
See also "/root/darling/build/CMakeFiles/CMakeError.log".

System Information
Alpine 3.16

Software Version
Clang 13.0.1
CMake 3.23.5
Linux Kernel 5.15.146.1-microsoft-standard-WSL2
Darling 7c8415e
@CuriousTommy
Copy link
Contributor

Did you do a recursive clone? Darling relies on multiple sub-modules.

@yanecc
Copy link
Author

yanecc commented Apr 19, 2024

Did you do a recursive clone? Darling relies on multiple sub-modules.

Yes, I have run git submodule update --init --recursive.

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

2 participants