Bug 114114 - Webkit 1.10,2 fails to make on Foresight linux
Summary: Webkit 1.10,2 fails to make on Foresight linux
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-07 04:55 PDT by rwobben
Modified: 2020-10-05 13:17 PDT (History)
2 users (show)

See Also:


Attachments
Failed build log of webkit 1.10.2 (35.04 KB, application/x-bzip)
2013-04-07 04:55 PDT, rwobben
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rwobben 2013-04-07 04:55:36 PDT
Created attachment 196779 [details]
Failed build log of webkit 1.10.2 

When I try to compile Webkit 1.10.2 on Foresight linux it fails here:

Source/WebKit/gtk/webkit/webkitversion.h:33: Warning: WebKit: symbol='WEBKITGTK_API_VERSION': Unknown namespace for symbol 'WEBKITGTK_API_VERSION'
g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/harfbuzz -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -I./Source -I./Source/WebKit/gtk -I./DerivedSources -I./DerivedSources/webkit -I./Source/WebKit/gtk -I./Source/JavaScriptCore/ForwardingHeaders -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -c -o /home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o /home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.c
g-ir-scanner: link: ./doltlibtool --mode=link --tag=CC gcc -o /home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0 -export-dynamic -O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -g -O1 /home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o -L. -lwebkitgtk-1.0 -ljavascriptcoregtk-1.0 -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0
libtool: link: gcc -o /home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0 -O2 -g -D_FORTIFY_SOURCE=2 -fstack-protector -O2 -g -O1 /home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L. -lwebkitgtk-1.0 -ljavascriptcoregtk-1.0 -lgmodule-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -pthread
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x38): undefined reference to `webkit_context_menu_action_get_type'
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x140): undefined reference to `webkit_dom_dom_security_policy_get_type'
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x1c8): undefined reference to `webkit_dom_gamepad_get_type'
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x1d0): undefined reference to `webkit_dom_gamepad_list_get_type'
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x468): undefined reference to `webkit_dom_storage_info_get_type'
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x4a8): undefined reference to `webkit_dom_webkit_named_flow_get_type'
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x4d0): undefined reference to `webkit_file_chooser_request_get_type'
/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o:(.data+0x518): undefined reference to `webkit_favicon_database_get_type'
collect2: ld returned 1 exit status
linking of temporary binary failed: Command '['./doltlibtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0', '-export-dynamic', '-O2', '-g', '-D_FORTIFY_SOURCE=2', '-fstack-protector', '-O2', '-g', '-O1', '/home/roelof/conary/builds/webkitgtk/webkitgtk-1.10.2/tmp-introspectCRxfI5/WebKit-1.0.o', '-L.', '-lwebkitgtk-1.0', '-ljavascriptcoregtk-1.0', '-Wl,--export-dynamic', '-pthread', '-lgmodule-2.0', '-lrt', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-latk-1.0', '-lpangoft2-1.0', '-lpangocairo-1.0', '-lgdk_pixbuf-2.0', '-lcairo', '-lpango-1.0', '-lfreetype', '-lfontconfig', '-lsoup-2.4', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0']' returned non-zero exit status 1
make[1]: *** [WebKit-1.0.gir] Fout 1

I will attach the whole build log. 

Roelof
Comment 1 Zan Dobersek 2013-04-09 02:23:58 PDT
I'll try to confirm this.
Comment 2 Zan Dobersek 2013-04-15 01:35:51 PDT
Unfortunately I wasn't able to reproduce this.

Could you please also attach the config.log file so we can debug this further?
If possible and convenient to you, could you also try a clean build with the same configuration options?
Comment 3 Adrian Perez 2020-10-05 13:17:32 PDT
This refers to extremely old versions of both WebKitGTK and Foresight,
it is not expected that this is relevant anymore.