[MacPorts] #59536: surf: error: missing ',' between enumerators

MacPorts noreply at macports.org
Thu Oct 31 00:50:00 UTC 2019


#59536: surf: error: missing ',' between enumerators
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  surf
------------------------+--------------------
 [https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/251/steps
 /install-port/logs/stdio surf doesn't build]:

 {{{
 In file included from surf.c:25:
 In file included from
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JavaScript.h:31:
 In file included from
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h:29:
 In file included from
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:31:
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:54:18: error:
 missing ',' between enumerators
     kJSTypeSymbol JSC_API_AVAILABLE(macos(10.15), ios(13.0))
                  ^
                  ,
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:54:36: error:
 expected '= constant-expression' or end of enumerator definition
     kJSTypeSymbol JSC_API_AVAILABLE(macos(10.15), ios(13.0))
                                    ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:2: error:
 expected ';' after enum
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
  ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:3: error:
 unknown type name 'JSTypedArrayType'
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
   ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:44: error:
 expected parameter declarator
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
                                            ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:44: error:
 expected ')'
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:43: note:
 to match this '('
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
                                           ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:38:
 warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
                                      ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:56: error:
 expected parameter declarator
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
                                                        ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:56: error:
 expected ')'
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:55: note:
 to match this '('
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
                                                       ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:85:52:
 warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
 } JSTypedArrayType JSC_API_AVAILABLE(macos(10.12), ios(10.0));
                                                    ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:152:68:
 error: expected function body after function declarator
 JS_EXPORT bool JSValueIsSymbol(JSContextRef ctx, JSValueRef value)
 JSC_API_AVAILABLE(macos(10.15), ios(13.0));
                                                                    ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:181:67:
 error: expected function body after function declarator
 JS_EXPORT bool JSValueIsArray(JSContextRef ctx, JSValueRef value)
 JSC_API_AVAILABLE(macos(10.11), ios(9.0));
                                                                   ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:190:66:
 error: expected function body after function declarator
 JS_EXPORT bool JSValueIsDate(JSContextRef ctx, JSValueRef value)
 JSC_API_AVAILABLE(macos(10.11), ios(9.0));
                                                                  ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:200:11:
 error: unknown type name 'JSTypedArrayType'
 JS_EXPORT JSTypedArrayType JSValueGetTypedArrayType(JSContextRef ctx,
 JSValueRef value, JSValueRef* exception) JSC_API_AVAILABLE(macos(10.12),
 ios(10.0));
           ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:200:112:
 error: expected function body after function declarator
 JS_EXPORT JSTypedArrayType JSValueGetTypedArrayType(JSContextRef ctx,
 JSValueRef value, JSValueRef* exception) JSC_API_AVAILABLE(macos(10.12),
 ios(10.0));
 ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:289:83:
 error: expected function body after function declarator
 JS_EXPORT JSValueRef JSValueMakeSymbol(JSContextRef ctx, JSStringRef
 description) JSC_API_AVAILABLE(macos(10.15), ios(13.0));
 ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:300:86:
 error: expected function body after function declarator
 JS_EXPORT JSValueRef JSValueMakeFromJSONString(JSContextRef ctx,
 JSStringRef string) JSC_API_AVAILABLE(macos(10.7), ios(7.0));
 ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSValueRef.h:311:123:
 error: expected function body after function declarator
 JS_EXPORT JSStringRef JSValueCreateJSONString(JSContextRef ctx, JSValueRef
 value, unsigned indent, JSValueRef* exception)
 JSC_API_AVAILABLE(macos(10.7), ios(7.0));
 ^
 In file included from surf.c:25:
 In file included from
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JavaScript.h:31:
 In file included from
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSContextRef.h:29:
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:444:134:
 error: expected function body after function declarator
 JS_EXPORT JSObjectRef JSObjectMakeArray(JSContextRef ctx, size_t
 argumentCount, const JSValueRef arguments[], JSValueRef* exception)
 JSC_API_AVAILABLE(macos(10.6), ios(7.0));
 ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:455:133:
 error: expected function body after function declarator
 JS_EXPORT JSObjectRef JSObjectMakeDate(JSContextRef ctx, size_t
 argumentCount, const JSValueRef arguments[], JSValueRef* exception)
 JSC_API_AVAILABLE(macos(10.6), ios(7.0));
 ^
 /opt/local/include/webkitgtk-4.0/JavaScriptCore/JSObjectRef.h:466:134:
 error: expected function body after function declarator
 JS_EXPORT JSObjectRef JSObjectMakeError(JSContextRef ctx, size_t
 argumentCount, const JSValueRef arguments[], JSValueRef* exception)
 JSC_API_AVAILABLE(macos(10.6), ios(7.0));
 ^
 fatal error: too many errors emitted, stopping now [-ferror-limit=]
 2 warnings and 20 errors generated.
 make: *** [surf.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59536>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list