[swift-dev] preview 5 package-tests failure
Nicole Jacque
nicole_jacque at apple.com
Sun Aug 14 21:13:30 CDT 2016
Hi Drew-
If you’re building using the swift-3.0-PREVIEW-5 tag, please be aware that swift-corelib-libdispatch is not included in the preview tag, or part of the CI package job, as we are still working out issues with swift-corelib-libdispatch.
(Preview 5 does, however add support for swift-code-playground support, which we had previously not included in the preview tags.)
Release notes for the tag are at:
https://github.com/apple/swift/releases/tag/swift-3.0-PREVIEW-5
We are actively working on getting libdispatch sorted out, and integrated into the package jobs, hopefully in the next few days. But we’ll be concentrating on getting master and swift-3.0-branch working rather than back porting things to preview 5.
Thanks!
nicole
> On Aug 13, 2016, at 11:14 PM, Drew Crawford via swift-dev <swift-dev at swift.org> wrote:
>
> When attempting to build Swift Preview 5 on Linux, I get this error:
>
>> ********************
>> Testing Time: 6.02s
>> ********************
>> Failing Tests (4):
>> swift-package-tests :: swift-build-self-host.py
>> swift-package-tests :: swift-package-init-lib.md
>> swift-package-tests :: test-foundation-package/test-foundation-package.txt
>> swift-package-tests :: test-xctest-package/test-xctest-package.txt
>>
>> Expected Passes : 10
>> Unsupported Tests : 5
>> Unexpected Failures: 4
>> ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
>> ./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
>
> When I find out what is failing, it's related to dispatch requiring blocks. For example, a simple "import XCTest" fails:
>
>> $ cat test.swift
>> import XCTest
>>
>> $ /swift-dev/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/bin/swiftc test.swift
>> <unknown>:0: error: module 'CDispatch' requires feature 'blocks'
>> <unknown>:0: error: could not build Objective-C module 'CDispatch'
>
> Inserting the required flags works fine:
>
>> /swift-dev/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/bin/swiftc -Xcc -fblocks test2.swift
> How can I either insert those flags into the packaging tests, or disable the affected tests?
>
> Drew
>
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
More information about the swift-dev
mailing list