#34134 closed defect (fixed)
webkit-gtk @1.6.3 - Build failure
Reported by: | l.wayne.james@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.99 |
Keywords: | haspatch | Cc: | macports1@… |
Port: | webkit-gtk |
Description
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.
Attachments (4)
Change History (22)
Changed 13 years ago by l.wayne.james@…
Attachment: | main.log.bz2 added |
---|
comment:2 follow-up: 3 Changed 13 years ago by l.wayne.james@…
Changes from ticket #34086 had no effect.
comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|---|
Status: | new → assigned |
Replying to 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...
comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
comment:5 follow-up: 6 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
r92147 should address this one... hopefully that's the last one...
comment:6 Changed 13 years ago by l.wayne.james@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to 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
comment:7 Changed 13 years ago by l.wayne.james@…
Attaching new "quartz.patch" as promised. This allows webkit-gtk to build.
Changed 13 years ago by l.wayne.james@…
Attachment: | quartz.patch added |
---|
Patch to move "Source/WebCore/plugins/gtk/PluginViewGtk.cpp" into X11 build section
comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | l.wayne.james@… removed |
---|---|
Keywords: | haspatch added |
We would prefer unified diffs instead of contextual ones.
comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | macports1@… added |
---|
Has duplicate #34139.
Changed 13 years ago by l.wayne.james@…
Attachment: | quartz.2.patch added |
---|
"quartz.patch" produced by diff -u
comment:11 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Ok, I updated it with your patch. Thanks for the help. remote debugging has massive I/O lag. =)
Changed 12 years ago by pokui@…
Attachment: | quartz-regression.patch added |
---|
patches both the portfile and adds the quartz.patch so needs -p0 and to be run a dir above the port dir
comment:12 Changed 12 years ago by pokui@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:13 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Sorry. I thought upstream had already applied the patch. It's back in r96886
comment:14 Changed 12 years ago by daitakahashi
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 \
comment:16 Changed 11 years ago by info@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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.
comment:17 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
File another please. This is a year and a half old bug ;)
comment:18 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Looks like a parallel build issue, fwiw... nothing to do with this bug.
Build log