[MacPorts] #34134: webkit-gtk @1.6.3 - Build failure
#34134: webkit-gtk @1.6.3 - Build failure -------------------------------------+-------------------------------------- Reporter: l.wayne.james@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: webkit-gtk -------------------------------------+-------------------------------------- I am trying to build webkit-gtk as a pre-requisite to gimp2. Variants: (+)quartz, [+]svg, (-)universal, [+]video Build is failing with: {{{ CXX Source/WebCore/platform/gtk/libWebCoreGtk_la- GeolocationServiceGtk.lo Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:27:30: error: cairo/cairo-xlib.h: No such file or directory Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:29:22: error: gdk/gdkx.h: No such file or directory CXX Source/WebCore/platform/gtk/libWebCoreGtk_la-GOwnPtrGtk.lo Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp: In constructor 'WebCore::WidgetBackingStorePrivate::WidgetBackingStorePrivate(GtkWidget*, const WebCore::IntSize&)': Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:62: error: 'GDK_SCREEN_XDISPLAY' was not declared in this scope Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:64: error: 'GDK_WINDOW_XID' was not declared in this scope Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:70: error: 'GDK_VISUAL_XVISUAL' was not declared in this scope Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:71: error: 'cairo_xlib_surface_create' was not declared in this scope make[1]: *** [Source/WebCore/platform/gtk/libWebCoreGtk_la- GtkWidgetBackingStoreX11.lo] Error 1 }}} Log is attached. -- Ticket URL: <https://trac.macports.org/ticket/34134> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure -------------------------------------+-------------------------------------- Reporter: l.wayne.james@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: webkit-gtk -------------------------------------+-------------------------------------- Comment(by l.wayne.james@…): Changes from ticket #34086 had no effect. -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure -------------------------------------+-------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: webkit-gtk -------------------------------------+-------------------------------------- Changes (by jeremyhu@…): * status: new => assigned * owner: macports-tickets@… => jeremyhu@… Comment: Replying to [comment:2 l.wayne.james@…]:
Changes from ticket #34086 had no effect.
Well, they did have an effect. The effect was that they got past that issue and got you to a new one... Apparently, it's trying to bring in some X11 related bits when it shouldn't... -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure -------------------------------------+-------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Keywords: | Port: webkit-gtk -------------------------------------+-------------------------------------- Comment(by jeremyhu@…): https://bugs.webkit.org/show_bug.cgi?id=84423 -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: Port: webkit-gtk | --------------------------------------+------------------------------------- Changes (by jeremyhu@…): * status: assigned => closed * resolution: => fixed Comment: r92147 should address this one... hopefully that's the last one... -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: Port: webkit-gtk | --------------------------------------+------------------------------------- Changes (by l.wayne.james@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [comment:5 jeremyhu@…]:
r92147 should address this one... hopefully that's the last one...
Unfortunately - in my case - it wasn't. :) But removing "Source/WebCore/plugins/gtk/PluginViewGtk.cpp" as you did "GtkWidgetBackingStoreX11.cpp" allowed a complete build. Please forgive my ignorance, but do you wish me to open another ticket for tracking purposes? or would a new (quartz.patch) patch attached to this one help? I'll be able to do either (I think) as soon as gimp builds and I can confirm basic functionality. By the way... Thank you! :D -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: Port: webkit-gtk | --------------------------------------+------------------------------------- Comment(by l.wayne.james@…): Attaching new "quartz.patch" as promised. This allows webkit-gtk to build. -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: l.wayne.james@… (removed) * keywords: => haspatch Comment: We would prefer unified diffs instead of contextual ones. -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: macports1@… (added) Comment: Has duplicate #34139. -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Comment(by l.wayne.james@…): As you wish! :) -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: Ok, I updated it with your patch. Thanks for the help. remote debugging has massive I/O lag. =) r92162 -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Changes (by pokui@…): * status: closed => reopened * resolution: fixed => Comment: r96758 added this bug back as a regression. Source/WebCore/plugins/gtk/PluginViewGtk.cpp still depends on X11. ps: Midway my testing the patch r96855 was released without a rev bump ... made patching this interesting. -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: Sorry. I thought upstream had already applied the patch. It's back in r96886 -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Comment(by dtakahashi42@…): Could you include this small fix on quartz.patch, which resolves #35767? {{{ @@ -10,7 +10,7 @@ if TARGET_X11 webcoregtk_sources += \ -+ Source/WebCore/plugins/gtk/PluginViewGtk.cpp ++ Source/WebCore/plugins/gtk/PluginViewGtk.cpp \ Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp \ Source/WebCore/plugins/gtk/gtk2xtbin.c \ Source/WebCore/plugins/gtk/gtk2xtbin.h \ }}} -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure --------------------------------------+------------------------------------- Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: webkit-gtk | --------------------------------------+------------------------------------- Comment(by jeremyhu@…):
< r96926
-- Ticket URL: <https://trac.macports.org/ticket/34134#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34134: webkit-gtk @1.6.3 - Build failure ------------------------------+------------------------ Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: | Keywords: haspatch Port: webkit-gtk | ------------------------------+------------------------ Changes (by info@…): * status: closed => reopened * resolution: fixed => Comment: Not sure if I should reopen this or file another. I got this error on build of webkit-gtk-2.0 (OSX 10.7.5, Intel Core i7): {{{ ---> Configuring webkit-gtk-2.0 ---> Building webkit-gtk-2.0 Error: org.macports.build for port webkit-gtk-2.0 returned: command execution failed Please see the log file for port webkit-gtk-2.0 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_www_webkit-gtk-2.0/webkit-gtk-2.0/main.log }}} In the log: {{{ :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_www_webkit-gtk-2.0/webkit- gtk-2.0/work/webkitgtk-2.0.4" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" V=1 :info:build Exit code: 2 }}} Then trying to execute the failed command manually, a series of errors like this: {{{ error: unable to open output file 'Source/JavaScriptCore/API/.libs /libjavascriptcoregtk_1_0_la-JSCallbackFunction.o': 'Error opening output file 'Source/JavaScriptCore/API/.libs/libjavascriptcoregtk_1_0_la- JSCallbackFunction.o'' }}} Turns out the '''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_www_webkit-gtk-2.0/webkit- gtk-2.0/work/webkitgtk-2.0.4/Source/JavaScriptCore/API/.libs''' directory doesn't exists Creating the directory appears to have let it pass this step. -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#34134: webkit-gtk @1.6.3 - Build failure ------------------------------+------------------------ Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: webkit-gtk | ------------------------------+------------------------ Changes (by jeremyhu@…): * status: reopened => closed * resolution: => fixed Comment: File another please. This is a year and a half old bug ;) -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#34134: webkit-gtk @1.6.3 - Build failure ------------------------------+------------------------ Reporter: l.wayne.james@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.99 Resolution: fixed | Keywords: haspatch Port: webkit-gtk | ------------------------------+------------------------ Comment (by jeremyhu@…): Looks like a parallel build issue, fwiw... nothing to do with this bug. -- Ticket URL: <https://trac.macports.org/ticket/34134#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts