<html><body><p>Hi,<br><br>        There has been some churn over the last few days, but I am successfully using util/build-script to build libdispatch with the current tip of the master branch of libdispatch (and a swift checkout of the master branch from yesterday morning).  Maybe updating the checkout of libdispatch would help?<br><br>--dave<br><br><img width="16" height="16" src="cid:1__=0ABBF57BDFE1D0CE8f9e8a93df938690918c0AB@" border="0" alt="Inactive hide details for Jean-Pierre Simard ---07/06/2016 04:28:46 PM---Up until a few days ago, running 'util/build-script --"><font color="#424282">Jean-Pierre Simard ---07/06/2016 04:28:46 PM---Up until a few days ago, running 'util/build-script --libdispatch' completed successfully.</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Jean-Pierre Simard &lt;jp@jpsim.com&gt;</font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">swift-corelibs-dev@swift.org</font><br><font size="2" color="#5F5F5F">Cc:        </font><font size="2">David P Grove/Watson/IBM@IBMUS</font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">07/06/2016 04:28 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Troubleshooting libdispatch build failure</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font size="4">Up until a few days ago, running </font><tt><font size="4">'util/build-script --libdispatch'</font></tt><font size="4"> completed successfully.</font><br><br><font size="4">Now it fails, generating the following errors. Any ideas on how to resolve these? Or other ways people are using to build libdispatch at the moment? Thanks!</font><br><br><tt><font size="4">/bin/bash ../libtool  --tag=CXX   --mode=compile /build/Ninja-DebugAssert/llvm-linux-x86_64/bin/clang++ -DHAVE_CONFIG_H -I. -I//swift-corelibs-libdispatch/src -I../config  -I.. -I//swift-corelibs-libdispatch -I//swift-corelibs-libdispatch/private -DDISPATCH_USE_DTRACE=0 -I//swift-corelibs-libdispatch/libpwq/include -Wall -fvisibility=hidden -momit-leaf-frame-pointer  -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -std=gnu++11 -fno-exceptions -g -O2 -c -o swift/libdispatch_la-DispatchStubs.lo `test -f 'swift/DispatchStubs.cc' || echo '//swift-corelibs-libdispatch/src/'`swift/DispatchStubs.cc</font></tt><br><tt><font size="4">libtool: compile:  /build/Ninja-DebugAssert/llvm-linux-x86_64/bin/clang++ -DHAVE_CONFIG_H -I. -I//swift-corelibs-libdispatch/src -I../config -I.. -I//swift-corelibs-libdispatch -I//swift-corelibs-libdispatch/private -DDISPATCH_USE_DTRACE=0 -I//swift-corelibs-libdispatch/libpwq/include -Wall -fvisibility=hidden -momit-leaf-frame-pointer -I/usr/include/kqueue -isystem /usr/include/bsd -DLIBBSD_OVERLAY -fblocks -std=gnu++11 -fno-exceptions -g -O2 -c //swift-corelibs-libdispatch/src/swift/DispatchStubs.cc  -fPIC -DPIC -o swift/.libs/libdispatch_la-DispatchStubs.o</font></tt><br><tt><font size="4">/build/Ninja-DebugAssert/swift-linux-x86_64/bin/swiftc -frontend -c //swift-corelibs-libdispatch/src/swift/Block.swift //swift-corelibs-libdispatch/src/swift/Data.swift //swift-corelibs-libdispatch/src/swift/Dispatch.swift //swift-corelibs-libdispatch/src/swift/IO.swift //swift-corelibs-libdispatch/src/swift/Private.swift //swift-corelibs-libdispatch/src/swift/Queue.swift //swift-corelibs-libdispatch/src/swift/Source.swift //swift-corelibs-libdispatch/src/swift/Time.swift //swift-corelibs-libdispatch/src/swift/Wrapper.swift -primary-file //swift-corelibs-libdispatch/src/swift/Block.swift \</font></tt><br><tt><font size="4">-Xcc -fmodule-map-file=//swift-corelibs-libdispatch/dispatch/module.modulemap -I//swift-corelibs-libdispatch -Xcc -fblocks -module-name Dispatch -module-link-name dispatch \</font></tt><br><tt><font size="4">-o /build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o -emit-module-path /build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o.~partial.swiftmodule \</font></tt><br><tt><font size="4">-emit-module-doc-path /build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o.~partial.swiftdoc -emit-dependencies-path /build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o.d \</font></tt><br><tt><font size="4">-emit-reference-dependencies-path /build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o.swiftdeps \</font></tt><br><tt><font size="4">-module-cache-path ..</font></tt><br><tt><font size="4">&lt;module-includes&gt;:1:10: note: in file included from &lt;module-includes&gt;:1:</font></tt><br><tt><font size="4">#include &quot;dispatch.h&quot;</font></tt><br><tt><font size="4">         ^</font></tt><br><tt><font size="4">//swift-corelibs-libdispatch/dispatch/dispatch.h:99:10: error: 'os/object.h' file not found</font></tt><br><tt><font size="4">#include &lt;os/object.h&gt;</font></tt><br><tt><font size="4">         ^</font></tt><br><tt><font size="4">//swift-corelibs-libdispatch/src/swift/Block.swift:13:8: error: could not build Objective-C module 'CDispatch'</font></tt><br><tt><font size="4">import CDispatch</font></tt><br><tt><font size="4">       ^</font></tt><br><tt><font size="4">Makefile:956: recipe for target '/build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o' failed</font></tt><br><br><br><BR>
</body></html>