Filed a jira: [SR-387] Undef. symbols when linking SwiftPM · Issue #5328 · apple/swift-package-manager · GitHub
Ankit, is this one already fixed in master? I can’t find the bug report for the similar tempfile suffix naming bug.
Thanks,
Doug
Compiling Swift Module 'swift_build' (3 sources)
Link /home/wdillon/build/Ninja-ReleaseAssert/swiftpm-linux-armv7/.bootstrap/bin/swift-build
bootstrap: note: building self-hosted 'swift-build': env SWIFTC=/home/wdillon/build/Ninja-ReleaseAssert/swift-linux-armv7/bin/swiftc SWIFT_BUILD_TOOL=/home/wdillon/build/Ninja-ReleaseAssert/llbuild-linux-armv7/bin/swift-build-tool SWIFT_BUILD_PATH=/home/wdillon/build/Ninja-ReleaseAssert/swiftpm-linux-armv7 SWIFTPM_EMBED_RPATH=$ORIGIN/../lib/swift/linux /home/wdillon/build/Ninja-ReleaseAssert/swiftpm-linux-armv7/.bootstrap/bin/swift-build
LLVM ERROR: Program used external function '_TMaC18PackageDescription7Package' which could not be resolved!
error: ExitStatus(1, ["/home/wdillon/build/Ninja-ReleaseAssert/swift-linux-armv7/bin/swiftc", "--driver-mode=swift", "-I", "/home/wdillon/build/Ninja-ReleaseAssert/swiftpm-linux-armv7/.bootstrap/lib/swift/pm", "-L", "/home/wdillon/build/Ninja-ReleaseAssert/swiftpm-linux-armv7/.bootstrap/lib/swift/pm", "-lPackageDescription", "/home/wdillon/swiftpm/Package.swift"])
bootstrap: error: build failed with exit status 1
utils/build-script: command terminated with a non-zero exit status 1, aborting
···
On Oct 28, 2016, at 5:59 PM, no-reply@swift.org wrote:
New issue found!
[FAILURE] oss-swift-3.0-package-linux-ubuntu-15_10 [#131]
Build URL: https://ci.swift.org/job/oss-swift-3.0-package-linux-ubuntu-15_10/131/
Project: oss-swift-3.0-package-linux-ubuntu-15_10
Date of build: Fri, 28 Oct 2016 17:10:01 -0700
Build duration: 49 min
Identified problems:Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 1 <https://ci.swift.org//job/oss-swift-3.0-package-linux-ubuntu-15_10/131/consoleFull#-447557999ee1a197b-acac-4b17-83cf-a53b95139a76>
ChangesCommit 0e866a1c48bc66ba023591177973197bfb5871ac by kperry:
Ensure directory URL enumerator error handler block is invoked withedit: stdlib/public/SDK/Foundation/FileManagerThunks.m
edit: apinotes/Foundation.apinotes
edit: test/1_stdlib/TestFileManager.swift
edit: stdlib/public/SDK/Foundation/FileManager.swiftCommit 017e11fce3eeaffd05df45a4461c1dcf5184badb by doug_coleman:
[build-script-impl]: Fixes version number on Linux from 3.0 to 3.0.xedit: utils/build-script-impl
Commit 880f4644e212cb6bce09a1d57a95f7a7ca2e3269 by anders:
Bump version to 3.0.2.edit: Sources/Utility/Versioning.swift