#50335: webkit2-gtk @ 2.11.3: build failure involving availability macros on 10.10 (Mavericks) -----------------------+------------------------- Reporter: devans@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: mavericks | Port: webkit2-gtk -----------------------+------------------------- Build fails as follows {{{ In file included from /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/Source/WebKit2/WebProcess/Plugins/PluginView.cpp:35: In file included from /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/Source/WebKit2/WebProcess/WebPage/WebPage.h:37: In file included from /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundlePageDiagnosticLoggingClient.h:30: In file included from /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.h:29: In file included from /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/DerivedSources/ForwardingHeaders/JavaScriptCore/JavaScript.h:1: In file included from /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/Source/JavaScriptCore/API/JavaScript.h:31: In file included from /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/DerivedSources/ForwardingHeaders/JavaScriptCore/JSContextRef.h:1: /opt/local/var/macports/build/_opt_mports_dports_www_webkit2-gtk/webkit2-gtk/work/webkitgtk-2.11.3/Source/JavaScriptCore/API/JSContextRef.h:144:71: error: expected '=' after '__NSi_10_10' JS_EXPORT JSStringRef JSGlobalContextCopyName(JSGlobalContextRef ctx) CF_AVAILABLE(10_10, 8_0); ^ /System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:95:81: note: expanded from macro 'CF_AVAILABLE' #define CF_AVAILABLE(_mac, _ios) __attribute__((availability(macosx,__NSi_##_mac))) }}} See attached build log from buildbot -- Ticket URL: <https://trac.macports.org/ticket/50335> MacPorts <https://www.macports.org/> Ports system for OS X