<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - webkit-gtk 2.11.3 is missing some symbols"
   href="https://bugs.webkit.org/show_bug.cgi?id=153117">153117</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>webkit-gtk 2.11.3 is missing some symbols
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeremyhu&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As reported at <a href="https://trac.macports.org/ticket/50334">https://trac.macports.org/ticket/50334</a>

We configure using:

cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH=&quot;/opt/local;/usr&quot; -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DPORT=GTK -DENABLE_X11_TARGET=ON -DENABLE_QUARTZ_TARGET=OFF -DENABLE_INTROSPECTION=OFF -DLLVM_CONFIG_EXE=/opt/local/bin/llvm-config-mp-3.7 -DENABLE_VIDEO=ON -DENABLE_PLUGIN_PROCESS_GTK2=ON -DCMAKE_C_FLAGS_RELEASE=&quot;-DNDEBUG&quot; -DCMAKE_CXX_FLAGS_RELEASE=&quot;-DNDEBUG&quot; -DCMAKE_OSX_ARCHITECTURES=&quot;x86_64&quot; -DCMAKE_OSX_DEPLOYMENT_TARGET=&quot;10.11&quot; -DCMAKE_OSX_SYSROOT=&quot;/&quot;

And install libwebkit2gtk-4.0.37.13.0.dylib by copying it from the lib directory to workaround <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CMake GTK OSX] webkit-gtk 2.11.2: most content is not installed by 'make install'"
   href="show_bug.cgi?id=152651">bug #152651</a>.

The resulting libwebkit2gtk-4.0.37.13.0.dylib is missing some symbols, and dependent projects fail to link:

Undefined symbols for architecture x86_64:
  &quot;_webkit_dom_document_get_elements_by_tag_name&quot;, referenced from:
      _ephy_web_overview_document_loaded in libephywebextension_la-ephy-web-overview.o
      _ephy_web_dom_utils_get_application_title in libephymisc.a(libephymisc_la-ephy-web-dom-utils.o)
      _ephy_web_dom_utils_get_best_icon in libephymisc.a(libephymisc_la-ephy-web-dom-utils.o)
  &quot;_webkit_dom_dom_window_webkit_message_handlers_post_message&quot;, referenced from:
      _request_decision_on_storing in libephywebextension_la-ephy-web-extension.o
  &quot;_webkit_dom_html_input_element_is_edited&quot;, referenced from:
      _ephy_web_dom_utils_has_modified_forms in libephymisc.a(libephymisc_la-ephy-web-dom-utils.o)
  &quot;_webkit_dom_html_text_area_element_is_edited&quot;, referenced from:
      _ephy_web_dom_utils_has_modified_forms in libephymisc.a(libephymisc_la-ephy-web-dom-utils.o)

---

$ nm /opt/local/lib/libwebkit2gtk-4.0.dylib | egrep '(_webkit_dom_document_get_elements_by_tag_name|_webkit_dom_dom_window_webkit_message_handlers_post_message|_webkit_dom_html_input_element_is_edited|_webkit_dom_html_text_area_element_is_edited)'
0000000000d68f42 T _webkit_dom_document_get_elements_by_tag_name_as_html_collection
0000000000d6968f T _webkit_dom_document_get_elements_by_tag_name_ns_as_html_collection</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>