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?
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@swift.org https://lists.swift.org/mailman/listinfo/swift-dev
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:
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@swift.org> wrote:
When attempting to build Swift Preview 5 on Linux, I get this error: