Bug 150802

Summary: [GTK][Mac] libWebExtensionTest link error
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: WebKitGTKAssignee: Philippe Normand <pnormand>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia, mcatanzaro, mrobinson, philip.chimento
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 126492    
Attachments:
Description Flags
Patch cgarcia: review+

Description Philippe Normand 2015-11-02 06:46:05 PST
FAILED: : && /usr/local/opt/ccache/libexec/c++  -std=c++11 -fcolor-diagnostics -Qunused-arguments -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -bundle -Wl,-headerpad_max_install_names -L/Users/philn/dev/WebKit/WebKitBuild/DependenciesGTK/Root/lib -L/usr/local/lib -L/usr/local/Cellar/openssl/1.0.2c/lib/ -L/usr/local/Cellar/gettext/0.19.6/lib/ -o lib/WebKit2GtkAPITests/libWebExtensionTest.so Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeFiles/WebExtensionTest.dir/WebExtensionTest.cpp.o   && :
Undefined symbols for architecture x86_64:
  "_JSContextGetGlobalObject", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
  "_JSEvaluateScript", referenced from:
      methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o
  "_JSObjectMakeFunctionWithCallback", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
  "_JSObjectSetProperty", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
  "_JSStringCreateWithUTF8CString", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
      methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o
  "_JSStringRelease", referenced from:
      windowObjectCleared(_WebKitScriptWorld*, _WebKitWebPage*, _WebKitFrame*, void*) in WebExtensionTest.cpp.o
      echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o
      methodCallCallback(_GDBusConnection*, char const*, char const*, char const*, char const*, _GVariant*, _GDBusMethodInvocation*, void*) in WebExtensionTest.cpp.o
  "_JSValueMakeString", referenced from:
      echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o
  "_JSValueMakeUndefined", referenced from:
      echoCallback(OpaqueJSContext const*, OpaqueJSValue*, OpaqueJSValue*, unsigned long, OpaqueJSValue const* const*, OpaqueJSValue const**) in WebExtensionTest.cpp.o
  "_JSValueToStringCopy", referenced from:
...
Comment 1 Philippe Normand 2015-11-02 06:49:32 PST
Created attachment 264585 [details]
Patch
Comment 2 Philippe Normand 2015-12-05 07:57:20 PST
A review would be much appreciated, thanks in advance :)
Comment 3 Philippe Normand 2015-12-07 01:12:08 PST
Committed r193617: <http://trac.webkit.org/changeset/193617>