[swift-dev] master fails to build
Kevin Hendry
kevin at lugnut.io
Mon Feb 13 06:10:14 CST 2017
Heh. I’ll just retreat to my noob hovel and try that then. Thanks. The getting started section says you need the latest Xcode, but I didn’t realize that meant betas as well. I’d assumed it was the latest release.
On Feb 13, 2017, 1:24 AM -0500, mishal_shah <mishal_shah at apple.com>, wrote:
> Hi,
>
> You will need Xcode 8.3 beta 2 (https://developer.apple.com/download/).
>
> Thanks,
> Mishal Shah
> > On Feb 12, 2017, at 9:17 PM, Kevin Hendry via swift-dev <swift-dev at swift.org> wrote:
> >
> > I'm not. Is this the part where you tell me I should be?
> >
> >
> > On Feb 12, 2017, 11:53 PM -0500, Michael Gottesman via swift-dev <swift-dev at swift.org>, wrote:
> > > Just a stab in the dark, but are you using the latest beta SDK?
> > >
> > > Michael
> > >
> > > > On Feb 11, 2017, at 5:03 PM, Ben Ng via swift-dev <swift-dev at swift.org> wrote:
> > > >
> > > > Hi Greg,
> > > >
> > > > Thanks for the tip. It fails in a different way now:
> > > >
> > > > FAILED: stdlib/public/SDK/SafariServices/macosx/x86_64/SafariServices.o
> > > >
> > > > /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'
> > > > static inline bool _swift_SafariServices_isSafariServicesAvailable(SFSafariServicesVersion version) {
> > > > ^
> > > > <module-includes>:1:9: note: in file included from <module-includes>:1:
> > > > #import "SafariServicesOverlayShims.h"
> > > > ^
> > > > /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'
> > > > if (version == SFSafariServicesVersion10_0) {
> > > > ^
> > > > <module-includes>:1:9: note: in file included from <module-includes>:1:
> > > > #import "SafariServicesOverlayShims.h"
> > > > ^
> > > > /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'
> > > > SFSafariServicesVersion* latestVersion = &_SFSafariServicesVersion;
> > > > ^
> > > > <module-includes>:1:9: note: in file included from <module-includes>:1:
> > > > #import "SafariServicesOverlayShims.h"
> > > > ^
> > > > /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'
> > > > SFSafariServicesVersion* latestVersion = &_SFSafariServicesVersion;
> > > > ^
> > > > <module-includes>:1:9: note: in file included from <module-includes>:1:
> > > > #import "SafariServicesOverlayShims.h"
> > > > ^
> > > > /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'
> > > > SFSafariServicesVersion* latestVersion = &_SFSafariServicesVersion;
> > > > ^
> > > > <module-includes>:1:9: note: in file included from <module-includes>:1:
> > > > #import "SafariServicesOverlayShims.h"
> > > > ^
> > > > /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'?
> > > > if (NULL == latestVersion) {
> > > > ^
> > > > /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
> > > > ICGetVersion(
> > > > ^
> > > > <module-includes>:1:9: note: in file included from <module-includes>:1:
> > > > #import "SafariServicesOverlayShims.h"
> > > > ^
> > > > /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
> > > > if (NULL == latestVersion) {
> > > > ^
> > > > /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
> > > > if (NULL == latestVersion) {
> > > > ^
> > > > <module-includes>:1:9: note: in file included from <module-includes>:1:
> > > > #import "SafariServicesOverlayShims.h"
> > > > ^
> > > > /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'?
> > > > return *latestVersion >= version;
> > > > ^
> > > > /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
> > > > ICGetVersion(
> > > > ^
> > > > /Users/ben/Documents/code/swift-sources/swift/stdlib/public/SDK/SafariServices/SafariServices.swift:14:8: error: could not build Objective-C module '_SwiftSafariServicesOverlayShims'
> > > > import _SwiftSafariServicesOverlayShims
> > > > ^
> > > >
> > > > Ben Ng
> > > >
> > > > On Feb 11, 2017, 3:59 PM -0500, Greg Parker <gparker at apple.com>, wrote:
> > > > >
> > > > > > On Feb 11, 2017, at 10:46 AM, Ben Ng via swift-dev <swift-dev at swift.org> wrote:
> > > > > >
> > > > > > I can’t seem to build master right now:
> > > > > >
> > > > > > > git pull
> > > > > > > ./utils/update-checkout --clone-with-ssh
> > > > > > > ./utils/build-script --release --assertions
> > > > > > >
> > > > > > > (…)
> > > > > > >
> > > > > > > [17/558] Linking CXX shared library lib/swift/macosx/x86_64/libswiftCore.dylib
> > > > > > > FAILED: lib/swift/macosx/x86_64/libswiftCore.dylib
> > > > > > > Undefined symbols for architecture x86_64:
> > > > > > > "llvm::EnableABIBreakingChecks", referenced from:
> > > > > > > llvm::VerifyEnableABIBreakingChecks in Casting.cpp.o
> > > > > > > llvm::VerifyEnableABIBreakingChecks in Demangle.cpp.o
> > > > > > > llvm::VerifyEnableABIBreakingChecks in Metadata.cpp.o
> > > > > > > llvm::VerifyEnableABIBreakingChecks in MetadataLookup.cpp.o
> > > > > > > llvm::VerifyEnableABIBreakingChecks in Remangle.cpp.o
> > > > > > > llvm::VerifyEnableABIBreakingChecks in SwiftNativeNSXXXBase.mm.o
> > > > > >
> > > > > > Is anyone else running into this?
> > > > >
> > > > > This was a hiccup after an LLVM change a few weeks ago. Try deleting your entire build directory and rebuilding.
> > > > >
> > > > >
> > > > > --
> > > > > Greg Parker gparker at apple.com Runtime Wrangler
> > > > >
> > > > >
> > > > _______________________________________________
> > > > swift-dev mailing list
> > > > swift-dev at swift.org
> > > > https://lists.swift.org/mailman/listinfo/swift-dev
> > >
> > > _______________________________________________
> > > swift-dev mailing list
> > > swift-dev at swift.org
> > > https://lists.swift.org/mailman/listinfo/swift-dev
> > _______________________________________________
> > swift-dev mailing list
> > swift-dev at swift.org
> > https://lists.swift.org/mailman/listinfo/swift-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170213/c1e4b734/attachment.html>
More information about the swift-dev
mailing list