Build fails in clean chroot:
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- Found UUID: /usr/include
-- Found Git: /usr/bin/git (found version "2.39.2")
-- Swift version: 5.9
-- Swift vendor:
-- Swift compiler version:
-- Embedded clang compiler version:
-- Not building SwiftMacros because swift-syntax is not available
-- Not building ObservationMacros because swift-syntax is not available
-- Using Experimental String Processing library for libswift _RegexParser (/build/swift-language-git/src/swift-experimental-string-processing).
-- Looking for include file xpc/xpc.h
-- Looking for include file xpc/xpc.h - not found
-- Skipping creating early SwiftDriver symlinks - no early SwiftDriver build found.
CMake Error at cmake/modules/AddSwift.cmake:979 (llvm_add_tool_symlink):
Unknown CMake command "llvm_add_tool_symlink".
Call Stack (most recent call first):
tools/driver/CMakeLists.txt:117 (add_swift_tool_symlink)
-- Configuring incomplete, errors occurred!
See also "/build/swift-language-git/src/build/buildbot_linux/swift-linux-x86_64/CMakeFiles/CMakeOutput.log".
See also "/build/swift-language-git/src/build/buildbot_linux/swift-linux-x86_64/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /home/remorin/chroot/remorin/build
[ble: exit 255][ble: elapsed 3h13m14s (CPU 387.8%)] makechrootpkg -c -r $CHROOT
[remorin@chuwawa:0 swift-language-git]$
Pinned Comments
soloturn commented on 2020-10-09 07:35 (UTC) (edited on 2023-02-05 07:34 (UTC) by soloturn)
to speed up check out of the repositories, use sparse checkout, e.g.: