WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 118458
[GTK] Build against wayland-only GTK+ fails
https://bugs.webkit.org/show_bug.cgi?id=118458
Summary
[GTK] Build against wayland-only GTK+ fails
Jürg Billeter
Reported
2013-07-08 01:52:19 PDT
I've built GTK+ master (3.9.6-175-g8137b28) with wayland backend but without X11 backend. Trying to build WebKitGTK+ 2.1.2 with that GTK+ build with default configure options fails here: libtool: compile: g++ -DHAVE_CONFIG_H -I. -DBUILDING_WEBKIT -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -DBUILDING_WEBKIT2__ -I./Source/ThirdParty/ANGLE/src -I./Source/ThirdParty/ANGLE/include -I./Source/ThirdParty/ANGLE/include/GLSLANG -I./Source/ThirdParty/ANGLE/include/KHR -I./DerivedSources/Platform -DWEBKITGTK_API_VERSION_STRING=\"3.0\" -DDATA_DIR=\"/usr/lib\" -I./Source/WebCore/platform -I./Source/WebCore/platform/animation -I./Source/WebCore/platform/audio -I./Source/WebCore/platform/cairo -I./Source/WebCore/platform/geoclue -I./Source/WebCore/platform/graphics -I./Source/WebCore/platform/graphics/cairo -I./Source/WebCore/platform/graphics/cpu/arm -I./Source/WebCore/platform/graphics/cpu/arm/filters -I./Source/WebCore/platform/graphics/egl -I./Source/WebCore/platform/graphics/filters -I./Source/WebCore/platform/graphics/glx -I./Source/WebCore/platform/graphics/gpu -I./Source/WebCore/platform/graphics/gstreamer -I./Source/WebCore/platform/graphics/gtk -I./Source/WebCore/platform/graphics/harfbuzz -I./Source/WebCore/platform/graphics/texmap -I./Source/WebCore/platform/graphics/transforms -I./Source/WebCore/platform/gtk -I./Source/WebCore/platform/image-decoders -I./Source/WebCore/platform/image-decoders/bmp -I./Source/WebCore/platform/image-decoders/cairo -I./Source/WebCore/platform/image-decoders/gif -I./Source/WebCore/platform/image-decoders/ico -I./Source/WebCore/platform/image-decoders/jpeg -I./Source/WebCore/platform/image-decoders/png -I./Source/WebCore/platform/image-decoders/webp -I./Source/WebCore/platform/network -I./Source/WebCore/platform/network/gtk -I./Source/WebCore/platform/network/soup -I./Source/WebCore/platform/text -I./Source/WebCore/platform/text/transcoder -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-strict-aliasing -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/harfbuzz -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fvisibility-inlines-hidden -fno-rtti -g1 -O2 -std=c++11 -Wno-c++11-compat -O2 -MT Source/WebCore/platform/gtk/libPlatformGtk_la-GtkWidgetBackingStoreX11.lo -MD -MP -MF Source/WebCore/platform/gtk/.deps/libPlatformGtk_la-GtkWidgetBackingStoreX11.Tpo -c Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp -fPIC -DPIC -o Source/WebCore/platform/gtk/.libs/libPlatformGtk_la-GtkWidgetBackingStoreX11.o Source/WebCore/platform/gtk/GtkWidgetBackingStoreX11.cpp:26:22: fatal error: gdk/gdkx.h: No such file or directory #include <gdk/gdkx.h> ^ compilation terminated. make[1]: *** [Source/WebCore/platform/gtk/libPlatformGtk_la-GtkWidgetBackingStoreX11.lo] Error 1 make[1]: Leaving directory `/src/webkitgtk-3' make: *** [all] Error 2 Container failed with error code 2. This is on Linux x86-64. If you want to reproduce this, you may need the GTK+ patch from
https://bugzilla.gnome.org/show_bug.cgi?id=703765
Attachments
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2013-09-03 04:17:45 PDT
I plan to address this under
bug #120627
. Setting this bug as dependent on that one.
Zan Dobersek
Comment 2
2013-09-04 05:29:07 PDT
As promised, this has been fixed through
bug #120627
, which landed in
r155032
.
http://trac.webkit.org/changeset/155032
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug