[MacPorts] #50334: epiphany @3.18.2: build against webkit2-gtk fails with missing symbols
MacPorts
noreply at macports.org
Thu Jan 14 23:06:40 PST 2016
#50334: epiphany @3.18.2: build against webkit2-gtk fails with missing symbols
--------------------------+------------------------
Reporter: devans@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: webkit2-gtk |
--------------------------+------------------------
Description changed by devans@…:
Old description:
> When attempting to build epiphany @3.18.2 using webkit2-gtk build fails
> as follows:
> {{{
> libtool: link: /usr/bin/clang -o .libs/libephywebextension.so -bundle
> .libs/libephywebextension_la-ephy-embed-form-auth.o .libs
> /libephywebextension_la-ephy-web-extension.o .libs
> /libephywebextension_la-ephy-web-extension-main.o .libs
> /libephywebextension_la-ephy-web-overview.o .libs/libephywebextension_la-
> ephy-web-overview-model.o .libs/libephywebextension_la-uri-tester.o
> -Wl,-force_load,../../lib/.libs/libephymisc.a -L/opt/local/lib
> -lgthread-2.0 -lX11 -lwnck-3 -lxslt -lz -lpthread -liconv -lm -lxml2
> -lgnome-desktop-3 -lnotify -lsqlite3 -lgcr-ui-3 -lgcr-base-3 -lgck-1
> -lp11-kit -lavahi-gobject -lavahi-common -lavahi-client -lwebkit2gtk-4.0
> -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject
> -lcairo -lgdk_pixbuf-2.0 -lsoup-2.4 -ljavascriptcoregtk-4.0 -lsecret-1
> -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -Os -arch x86_64
> -Wl,-headerpad_max_install_names -arch x86_64
> Undefined symbols for architecture x86_64:
> "_webkit_dom_document_get_elements_by_tag_name", 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)
> "_webkit_dom_dom_window_webkit_message_handlers_post_message",
> referenced from:
> _request_decision_on_storing in libephywebextension_la-ephy-web-
> extension.o
> "_webkit_dom_html_input_element_is_edited", referenced from:
> _ephy_web_dom_utils_has_modified_forms in libephymisc.a
> (libephymisc_la-ephy-web-dom-utils.o)
> "_webkit_dom_html_text_area_element_is_edited", referenced from:
> _ephy_web_dom_utils_has_modified_forms in libephymisc.a
> (libephymisc_la-ephy-web-dom-utils.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[4]: *** [libephywebextension.la] Error 1
> make[4]: Leaving directory `/opt/local/var/macports/build
> /_opt_macports_users_devans_GNOME-
> 3_stable_dports_gnome_epiphany/epiphany/work/epiphany-3.18.2/embed/web-
> extension'
> }}}
>
> I've confirmed that the missing symbols are not included in
> libwebkit2-gtk-4.0 although they are included in the sources and built
> info a separate static library which is not installed.
>
> Sources can be found under Source/WebCore/bindings/gobject.
>
> gnome-online-accounts 3.18.1 fails in a similar way but with a subset of
> these same missing symbols.
>
> Working ports under test can be found in my GNOME-3/stable branch as
> [http://svn.macports.org/repository/macports/users/devans/GNOME-3/stable/dports/gnome/epiphany
> epiphany] and
> [http://svn.macports.org/repository/macports/users/devans/GNOME-3/stable/dports/gnome
> /gnome-online-accounts gnome-online-accounts].
New description:
When attempting to build epiphany @3.18.2 using webkit2-gtk build fails as
follows:
{{{
libtool: link: /usr/bin/clang -o .libs/libephywebextension.so -bundle
.libs/libephywebextension_la-ephy-embed-form-auth.o .libs
/libephywebextension_la-ephy-web-extension.o .libs/libephywebextension_la-
ephy-web-extension-main.o .libs/libephywebextension_la-ephy-web-overview.o
.libs/libephywebextension_la-ephy-web-overview-model.o .libs
/libephywebextension_la-uri-tester.o
-Wl,-force_load,../../lib/.libs/libephymisc.a -L/opt/local/lib
-lgthread-2.0 -lX11 -lwnck-3 -lxslt -lz -lpthread -liconv -lm -lxml2
-lgnome-desktop-3 -lnotify -lsqlite3 -lgcr-ui-3 -lgcr-base-3 -lgck-1
-lp11-kit -lavahi-gobject -lavahi-common -lavahi-client -lwebkit2gtk-4.0
-lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject
-lcairo -lgdk_pixbuf-2.0 -lsoup-2.4 -ljavascriptcoregtk-4.0 -lsecret-1
-lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -Os -arch x86_64
-Wl,-headerpad_max_install_names -arch x86_64
Undefined symbols for architecture x86_64:
"_webkit_dom_document_get_elements_by_tag_name", 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)
"_webkit_dom_dom_window_webkit_message_handlers_post_message",
referenced from:
_request_decision_on_storing in libephywebextension_la-ephy-web-
extension.o
"_webkit_dom_html_input_element_is_edited", referenced from:
_ephy_web_dom_utils_has_modified_forms in libephymisc.a
(libephymisc_la-ephy-web-dom-utils.o)
"_webkit_dom_html_text_area_element_is_edited", referenced from:
_ephy_web_dom_utils_has_modified_forms in libephymisc.a
(libephymisc_la-ephy-web-dom-utils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [libephywebextension.la] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build
/_opt_macports_users_devans_GNOME-
3_stable_dports_gnome_epiphany/epiphany/work/epiphany-3.18.2/embed/web-
extension'
}}}
I've confirmed that the missing symbols are not included in
libwebkit2-gtk-4.0 although they are included in the sources and built
into a separate static library which is not installed.
Sources can be found under Source/WebCore/bindings/gobject.
gnome-online-accounts 3.18.1 fails in a similar way but with a subset of
these same missing symbols.
Working ports under test can be found in my GNOME-3/stable branch as
[http://svn.macports.org/repository/macports/users/devans/GNOME-3/stable/dports/gnome/epiphany
epiphany] and
[http://svn.macports.org/repository/macports/users/devans/GNOME-3/stable/dports/gnome
/gnome-online-accounts gnome-online-accounts].
--
--
Ticket URL: <https://trac.macports.org/ticket/50334#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list