<div dir="ltr">I&#39;m seeing the same thing as Ben.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 11, 2017 at 8:03 PM, Ben Ng via swift-dev <span dir="ltr">&lt;<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">Hi Greg,
<div><br></div>
<div>Thanks for the tip. It fails in a different way now:</div>
<div><br></div>
<div>FAILED: stdlib/public/SDK/<wbr>SafariServices/macosx/x86_64/<wbr>SafariServices.o<br></div>
<div><br></div>
<div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>18:68: error: unknown type name &#39;SFSafariServicesVersion&#39;</div>
<div>static inline bool _swift_SafariServices_<wbr>isSafariServicesAvailable(<wbr>SFSafariServicesVersion version) {</div>
<div>                                                                   ^</div>
<div>&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</div>
<div>#import &quot;SafariServicesOverlayShims.h&quot;</div>
<div>        ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>19:18: error: use of undeclared identifier &#39;SFSafariServicesVersion10_0&#39;</div>
<div>  if (version == SFSafariServicesVersion10_0) {</div>
<div>                 ^</div>
<div>&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</div>
<div>#import &quot;SafariServicesOverlayShims.h&quot;</div>
<div>        ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>23:3: error: use of undeclared identifier &#39;SFSafariServicesVersion&#39;</div>
<div>  SFSafariServicesVersion* latestVersion = &amp;_SFSafariServicesVersion;</div>
<div>  ^</div>
<div>&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</div>
<div>#import &quot;SafariServicesOverlayShims.h&quot;</div>
<div>        ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>23:28: error: use of undeclared identifier &#39;latestVersion&#39;</div>
<div>  SFSafariServicesVersion* latestVersion = &amp;_SFSafariServicesVersion;</div>
<div>                           ^</div>
<div>&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</div>
<div>#import &quot;SafariServicesOverlayShims.h&quot;</div>
<div>        ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>23:45: error: use of undeclared identifier &#39;_SFSafariServicesVersion&#39;</div>
<div>  SFSafariServicesVersion* latestVersion = &amp;_SFSafariServicesVersion;</div>
<div>                                            ^</div>
<div>&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</div>
<div>#import &quot;SafariServicesOverlayShims.h&quot;</div>
<div>        ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>24:15: error: use of undeclared identifier &#39;latestVersion&#39;; did you mean &#39;ICGetVersion&#39;?</div>
<div>  if (NULL == latestVersion) {</div>
<div>              ^</div>
<div>/Applications/Xcode.app/<wbr>Contents/Developer/Platforms/<wbr>MacOSX.platform/Developer/<wbr>SDKs/MacOSX10.12.sdk/System/<wbr>Library/Frameworks/<wbr>ApplicationServices.framework/<wbr>Frameworks/HIServices.<wbr>framework/Headers/<wbr>InternetConfig.h:711:1: note: &#39;ICGetVersion&#39; declared here</div>
<div>ICGetVersion(</div>
<div>^</div>
<div>&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</div>
<div>#import &quot;SafariServicesOverlayShims.h&quot;</div>
<div>        ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>24:15: warning: comparison of function &#39;ICGetVersion&#39; equal to a null pointer is always false</div>
<div>  if (NULL == latestVersion) {</div>
<div>              ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>24:15: note: prefix with the address-of operator to silence this warning</div>
<div>  if (NULL == latestVersion) {</div>
<div>              ^</div>
<div>&lt;module-includes&gt;:1:9: note: in file included from &lt;module-includes&gt;:1:</div>
<div>#import &quot;SafariServicesOverlayShims.h&quot;</div>
<div>        ^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/build/Ninja-<wbr>ReleaseAssert/swift-macosx-<wbr>x86_64/./lib/swift/shims/<wbr>SafariServicesOverlayShims.h:<wbr>28:11: error: use of undeclared identifier &#39;latestVersion&#39;; did you mean &#39;ICGetVersion&#39;?</div>
<div>  return *latestVersion &gt;= version;</div>
<div>          ^</div>
<div>/Applications/Xcode.app/<wbr>Contents/Developer/Platforms/<wbr>MacOSX.platform/Developer/<wbr>SDKs/MacOSX10.12.sdk/System/<wbr>Library/Frameworks/<wbr>ApplicationServices.framework/<wbr>Frameworks/HIServices.<wbr>framework/Headers/<wbr>InternetConfig.h:711:1: note: &#39;ICGetVersion&#39; declared here</div>
<div>ICGetVersion(</div>
<div>^</div>
<div>/Users/ben/Documents/code/<wbr>swift-sources/swift/stdlib/<wbr>public/SDK/SafariServices/<wbr>SafariServices.swift:14:8: error: could not build Objective-C module &#39;_<wbr>SwiftSafariServicesOverlayShim<wbr>s&#39;</div>
<div>import _<wbr>SwiftSafariServicesOverlayShim<wbr>s</div>
<div>       ^</div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<div name="messageSignatureSection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br>
<div class="m_-4258366368236162214matchFont">Ben Ng</div>
</div></font></span><div><div class="h5">
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><br>
On Feb 11, 2017, 3:59 PM -0500, Greg Parker &lt;<a href="mailto:gparker@apple.com" target="_blank">gparker@apple.com</a>&gt;, wrote:<br>
<blockquote type="cite" style="margin:5px 5px;padding-left:10px;border-left:thin solid #1abc9c"><br>
<div>
<blockquote type="cite" style="margin:5px 5px;padding-left:10px;border-left:thin solid #e67e22">
<div>On Feb 11, 2017, at 10:46 AM, Ben Ng via swift-dev &lt;<a href="mailto:swift-dev@swift.org" target="_blank">swift-dev@swift.org</a>&gt; wrote:</div>
<br class="m_-4258366368236162214Apple-interchange-newline">
<div>
<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">
<div>
<div>I can’t seem to build master right now:</div>
<div><br></div>
</div>
<blockquote style="margin:5px 5px;padding-left:10px;border-left:thin solid #3498db">
<div>
<div>git pull</div>
</div>
<div>
<div>./utils/update-checkout --clone-with-ssh</div>
</div>
<div>
<div>./utils/build-script --release --assertions</div>
</div>
<div>
<div><br></div>
</div>
<div>(…)</div>
<div><br></div>
<div>
<div>[17/558] Linking CXX shared library lib/swift/macosx/x86_64/<wbr>libswiftCore.dylib</div>
<div>FAILED: lib/swift/macosx/x86_64/<wbr>libswiftCore.dylib</div>
</div>
<div>
<div>Undefined symbols for architecture x86_64:</div>
</div>
<div>
<div>  &quot;llvm::<wbr>EnableABIBreakingChecks&quot;, referenced from:</div>
</div>
<div>
<div>      llvm::<wbr>VerifyEnableABIBreakingChecks in Casting.cpp.o</div>
</div>
<div>
<div>      llvm::<wbr>VerifyEnableABIBreakingChecks in Demangle.cpp.o</div>
</div>
<div>
<div>      llvm::<wbr>VerifyEnableABIBreakingChecks in Metadata.cpp.o</div>
</div>
<div>
<div>      llvm::<wbr>VerifyEnableABIBreakingChecks in MetadataLookup.cpp.o</div>
</div>
<div>
<div>      llvm::<wbr>VerifyEnableABIBreakingChecks in Remangle.cpp.o</div>
</div>
<div>
<div>      llvm::<wbr>VerifyEnableABIBreakingChecks in SwiftNativeNSXXXBase.mm.o</div>
</div>
</blockquote>
<div><br></div>
<div>Is anyone else running into this?</div>
</div>
</div>
</div>
</blockquote>
<br></div>
<div>This was a hiccup after an LLVM change a few weeks ago. Try deleting your entire build directory and rebuilding.</div>
<div><br></div>
<div><br></div>
<div>-- </div>
<div>Greg Parker     <a href="mailto:gparker@apple.com" target="_blank">gparker@apple.com</a>     Runtime Wrangler</div>
<div><br></div>
<div><br></div>
</blockquote>
</div>
</div></div></div>

<br>______________________________<wbr>_________________<br>
swift-dev mailing list<br>
<a href="mailto:swift-dev@swift.org">swift-dev@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-dev" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--<div>K.</div></div></div>
</div>