[swift-users] Hi, About centos7.x source compiler error 'no such module 'SwiftGlibc''
SonWa
six at sonwa.cn
Thu Aug 18 18:50:32 CDT 2016
Hi,
Swift 3.0 Preview 6 code to run "./swift/utils/update-checkout --clone" by the script download.
I have a new trouble,Centos 7.x run "./swift/utils/build-script -R" source code compiled is OK.
But, run "./swift/utils/build-script --preset=buildbot_linux installable_package=/tmp/swift.tar.gz install_destdir=/tmp/swift-install" is error.
=======================↓↓↓error↓↓↓============================
[558/624] Compiling /usr/local/src/build/buildbot_linux/swift-linux-x86_64/stdlib/public/Platform/linux/x86_64/Glibc.o
FAILED: stdlib/public/Platform/linux/x86_64/Glibc.o lib/swift/linux/x86_64/Glibc.swiftmodule lib/swift/linux/x86_64/Glibc.swiftdoc
cd /usr/local/src/build/buildbot_linux/swift-linux-x86_64/stdlib/public/Platform && /usr/bin/cmake -E make_directory /usr/local/src/build/buildbot_linux/swift-linux-x86_64/stdlib/public/Platform/linux/x86_64 && /usr/bin/cmake -E make_directory /usr/local/src/build/buildbot_linux/swift-linux-x86_64/./lib/swift/linux/x86_64 && /usr/local/src/swift/utils/line-directive /usr/local/src/swift/stdlib/public/Platform/Glibc.swift /usr/local/src/swift/stdlib/public/Platform/Platform.swift /usr/local/src/swift/stdlib/public/Platform/TiocConstants.swift /usr/local/src/build/buildbot_linux/swift-linux-x86_64/stdlib/public/Platform/8/tgmath.swift -- /usr/local/src/build/buildbot_linux/swift-linux-x86_64/./bin/swiftc -c -sdk / -target x86_64-unknown-linux-gnu -resource-dir /usr/local/src/build/buildbot_linux/swift-linux-x86_64/./lib/swift -O -I /usr/local/src/build/buildbot_linux/swift-linux-x86_64/./lib/swift/linux/x86_64 -module-cache-path /usr/local/src/build/buildbot_linux/swift-linux-x86_64/./module-cache -no-link-objc-runtime -autolink-force-load -module-link-name swiftGlibc -force-single-frontend-invocation -parse-as-library -emit-module -emit-module-path /usr/local/src/build/buildbot_linux/swift-linux-x86_64/./lib/swift/linux/x86_64/Glibc.swiftmodule -o /usr/local/src/build/buildbot_linux/swift-linux-x86_64/stdlib/public/Platform/linux/x86_64/Glibc.o /usr/local/src/swift/stdlib/public/Platform/Glibc.swift /usr/local/src/swift/stdlib/public/Platform/Platform.swift /usr/local/src/swift/stdlib/public/Platform/TiocConstants.swift /usr/local/src/build/buildbot_linux/swift-linux-x86_64/stdlib/public/Platform/8/tgmath.swift
/usr/local/src/swift/stdlib/public/Platform/Glibc.swift:13:19: error: no such module 'SwiftGlibc'
@_exported import SwiftGlibc // Clang module
^
ninja: build stopped: subcommand failed.
./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
=======================↑↑↑error↑↑↑============================
How to solve this problem?Requesting for help.
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160819/5fe12638/attachment.html>
More information about the swift-users
mailing list