Build Information
Failed to build llbuild, reference 0.5.0 (5cd4df
), with Swift 5.9 for Linux on 16 Jul 2024 06:42:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-llbuild.git
Reference: 0.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swiftlang/swift-llbuild
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 5cd4df5 Merge pull request #731 from bnbarham/add-ninja-c-api
Cloned https://github.com/swiftlang/swift-llbuild.git
Revision (git rev-parse @):
5cd4df550b31301508a77064e3dfaa5c5628780e
SUCCESS checkout https://github.com/swiftlang/swift-llbuild.git at 0.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/swiftlang/swift-llbuild.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:94c03ecf5df463051a5b8bdec5d09f635a7b31b1b290e2ba09836b1f5f74db71
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/132] Compiling llvmSupport Valgrind.cpp
[1/132] Compiling llvmSupport UnicodeCaseFold.cpp
[2/132] Compiling llvmSupport circular_raw_ostream.cpp
[3/134] Compiling llvmSupport Twine.cpp
[4/134] Compiling llvmSupport Unicode.cpp
[5/134] Compiling llvmSupport Threading.cpp
[6/134] Compiling llvmSupport Triple.cpp
[7/134] Compiling llvmSupport raw_ostream.cpp
[8/134] Compiling llvmSupport StringSaver.cpp
[9/134] Compiling swift-build-tool main.cpp
[10/134] Compiling llvmSupport StringMap.cpp
[11/134] Compiling llvmSupport StringRef.cpp
[12/134] Compiling llvmSupport TargetParser.cpp
[13/134] Compiling llvmSupport YAMLParser.cpp
[14/134] Compiling llvmSupport StringExtras.cpp
[15/134] Compiling llvmSupport SmallVector.cpp
[16/134] Compiling llvmSupport SmallPtrSet.cpp
[17/134] Compiling llvmSupport Options.cpp
[18/134] Compiling llvmSupport Program.cpp
[19/134] Compiling llvmSupport SourceMgr.cpp
[20/134] Compiling llvmSupport NativeFormatting.cpp
[21/134] Compiling llvmSupport Process.cpp
[22/134] Compiling llvmSupport Signals.cpp
[23/134] Compiling llvmSupport MathExtras.cpp
[24/134] Compiling llvmSupport Mutex.cpp
[25/134] Compiling llvmSupport Path.cpp
[26/134] Compiling llvmSupport ManagedStatic.cpp
[27/134] Compiling llvmSupport Locale.cpp
[28/134] Compiling llvmSupport Memory.cpp
[29/134] Compiling llvmSupport MD5.cpp
[30/134] Compiling llvmSupport Hashing.cpp
[31/134] Compiling llvmSupport MemoryBuffer.cpp
[33/134] Compiling llbuildTestSupport XCTestCase+Extensions.swift
[34/134] Emitting module llbuildTestSupport
[34/135] Compiling llvmSupport FoldingSet.cpp
[37/136] Compiling llvmSupport FormatVariadic.cpp
[38/136] Compiling llvmSupport Errno.cpp
[39/136] Compiling llvmSupport Host.cpp
[40/136] Compiling llvmSupport FileUtilities.cpp
[41/136] Compiling llvmSupport ErrorHandling.cpp
[42/136] Compiling llvmSupport ConvertUTF.cpp
[43/136] Compiling llvmSupport Debug.cpp
[44/136] Compiling llvmSupport Atomic.cpp
[45/136] Compiling llvmSupport DJB.cpp
[46/136] Compiling llvmSupport Error.cpp
[47/136] Compiling llvmSupport ConvertUTFWrapper.cpp
[48/136] Compiling llvmSupport Allocator.cpp
[49/136] Compiling llvmSupport APSInt.cpp
[50/136] Compiling llvmSupport Chrono.cpp
[51/136] Compiling llvmDemangle MicrosoftDemangle.cpp
[52/136] Compiling llvmDemangle ItaniumDemangle.cpp
[53/136] Compiling llvmSupport APInt.cpp
[54/136] Compiling llvmSupport APFloat.cpp
[55/136] Compiling llbuildNinja Parser.cpp
[56/136] Compiling llbuildNinjaTests main.cpp
[57/136] Compiling llbuildNinja Lexer.cpp
[58/136] Compiling llbuildNinjaTests LexerTest.cpp
[59/136] Compiling llvmSupport CommandLine.cpp
[60/136] Compiling llbuildCoreTests main.cpp
[61/136] Compiling llbuildNinja Manifest.cpp
[62/136] Compiling llbuildNinja ManifestLoader.cpp
[63/136] Compiling llbuildNinjaTests ManifestTest.cpp
[64/136] Compiling llbuildEvo EvoEngine.cpp
[65/136] Compiling llbuildCore MakefileDepsParser.cpp
[66/136] Compiling llbuildCoreTests MakefileDepsParserTest.cpp
[67/136] Compiling llbuildCoreTests DependencyInfoParserTest.cpp
[68/136] Compiling llbuildCoreTests SQLiteBuildDBTest.cpp
[69/136] Compiling llbuildCore DependencyInfoParser.cpp
[70/136] Compiling llbuildCore SQLiteBuildDB.cpp
[71/136] Compiling llbuildCoreTests BuildEngineCancellationTest.cpp
[72/136] Compiling llbuildCoreTests DepsBuildEngineTest.cpp
[73/136] Compiling llbuildCore BuildEngineTrace.cpp
[74/136] Compiling llbuildCore BuildDB.cpp
[75/136] Compiling llbuildCommands CommandLineStatusOutput.cpp
[76/136] Compiling llbuildCommands CommandUtil.cpp
[77/136] Compiling llbuildBuildSystemTests main.cpp
[78/136] Compiling llbuildCommands BuildEngineCommand.cpp
[79/136] Compiling llbuildCore BuildEngine.cpp
[80/136] Compiling llbuildCommands NinjaCommand.cpp
[81/136] Compiling llbuildCoreTests BuildEngineTest.cpp
[82/136] Compiling llbuildCommands BuildSystemCommand.cpp
[83/136] Compiling llbuildBuildSystemTests TempDir.cpp
[84/136] Compiling llbuildCommands NinjaBuildCommand.cpp
[85/136] Compiling llbuildBuildSystemTests MockBuildSystemDelegate.cpp
[86/136] Compiling llbuildBuildSystem BuildValue.cpp
[87/136] Compiling llbuildBuildSystemTests BuildValueTest.cpp
[88/136] Compiling llbuildBuildSystem ShellCommand.cpp
[89/136] Compiling llbuildBuildSystem ExternalCommand.cpp
[90/136] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[91/136] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
[92/136] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[93/136] Compiling llbuildBuildSystem BuildNode.cpp
[94/136] Compiling llbuildBuildSystem BuildKey.cpp
[95/136] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
[96/136] Compiling llbuildBasicTests main.cpp
[97/136] Compiling llbuildBuildSystem BuildDescription.cpp
[98/136] Compiling llbuildBasicTests TempDir.cpp
[99/136] Compiling llbuildBasicTests SerialQueueTest.cpp
[100/136] Compiling llbuildBasicTests ShellUtilityTest.cpp
[101/136] Compiling llbuildBuildSystem BuildFile.cpp
[102/136] Compiling llbuildBasic Version.cpp
[103/136] Compiling llbuildBasicTests POSIXEnvironmentTest.cpp
[104/136] Compiling llbuildBasic Tracing.cpp
[105/136] Compiling llbuildBasicTests Defer.cpp
[106/136] Compiling llbuildBasic ShellUtility.cpp
[107/136] Compiling llbuildBasicTests BinaryCodingTests.cpp
[108/136] Compiling llbuildBasicTests FileSystemTest.cpp
[109/136] Compiling llbuildBasicTests LaneBasedExecutionQueueTest.cpp
[110/136] Compiling llbuildBasic PlatformUtility.cpp
[111/136] Compiling llbuildBasic Subprocess.cpp
[112/136] Compiling llbuildBasic Hashing.cpp
[113/136] Compiling llbuildBasic SerialQueue.cpp
[114/136] Compiling llbuildBuildSystem BuildSystem.cpp
[115/136] Compiling llbuildBasic FileSystem.cpp
[116/136] Compiling llbuildBasic FileInfo.cpp
[117/136] Compiling llbuild main.cpp
[118/136] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[119/136] Compiling llbuildBasic ExecutionQueue.cpp
[120/136] Compiling libllbuild C-API.cpp
[121/136] Compiling libllbuild Ninja-C-API.cpp
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: cannot find -lncurses
lib/llvm/Support/Unix/Process.inc:336: error: undefined reference to 'setupterm'
lib/llvm/Support/Unix/Process.inc:354: error: undefined reference to 'tigetnum'
lib/llvm/Support/Unix/Process.inc:358: error: undefined reference to 'set_curterm'
lib/llvm/Support/Unix/Process.inc:359: error: undefined reference to 'del_curterm'
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
error: fatalError
[122/136] Linking swift-build-tool
[122/136] Compiling libllbuild BuildValue-C-API.cpp
[122/136] Compiling gtestlib gtest-all.cc
[122/136] Compiling libllbuild Core-C-API.cpp
[122/136] Compiling libllbuild BuildKey-C-API.cpp
[122/136] Compiling libllbuild BuildDB-C-API.cpp
[122/136] Compiling libllbuild BuildSystem-C-API.cpp
/usr/bin/ld.gold: error: cannot find -lncurses
[122/136] Linking llbuild
BUILD FAILURE 5.9 linux