[swift-dev] Centos 7.2 Building SwiftPM Error "error: invalid inferred toolchain"
SonWa
pace at vip.qq.com
Mon Aug 22 22:54:49 CDT 2016
Hi,I in Centos 7.2 run "./swift/utils/build-script --preset=buildbot_linux installable_package=/tmp/swift.tar.gz install_destdir=/tmp/swift-install"
gcc version:4.9.4
clang version:3.8.1
==============================================
+ /usr/local/src/swiftpm/Utilities/bootstrap --swiftc=/usr/local/src/build/buildbot_linux/swift-linux-x86_64/bin/swiftc --sbt=/usr/local/src/build/buildbot_linux/llbuild-linux-x86_64/bin/swift-build-tool --build=/usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64 --foundation=/usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation --libdispatch-source-dir=/usr/local/src/swift-corelibs-libdispatch --libdispatch-build-dir=/usr/local/src/build/buildbot_linux/libdispatch-linux-x86_64 --xctest=/usr/local/src/build/buildbot_linux/xctest-linux-x86_64
--- bootstrap: note: building stage1: /usr/local/src/build/buildbot_linux/llbuild-linux-x86_64/bin/swift-build-tool -f /usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64/.bootstrap/build.swift-build
--- bootstrap: note: building self-hosted 'swift-build': env SWIFT_EXEC=/usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64/debug/swiftc SWIFT_BUILD_PATH=/usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64 /usr/local/src/build/buildbot_linux/swiftpm-linux-x86_64/debug/swift-build-stage1 -Xlinker -rpath -Xlinker $ORIGIN/../lib/swift/linux -Xlinker -L -Xlinker /usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation -Xlinker -rpath -Xlinker /usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/usr/local/src/build/buildbot_linux/foundation-linux-x86_64/Foundation/usr/lib/swift -Xlinker -L -Xlinker /usr/local/src/build/buildbot_linux/xctest-linux-x86_64 -Xlinker -rpath -Xlinker /usr/local/src/build/buildbot_linux/xctest-linux-x86_64 -Xswiftc -I/usr/local/src/build/buildbot_linux/xctest-linux-x86_64 -Xswiftc -I/usr/local/src/build/buildbot_linux/libdispatch-linux-x86_64/src -Xswiftc -I/usr/local/src/swift-corelibs-libdispatch -Xcc -fblocks --build-tests
error: invalid inferred toolchain
--- bootstrap: error: build failed with exit status 1
./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
==============================================
Source compiler this error, how to solve?
Thank!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160823/879b5d6f/attachment.html>
More information about the swift-dev
mailing list