The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build llbuild, reference 0.5.0 (5cd4df), with Swift 5.10 for Linux on 16 Jul 2024 06:29:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $workDir
https://github.com/swiftlang/swift-llbuild.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:2616150e65f8b5d336ef2ff8828ee78d83c0c72abe57c7be9f4d8e5b61afb28f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/143] Compiling llbuildBuildSystemTests TempDir.cpp
[1/143] Compiling llbuildBuildSystem BuildValue.cpp
[2/143] Write swift-version-24593BA9C3E375BF.txt
[3/143] Compiling llbuildBuildSystem ShellCommand.cpp
[4/143] Compiling llbuildBuildSystemTests MockBuildSystemDelegate.cpp
[5/143] Compiling llbuildBuildSystem ExternalCommand.cpp
[6/143] Compiling llvmSupport Valgrind.cpp
[7/143] Compiling llvmSupport UnicodeCaseFold.cpp
[8/143] Compiling llbuildBuildSystemTests BuildValueTest.cpp
[9/143] Compiling llvmSupport circular_raw_ostream.cpp
[10/143] Compiling swift-build-tool main.cpp
[11/143] Compiling llvmSupport raw_ostream.cpp
[12/143] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
[13/143] Compiling llvmSupport Unicode.cpp
[14/143] Compiling llvmSupport Twine.cpp
[15/143] Compiling llvmSupport Threading.cpp
[16/143] Compiling llvmSupport Triple.cpp
[17/143] Compiling llvmSupport StringSaver.cpp
[18/143] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
[19/143] Compiling llvmSupport StringMap.cpp
[20/143] Compiling llvmSupport TargetParser.cpp
[21/143] Compiling llvmSupport StringRef.cpp
[22/143] Compiling llvmSupport SmallVector.cpp
[23/143] Compiling llvmSupport YAMLParser.cpp
[24/143] Compiling llvmSupport StringExtras.cpp
[25/143] Compiling llvmSupport SmallPtrSet.cpp
[26/143] Compiling llvmSupport Mutex.cpp
[27/143] Compiling llvmSupport Options.cpp
[28/143] Compiling llvmSupport NativeFormatting.cpp
[29/143] Compiling llvmSupport Program.cpp
[30/143] Compiling llvmSupport SourceMgr.cpp
[31/143] Compiling llvmSupport MathExtras.cpp
[32/143] Compiling llvmSupport Process.cpp
[33/143] Compiling llvmSupport Signals.cpp
[34/143] Compiling llvmSupport ManagedStatic.cpp
[35/143] Compiling llvmSupport Memory.cpp
[36/143] Compiling llvmSupport Locale.cpp
[37/143] Compiling llvmSupport Path.cpp
[38/143] Compiling llvmSupport MD5.cpp
[39/143] Compiling llvmSupport Hashing.cpp
[40/143] Compiling llvmSupport MemoryBuffer.cpp
[41/143] Compiling llvmSupport FoldingSet.cpp
[42/143] Compiling llvmSupport FormatVariadic.cpp
[43/143] Compiling llvmSupport Errno.cpp
[44/143] Compiling llvmSupport ErrorHandling.cpp
[45/143] Compiling llvmSupport DJB.cpp
[46/143] Compiling llvmSupport ConvertUTF.cpp
[47/143] Compiling llvmSupport FileUtilities.cpp
[48/143] Compiling llvmSupport Debug.cpp
[49/143] Compiling llvmSupport Atomic.cpp
[50/143] Compiling llvmSupport Host.cpp
[51/143] Compiling llvmSupport Error.cpp
[52/143] Compiling llvmSupport ConvertUTFWrapper.cpp
[53/143] Compiling llvmSupport Chrono.cpp
[54/143] Write sources
[55/145] Compiling llvmSupport APSInt.cpp
[55/145] Write sources
[57/145] Compiling llvmSupport Allocator.cpp
[58/145] Compiling llvmDemangle MicrosoftDemangle.cpp
[59/145] Compiling llvmDemangle ItaniumDemangle.cpp
[60/145] Compiling llvmSupport APInt.cpp
[62/145] Emitting module llbuildTestSupport
[62/145] Compiling llbuildNinjaTests main.cpp
[63/145] Compiling llvmSupport APFloat.cpp
[64/145] Compiling llbuildNinja Parser.cpp
[65/145] Compiling llbuildNinjaTests LexerTest.cpp
[65/145] Compiling llvmSupport CommandLine.cpp
[67/145] Compiling llbuildNinja Lexer.cpp
[68/145] Compiling llbuildNinjaTests ManifestTest.cpp
[69/145] Compiling llbuildNinja ManifestLoader.cpp
[70/145] Compiling llbuildNinja Manifest.cpp
[71/145] Compiling llbuildCoreTests main.cpp
[72/145] Compiling llbuildEvo EvoEngine.cpp
[73/145] Compiling llbuildCoreTests MakefileDepsParserTest.cpp
[74/145] Compiling llbuildCoreTests SQLiteBuildDBTest.cpp
[75/145] Compiling llbuildCoreTests DependencyInfoParserTest.cpp
[76/145] Compiling llbuildCore MakefileDepsParser.cpp
[78/145] Compiling llbuildTestSupport XCTestCase+Extensions.swift
[79/146] Compiling llbuildCore DependencyInfoParser.cpp
[80/146] Compiling llbuildCore SQLiteBuildDB.cpp
[81/146] Compiling llbuildCoreTests DepsBuildEngineTest.cpp
[82/146] Compiling llbuildCoreTests BuildEngineCancellationTest.cpp
[83/146] Compiling llbuildCore BuildEngineTrace.cpp
[84/146] Compiling llbuildCore BuildDB.cpp
[85/146] Compiling llbuildCommands CommandLineStatusOutput.cpp
[86/146] Compiling llbuildCommands CommandUtil.cpp
[87/146] Compiling llbuildBuildSystemTests main.cpp
[88/146] Compiling llbuildCommands BuildEngineCommand.cpp
[89/146] Compiling llbuildCommands NinjaCommand.cpp
[90/146] Compiling llbuildCoreTests BuildEngineTest.cpp
[91/146] Compiling llbuildCore BuildEngine.cpp
[92/146] Compiling llbuildCommands NinjaBuildCommand.cpp
[93/146] Compiling llbuildCommands BuildSystemCommand.cpp
[94/146] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
[95/146] Compiling llbuildBuildSystem BuildKey.cpp
[96/146] Compiling llbuildBuildSystem BuildNode.cpp
[97/146] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
[98/146] Compiling llbuildBasicTests main.cpp
[99/146] Compiling llbuildBuildSystem BuildDescription.cpp
[100/146] Compiling llbuildBasicTests TempDir.cpp
[101/146] Compiling llbuildBasicTests SerialQueueTest.cpp
[102/146] Compiling llbuildBuildSystem BuildFile.cpp
[103/146] Compiling llbuildBasicTests ShellUtilityTest.cpp
[104/146] Compiling llbuildBasicTests POSIXEnvironmentTest.cpp
[105/146] Compiling llbuildBasic Version.cpp
[106/146] Compiling llbuildBasic Tracing.cpp
[107/146] Compiling llbuildBasicTests Defer.cpp
[108/146] Compiling llbuildBasicTests BinaryCodingTests.cpp
[109/146] Compiling llbuildBasic ShellUtility.cpp
[110/146] Compiling llbuildBasicTests FileSystemTest.cpp
[111/146] Compiling llbuildBasicTests LaneBasedExecutionQueueTest.cpp
[112/146] Compiling llbuildBasic PlatformUtility.cpp
[113/146] Compiling llbuildBasic Subprocess.cpp
[114/146] Write sources
[115/146] Compiling llbuildBasic Hashing.cpp
[116/146] Compiling llbuildBasic SerialQueue.cpp
[117/146] Compiling llbuildBuildSystem BuildSystem.cpp
[118/146] Compiling llbuildBasic FileInfo.cpp
[119/146] Compiling llbuildBasic FileSystem.cpp
[120/146] Compiling llbuild main.cpp
[121/146] Compiling llbuildBasic ExecutionQueue.cpp
[122/146] Compiling llbuildBasic LaneBasedExecutionQueue.cpp
[123/146] Compiling libllbuild C-API.cpp
[123/146] Write Objects.LinkFileList
[126/146] Compiling libllbuild Ninja-C-API.cpp
[127/146] Compiling libllbuild Core-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-15: error: linker command failed with exit code 1 (use -v to see invocation)
error: fatalError
[128/146] Linking swift-build-tool
[128/146] Compiling libllbuild BuildDB-C-API.cpp
[128/146] Compiling gtestlib gtest-all.cc
[128/146] Compiling libllbuild BuildKey-C-API.cpp
[128/146] Compiling libllbuild BuildSystem-C-API.cpp
[128/146] Compiling libllbuild BuildValue-C-API.cpp
/usr/bin/ld.gold: error: cannot find -lncurses
[128/146] Linking llbuild
BUILD FAILURE 5.10 linux