[Webkit-unassigned] [Bug 79599] webkit-gtk-1.7.90 fails to build testwebview for gtk2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 27 20:31:43 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79599





--- Comment #2 from Alexandre Rostovtsev <tetromino at gentoo.org>  2012-02-27 20:31:43 PST ---
Created an attachment (id=129178)
 --> (https://bugs.webkit.org/attachment.cgi?id=129178&action=review)
complete build log

(In reply to comment #1)
> This should be guarded by the GTK_API_VERSION2 define. This seems to be working properly for me. Can you build with "make V=1" and confirm that the macro is passed properly to the compiler?

The test fails to find gtk_box_new even though -DGTK_API_VERSION_2=1 is passed to the compiler:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -fno-strict-aliasing -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/WebKit/gtk -I./DerivedSources -I./Source/WebKit/gtk -I./Source/WebCore/bindings -I./Source/WebCore/bindings/gobject -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 -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX  -DWTF_USE_ICU_UNICODE=1   -DWTF_USE_GSTREAMER=1     -DGTK_API_VERSION_2=1 -DNDEBUG    -DENABLE_JIT=1 -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/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf -I./Source/JavaScriptCore/wtf/gobject -I./Source/JavaScriptCore/wtf/gtk -I./Source/JavaScriptCore/wtf/text -I./Source/JavaScriptCore/wtf/unicode -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -lXrender -lX11   -lXt -lX11   -march=native -O2 -pipe  -MT Source/WebKit/gtk/tests/Programs_unittests_testwebview-testwebview.o -MD -MP -MF Source/WebKit/gtk/tests/.deps/Programs_unittests_testwebview-testwebview.Tpo -c -o Source/WebKit/gtk/tests/Programs_unittests_testwebview-testwebview.o `test -f 'Source/WebKit/gtk/tests/testwebview.c' || echo './'`Source/WebKit/gtk/tests/testwebview.c
[...]
Source/WebKit/gtk/tests/testwebview.c: In function ‘test_webkit_web_view_does_not_steal_focus’:
Source/WebKit/gtk/tests/testwebview.c:392:5: warning: implicit declaration of function ‘gtk_box_new’ [-Wimplicit-function-declaration]
Source/WebKit/gtk/tests/testwebview.c:392:22: warning: initialization makes pointer from integer without a cast [enabled by default]
[...]
Source/WebKit/gtk/tests/Programs_unittests_testwebview-testwebview.o: In function `test_webkit_web_view_does_not_steal_focus':
testwebview.c:(.text+0x4f): undefined reference to `gtk_box_new'
collect2: ld returned 1 exit status
make: *** [Programs/unittests/testwebview] Error 1

Complete build log with "make V=1 -j5" is attached.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list