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