Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#50334 closed defect (fixed)

epiphany @3.18.2, gnome-online-accounts @3.18.3: build against webkit2-gtk fails with missing symbols

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

Description (last modified by dbevans (David B. Evans))

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 epiphany and gnome-online-accounts.

Attachments (2)

main.log (633.1 KB) - added by dbevans (David B. Evans) 9 years ago.
Full epiphany build log
goa-main.log (1004.3 KB) - added by dbevans (David B. Evans) 9 years ago.
Full gnome-online-accounts build log

Download all attachments as: .zip

Change History (9)

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

Attachment: main.log added

Full epiphany build log

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

Attachment: goa-main.log added

Full gnome-online-accounts build log

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

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

Sources under Source/WebCore/bindings/gobject are built and linked into lib/libGObjectDOMBindings.a

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

Description: modified (diff)

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

Summary: epiphany @3.18.2: build against webkit2-gtk fails with missing symbolsepiphany @3.18.2, gnome-online-accounts @3.18.3: build against webkit2-gtk fails with missing symbols

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

Yeah, see the upstream bug for discussion. I'm testing a change to address this and the Mavericks bug.

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

Resolution: fixed
Status: newclosed

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

Confirming that this fix allows both epiphany and gnome-online-accounts to build without error. However see #50339.

Note: See TracTickets for help on using tickets.