<div dir="ltr">That's it. I managed to build things again by checking out everything at the state it was yesterday morning:<div><br></div><div><div><font face="monospace, monospace">for dir in */; do</font></div><div><font face="monospace, monospace"> cd $dir; git checkout `git rev-list -n 1 --before="2016-07-05 08:00" master`; cd ..;</font></div><div><font face="monospace, monospace">done</font></div><div><br></div><div>Still don't know which change(s) are responsible though.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 8:09 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>ok, thanks for the details.<br><br>I'll grab the latest myself tomorrow morning and see if I can reproduce.<br><br>--dave<br><br><img width="16" height="16" src="cid:1__=0ABBF57ADF93510C8f9e8a93df938690918c0AB@" border="0" alt="Inactive hide details for Jean-Pierre Simard ---07/06/2016 06:21:03 PM---Thanks for getting back to me so quickly Dave. This wo"><font color="#424282">Jean-Pierre Simard ---07/06/2016 06:21:03 PM---Thanks for getting back to me so quickly Dave. This worked last week, but didn't yesterday when I tr</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">David P Grove/Watson/IBM@IBMUS</font><br><font size="2" color="#5F5F5F">Cc: </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">Date: </font><font size="2">07/06/2016 06:21 PM</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">Re: Troubleshooting libdispatch build failure</font></p><div><div class="h5"><br><hr width="100%" size="2" align="left" noshade style="color:#8091a5"><br><br><br><font size="4">Thanks for getting back to me so quickly Dave.</font><br><br><font size="4">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.</font><br><br><tt><font size="4">apt-get update && \</font></tt><br><tt><font size="4"> apt-get install -y \</font></tt><br><tt><font size="4"> autoconf \</font></tt><br><tt><font size="4"> clang \</font></tt><br><tt><font size="4"> cmake \</font></tt><br><tt><font size="4"> git \</font></tt><br><tt><font size="4"> icu-devtools \</font></tt><br><tt><font size="4"> libblocksruntime-dev \</font></tt><br><tt><font size="4"> libbsd-dev \</font></tt><br><tt><font size="4"> libedit-dev \</font></tt><br><tt><font size="4"> libicu-dev \</font></tt><br><tt><font size="4"> libkqueue-dev \</font></tt><br><tt><font size="4"> libncurses5-dev \</font></tt><br><tt><font size="4"> libpython-dev \</font></tt><br><tt><font size="4"> libsqlite3-dev \</font></tt><br><tt><font size="4"> libtool \</font></tt><br><tt><font size="4"> libxml2-dev \</font></tt><br><tt><font size="4"> ninja-build \</font></tt><br><tt><font size="4"> pkg-config \</font></tt><br><tt><font size="4"> python \</font></tt><br><tt><font size="4"> swig \</font></tt><br><tt><font size="4"> uuid-dev</font></tt><br><tt><font size="4">git clone </font></tt><a href="https://github.com/apple/swift.git" target="_blank"><tt><u><font size="4" color="#0000FF">https://github.com/apple/swift.git</font></u></tt></a><br><tt><font size="4">cd swift</font></tt><br><tt><font size="4">utils/update-checkout --clone</font></tt><br><tt><font size="4">utils/build-script --libdispatch</font></tt><br><br><font size="4">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).</font><br><br><font size="4">On Wed, Jul 6, 2016 at 4:52 PM, David P Grove <</font><a href="mailto:groved@us.ibm.com" target="_blank"><u><font size="4" color="#0000FF">groved@us.ibm.com</font></u></a><font size="4">> wrote:</font><ul><font size="4">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></font><img src="cid:1__=0ABBF57ADF93510C8f9e8a93df938690918c0AB@" width="16" height="16" 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 size="4" 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><font size="4"><br></font><font color="#5F5F5F"><br>From: </font>Jean-Pierre Simard <<a href="mailto:jp@jpsim.com" target="_blank"><u><font color="#0000FF">jp@jpsim.com</font></u></a>><font color="#5F5F5F"><br>To: </font><a href="mailto:swift-corelibs-dev@swift.org" target="_blank"><u><font color="#0000FF">swift-corelibs-dev@swift.org</font></u></a><font color="#5F5F5F"><br>Cc: </font>David P Grove/Watson/IBM@IBMUS<font color="#5F5F5F"><br>Date: </font>07/06/2016 04:28 PM<font color="#5F5F5F"><br>Subject: </font>Troubleshooting libdispatch build failure<br><hr width="100%" size="2" align="left" noshade><br><font size="4"><br><br></font><font size="5"><br>Up until a few days ago, running </font><tt><font size="5">'util/build-script --libdispatch'</font></tt><font size="5"> completed successfully.</font><font size="4"><br></font><font size="5"><br>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><font size="4"><br></font><tt><font size="5"><br>/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<br>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<br>/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 \<br>-Xcc -fmodule-map-file=//swift-corelibs-libdispatch/dispatch/module.modulemap -I//swift-corelibs-libdispatch -Xcc -fblocks -module-name Dispatch -module-link-name dispatch \<br>-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 \<br>-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 \<br>-emit-reference-dependencies-path /build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o.swiftdeps \<br>-module-cache-path ..<br><module-includes>:1:10: note: in file included from <module-includes>:1:<br>#include "dispatch.h"<br> ^<br>//swift-corelibs-libdispatch/dispatch/dispatch.h:99:10: error: 'os/object.h' file not found<br>#include <os/object.h><br> ^<br>//swift-corelibs-libdispatch/src/swift/Block.swift:13:8: error: could not build Objective-C module 'CDispatch'<br>import CDispatch<br> ^<br>Makefile:956: recipe for target '/build/Ninja-DebugAssert/libdispatch-linux-x86_64/src/swift/Block.o' failed</font></tt><font size="4"><br><br><br></font></ul><br>
<p></p><p><br>
</p><p></p></div></div><p></p></div>
</blockquote></div><br></div>