<div dir="ltr"><div>Thanks for getting back to me so quickly Dave.</div><div><br></div>This worked last week, but didn't yesterday when I tried again. My "last few days" guess might actually just be since yesterday morning. Maybe something's changed since your last checkouts from yesterday morning? Running these commands on a fresh Ubuntu 16.04 machine (i.e. no build cache) gives me the output I shared above.<div><br></div><div><div><font face="monospace, monospace">apt-get update && \</font></div><div><font face="monospace, monospace"> apt-get install -y \</font></div><div><font face="monospace, monospace"> autoconf \</font></div><div><font face="monospace, monospace"> clang \</font></div><div><font face="monospace, monospace"> cmake \</font></div><div><font face="monospace, monospace"> git \</font></div><div><font face="monospace, monospace"> icu-devtools \</font></div><div><font face="monospace, monospace"> libblocksruntime-dev \</font></div><div><font face="monospace, monospace"> libbsd-dev \</font></div><div><font face="monospace, monospace"> libedit-dev \</font></div><div><font face="monospace, monospace"> libicu-dev \</font></div><div><font face="monospace, monospace"> libkqueue-dev \</font></div><div><font face="monospace, monospace"> libncurses5-dev \</font></div><div><font face="monospace, monospace"> libpython-dev \</font></div><div><font face="monospace, monospace"> libsqlite3-dev \</font></div><div><font face="monospace, monospace"> libtool \</font></div><div><font face="monospace, monospace"> libxml2-dev \</font></div><div><font face="monospace, monospace"> ninja-build \</font></div><div><font face="monospace, monospace"> pkg-config \</font></div><div><font face="monospace, monospace"> python \</font></div><div><font face="monospace, monospace"> swig \</font></div><div><font face="monospace, monospace"> uuid-dev</font></div><div><font face="monospace, monospace">git clone <a href="https://github.com/apple/swift.git">https://github.com/apple/swift.git</a></font></div><div><font face="monospace, monospace">cd swift</font></div><div><font face="monospace, monospace">utils/update-checkout --clone</font></div><div><font face="monospace, monospace">utils/build-script --libdispatch</font></div></div><div><br></div><div>I suspect that the Xcode 8 beta 2 set of changes that landed yesterday may have caused this. There were patches on all sorts of repos (swift-llvm, swift-clang, swift, etc).</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 4:52 PM, David P Grove <span dir="ltr"><<a href="mailto:groved@us.ibm.com" target="_blank">groved@us.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><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 <<a href="mailto:jp@jpsim.com" target="_blank">jp@jpsim.com</a>></font><br><font size="2" color="#5F5F5F">To: </font><font size="2"><a href="mailto:swift-corelibs-dev@swift.org" target="_blank">swift-corelibs-dev@swift.org</a></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></p><hr width="100%" size="2" align="left" noshade style="color:#8091a5"><div><div class="h5"><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"><module-includes>:1:10: note: in file included from <module-includes>:1:</font></tt><br><tt><font size="4">#include "dispatch.h"</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 <os/object.h></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>
</div></div><p></p></div>
</blockquote></div><br></div>