Opened 9 years ago

Closed 9 years ago

#50335 closed defect (fixed)

webkit2-gtk @ 2.11.3: build failure involving availability macros on 10.10 (Mavericks)

Reported by: dbevans (David B. Evans) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: mavericks Cc:
Port: webkit2-gtk

Description

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

Attachments (1)

buildports-mavericks-x86_64-16076-main.log (89.5 MB) - added by dbevans (David B. Evans) 9 years ago.
Build log showing failure

Change History (3)

Changed 9 years ago by dbevans (David B. Evans)

Build log showing failure

comment:1 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yeah, I've been discussing this in https://bugs.webkit.org/show_bug.cgi?id=152720

comment:2 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

This should be addressed by r144682.

Note: See TracTickets for help on using tickets.