[swift-users] Build toolchain failure for swift-4.0-branch on Mac OSX 10.12.6
Mishal Shah
mishal_shah at apple.com
Tue Aug 29 18:34:09 CDT 2017
Adding swift-lldb-dev group.
Thanks,
Mishal Shah
> On Aug 29, 2017, at 4:00 PM, Raj Barik via swift-users <swift-users at swift.org> wrote:
>
> OSx version: 10.12.6 (16G29)
> Steps to reproduce the error:
> 1)
> git clone https://github.com/apple/swift.git <https://github.com/apple/swift.git>
> ./swift/utils/update-checkout --clone --scheme swift-4.0-branch
> 2) Edit build-preset.ini to remove tests and assertions:
>
> [preset: mixin_lightweight_assertions]
> #assertions
> #no-swift-stdlib-assertions
> no-assertions
> swift-assertions
> ....
>
> [preset: buildbot_osx_package]
> mixin-preset=
> mixin_osx_package_base
> mixin_lightweight_assertions
> ...
>
> 3) Execute: ./swift/util/build-toolchain local.swift
>
> Error:
>
> /bin/sh -c $HOME/swift-4.0/build/Ninja+cmark-RelWithDebInfo+llvm-RelWithDebInfo+swift-RelWithDebInfoAssert+stdlib-RelWithDebInfo/lldb-macosx-x86_64/lldb.build/CustomSwift-Release/lldb-core.build/Script-261EECA21337D399001D193C.sh
> + '[' CustomSwift-Release == 'CustomSwift-*' ']'
> + /usr/bin/env python $HOME/swift-4.0/lldb/scripts/Xcode/build-llvm.py
> Traceback (most recent call last):
> File "$HOME/swift-4.0/lldb/scripts/Xcode/build-llvm.py", line 355, in <module>
> write_archives_txt()
> File "$HOME/swift-4.0/lldb/scripts/Xcode/build-llvm.py", line 107, in write_archives_txt
> for archive in archive_list():
> File "$HOME/swift-4.0/lldb/scripts/Xcode/build-llvm.py", line 101, in archive_list
> archive_lists = [collect_archives_in_path(path) for path in paths]
> File "$HOME/swift-4.0/lldb/scripts/Xcode/build-llvm.py", line 85, in collect_archives_in_path
> files = os.listdir(path)
> OSError: [Errno 2] No such file or directory: '$HOME/swift-4.0/build/Ninja+cmark-RelWithDebInfo+llvm-RelWithDebInfo+swift-RelWithDebInfoAssert+stdlib-RelWithDebInfo/llvm-macosx-x86_64/src'
> Command /bin/sh failed with exit code 1
>
> ** BUILD FAILED **
>
>
> The following build commands failed:
> PhaseScriptExecution Build\ llvm\ and\ clang $HOME/swift-4.0/build/Ninja+cmark-RelWithDebInfo+llvm-RelWithDebInfo+swift-RelWithDebInfoAssert+stdlib-RelWithDebInfo/lldb-macosx-x86_64/lldb.build/CustomSwift-Release/lldb-core.build/Script-261EECA21337D399001D193C.sh
> (1 failure)
> ./utils/build-script: fatal error: command terminated with a non-zero exit status 65, aborting
> ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170829/155ced1c/attachment.html>
More information about the swift-users
mailing list