<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">When attempting to build Swift Preview 5 on Linux, I get this error:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="margin: 0px;"><div id="bloop_customfont" style="color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><blockquote type="cite" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; padding-left: 5px; border-left-width: 1px !important; border-left-color: rgb(0, 64, 128) !important;"><div id="bloop_customfont" style="margin: 0px;">********************</div><div id="bloop_customfont" style="margin: 0px;">Testing Time: 6.02s</div><div id="bloop_customfont" style="margin: 0px;">********************</div><div id="bloop_customfont" style="margin: 0px;">Failing Tests (4):</div><div id="bloop_customfont" style="margin: 0px;"> swift-package-tests :: swift-build-self-host.py</div><div id="bloop_customfont" style="margin: 0px;"> swift-package-tests :: swift-package-init-lib.md</div><div id="bloop_customfont" style="margin: 0px;"> swift-package-tests :: test-foundation-package/test-foundation-package.txt</div><div id="bloop_customfont" style="margin: 0px;"> swift-package-tests :: test-xctest-package/test-xctest-package.txt</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"> Expected Passes : 10</div><div id="bloop_customfont" style="margin: 0px;"> Unsupported Tests : 5</div><div id="bloop_customfont" style="margin: 0px;"> Unexpected Failures: 4</div><div id="bloop_customfont" style="margin: 0px;">./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting</div><div id="bloop_customfont" style="margin: 0px;">./utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting</div></blockquote></div><div id="bloop_customfont" style="color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; margin: 0px;">When I find out what is failing, it's related to dispatch requiring blocks. For example, a simple "import XCTest" fails:</div><div id="bloop_customfont" style="color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 13px; margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;"><div id="bloop_customfont" style="margin: 0px;"><blockquote type="cite" style="border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; padding-left: 5px; border-left-width: 1px !important; border-left-color: rgb(0, 64, 128) !important;"><div id="bloop_customfont" style="margin: 0px;"><div id="bloop_customfont" style="margin: 0px;"><div id="bloop_customfont" style="margin: 0px;">$ cat test.swift</div><div id="bloop_customfont" style="margin: 0px;">import XCTest</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">$ /swift-dev/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/bin/swiftc test.swift</div></div></div><div><unknown>:0: error: module 'CDispatch' requires feature 'blocks'</div><div><unknown>:0: error: could not build Objective-C module 'CDispatch'</div></blockquote></div></div></div><div id="bloop_sign_1471153473448521984" class="bloop_sign"></div><div id="bloop_sign_1471153473448521984" class="bloop_sign"><br></div><div id="bloop_sign_1471153473448521984" class="bloop_sign">Inserting the required flags works fine:</div><div id="bloop_sign_1471153473448521984" class="bloop_sign"><br></div><div id="bloop_sign_1471153473448521984" class="bloop_sign"><div><blockquote type="cite" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; padding-left: 5px; border-left-width: 1px !important; border-left-color: rgb(0, 64, 128) !important;">/swift-dev/build/buildbot_linux/none-swift_package_sandbox_linux-x86_64/usr/bin/swiftc -Xcc -fblocks test2.swift</blockquote></div><p>How can I either insert those flags into the packaging tests, or disable the affected tests?</p><p>Drew</p><div></div></div></body></html>