[MacPorts] #52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra -------------------------+-------------------------------- Reporter: allan.que@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: sierra | Port: webkit2-gtk -------------------------+-------------------------------- I get an error building webkit2-gtk with +quartz under 10.12. {{{ :info:build Undefined symbols for architecture x86_64: :info:build "WebCore::GLContext::createSharingContext(WebCore::PlatformDisplay&)", referenced from: :info:build WebCore::PlatformDisplay::sharingGLContext() in libWebCorePlatformGTK.a(PlatformDisplay.cpp.o) :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: *** [lib/libwebkit2gtk-4.0.37.14.7.dylib] Error 1 }}} Running Xcode 8.0 (8A218a). I tried `rm -rf /opt/local` and got the same results. -- Ticket URL: <https://trac.macports.org/ticket/52495> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra --------------------------+-------------------------------- Reporter: allan.que@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: webkit2-gtk | --------------------------+-------------------------------- Comment (by jeremyhu@…): Does webkit2-gtk-devel build for you? I'll probably be updating webkit2-gtk to that version soon. -- Ticket URL: <https://trac.macports.org/ticket/52495#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra --------------------------+-------------------------------- Reporter: allan.que@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: webkit2-gtk | --------------------------+-------------------------------- Comment (by allan.que@…): webkit2-gtk-devel also fails with the same error. -- Ticket URL: <https://trac.macports.org/ticket/52495#comment:2> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra --------------------------+-------------------------------- Reporter: allan.que@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: webkit2-gtk | --------------------------+-------------------------------- Comment (by devans@…): Has duplicate #52501. -- Ticket URL: <https://trac.macports.org/ticket/52495#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra --------------------------+-------------------------------- Reporter: allan.que@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: webkit2-gtk | --------------------------+-------------------------------- Comment (by p.bro@…): I have the same error on El Capitan (10.11.6). -- Ticket URL: <https://trac.macports.org/ticket/52495#comment:5> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra --------------------------+------------------------ Reporter: allan.que@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: webkit2-gtk | --------------------------+------------------------ Changes (by jeremyhu@…): * owner: macports-tickets@… => jeremyhu@… * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/52495#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra --------------------------+------------------------ Reporter: allan.que@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: webkit2-gtk | --------------------------+------------------------ Comment (by jeremyhu@…): The call site in WebCore/platform/graphics/PlatformDisplay.cpp is: {{{ #if !PLATFORM(EFL) GLContext* PlatformDisplay::sharingGLContext() { if (!m_sharingGLContext) m_sharingGLContext = GLContext::createSharingContext(*this); return m_sharingGLContext.get(); } #endif }}} The declaration in WebCore/platform/graphics/GLContext.h is: {{{ namespace WebCore { class GLContext { ... public: ... static std::unique_ptr<GLContext> createSharingContext(PlatformDisplay&); }}} Looking in WebCore/platform/graphics/GLContext.cpp, it looks like it's only relevant for either GLX, EGL, or Wayland, so this should just not be used. r154013 should fix the build by disabling this codepath. -- Ticket URL: <https://trac.macports.org/ticket/52495#comment:9> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52495: webkit2-gtk @2.14.0+quartz: undefined symbols error under Sierra --------------------------+------------------------ Reporter: allan.que@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: sierra Port: webkit2-gtk | --------------------------+------------------------ Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/52495#comment:10> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts