Bug 50534
Summary: | webkitmarshal.h: No such file or directory | ||
---|---|---|---|
Product: | WebKit | Reporter: | marinalan |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | David.Ronis, dbates, mrobinson, naiem.shaik, thorton, tomi.kyostila, xan.lopez |
Priority: | P2 | Keywords: | Gtk |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
marinalan
Linux, Fedora 13,
svn info
Path: .
URL: http://svn.webkit.org/repository/webkit/trunk
Repository Root: http://svn.webkit.org/repository/webkit
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 73333
Node Kind: directory
Schedule: normal
Last Changed Author: paroga@webkit.org
Last Changed Rev: 73333
Last Changed Date: 2010-12-04 10:57:12 -0800 (Sat, 04 Dec 2010)
steps to reproduce:
On Dec 4, 2010:
make distclean
svn update
./autogen.sh --enable-web-sockets --enable-geolocation --enable-3D-transforms --enable-filters --enable-mathml --enable-image-resizer
make
....
End of the output:
CXX WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-ChromeClientGtk.lo
CXX WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-ContextMenuClientGtk.lo
CXX WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-DocumentLoaderGtk.lo
CXX WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-DragClientGtk.lo
CXX WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-EditorClientGtk.lo
WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp:47:27: error: webkitmarshal.h: No such file or directory
make[1]: *** [WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-EditorClientGtk.lo] Error
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This error just tells you that webkitmarshal.h hasn't been generated in DerivedSources. There should be an error for the real cause higher up in build output.
marinalan
That repeats even after several weeks:
make distclean
svn update
./autogen.sh --enable-web-sockets --enable-geolocation --enable-3D-transforms --enable-filters --enable-mathml --enable-image-resizer
make
.... after several hours of compiling:....
CXX WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-EditorClientGtk.lo
WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp:47:27: error: webkitmarshal.h: No such file or directory
make[1]: *** [WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-EditorClientGtk.lo] Error 1
Current svn version:
svn info
Path: .
URL: http://svn.webkit.org/repository/webkit/trunk
Repository Root: http://svn.webkit.org/repository/webkit
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 74659
Node Kind: directory
Schedule: normal
Last Changed Author: philn@webkit.org
Last Changed Rev: 74659
Last Changed Date: 2010-12-25 01:52:47 -0800 (Sat, 25 Dec 2010)
My desktop is based on Fedora 13
I was not seeing any error in the build above, except usual "segmentation fault", after which build is resumed with command "make" again
marinalan
./autogen.sh --enable-webgl
CXX Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_1_0_la-EditorClientGtk.lo
Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp:48:27: fatal error: webkitmarshal.h: No such file or directory
Fedora 14,
svn info:
Path: .
URL: http://svn.webkit.org/repository/webkit/trunk
Repository Root: http://svn.webkit.org/repository/webkit
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 87627
Node Kind: directory
Schedule: normal
Last Changed Author: simon.fraser@apple.com
Last Changed Rev: 87627
Last Changed Date: 2011-05-28 16:45:17 -0700 (Sat, 28 May 2011)
Naiem
try touching the file in Source/WebKit/gtk folder..problem for you is the file is not getting generated and once you touch those files the make will invoke generate derived sources again on those files, this would fix it
marinalan
What helped to generate webkitmarshal.h, it is doing that:
touch ./Source/WebKit/gtk/webkitmarshal.list
if make does not do it - why you had not placed that information somewhere in README or INSTALL?
Naiem
well i am not sure of how to add this in webkit blogs..but will keep adding these workarounds in the blog
http://spinwhale.blogspot.com/2011/06/webkit-build-issues.
(In reply to comment #5)
> What helped to generate webkitmarshal.h, it is doing that:
>
> touch ./Source/WebKit/gtk/webkitmarshal.list
>
> if make does not do it - why you had not placed that information somewhere in README or INSTALL?
David Ronis
I'm trying to build the git/master and seem to have the problem reported here. I get:
CXXLD libwebkitgtk-3.0.la
libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/4.7.1/../../../libstdc++.la' seems to be moved
/usr/bin/mkdir -p ./.deps/DerivedSources
CXX Source/WebKit2/UIProcess/API/gtk/libwebkit2gtk_3_0_la-WebKitBackForwardList.lo
Source/WebKit2/UIProcess/API/gtk/WebKitBackForwardList.cpp:24:27: fatal error: WebKitMarshal.h: No such file or directory
compilation terminated.
I've tried touching the file mentioned in comment #5, both before running make and after the crash, but this didn't help. I also ran "make clean", touched the file and rebuilt from scratch. I get the same problem
Martin Robinson
(In reply to comment #7)
> I've tried touching the file mentioned in comment #5, both before running make and after the crash, but this didn't help. I also ran "make clean", touched the file and rebuilt from scratch. I get the same problem
webkitmarshal.h and WebKitMarshal.h are actually different files in this case -- one is for WebKit1 and one if for WebKit2. Do you mind doing a fully clean build and then attaching the output of your build with make V=1?
David Ronis
I purged the entire directory and started from scratch with a fresh git clone of the master tree. The build still fails, although now in a different place entirely. Now make V=1 shows that
libtool: link: /usr/bin/g++ -I/opt/garnome-3.5.3/include -O2 -pipe -Wno-c++0x-compat -g -O0 -Wl,--export-dynamic -o Programs/.libs/WebKitWebProcess Source/WebKit2/gtk/Programs_WebKitWebProcess-MainGtk.o -Wl,--export-dynamic -pthread -L/opt/garnome-3.5.3/lib ./.libs/libjavascriptcoregtk-3.0.so ./.libs/libwebkit2gtk-3.0.so /home/ronis/Project/notar/GNOME/garnome/svn/webkit/work/main.d/webkit-git/.libs/libjavascriptcoregtk-3.0.so /opt/garnome-3.5.3/lib/libenchant.so /opt/garnome-3.5.3/lib/libgailutil-3.so /opt/garnome-3.5.3/lib/libgeoclue.so /opt/garnome-3.5.3/lib/libdbus-glib-1.so /opt/garnome-3.5.3/lib/libdbus-1.so /usr/lib/libgstapp-0.10.so /usr/lib/libgstaudio-0.10.so /usr/lib/libgstfft-0.10.so /usr/lib/libgstpbutils-0.10.so /usr/lib/libgstvideo-0.10.so /usr/lib/libgstbase-0.10.so /usr/lib/libgstinterfaces-0.10.so /usr/lib/libgstreamer-0.10.so /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libxml2.so /usr/lib/libjpeg.so /opt/garnome-3.5.3/lib/libxslt.so -lGL /opt/garnome-3.5.3/lib/libsqlite3.so -licui18n -licuuc -licudata /usr/lib/libXt.so /usr/lib/libSM.so /usr/lib/libuuid.so /usr/lib/libICE.so /opt/garnome-3.5.3/lib/libgtk-3.so /opt/garnome-3.5.3/lib/libgdk-3.so /usr/lib/libXinerama.so /usr/lib/libXi.so /usr/lib/libXrandr.so /usr/lib/libXext.so /usr/lib/libXcursor.so /usr/lib/libXcomposite.so /usr/lib/libXdamage.so /usr/lib/libXfixes.so /opt/garnome-3.5.3/lib/libatk-1.0.so /opt/garnome-3.5.3/lib/libpangocairo-1.0.so /opt/garnome-3.5.3/lib/libpangoft2-1.0.so /usr/lib/libstdc++.so /opt/garnome-3.5.3/lib/libgdk_pixbuf-2.0.so /opt/garnome-3.5.3/lib/libcairo-gobject.so /opt/garnome-3.5.3/lib/libpango-1.0.so /opt/garnome-3.5.3/lib/libcairo.so /usr/lib/libpixman-1.so /opt/garnome-3.5.3/lib/libfontconfig.so /opt/garnome-3.5.3/lib/libexpat.so /opt/garnome-3.5.3/lib/libfreetype.so /usr/lib/libpng14.so /usr/lib/libxcb-shm.so /usr/lib/libxcb-render.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libxcb.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /opt/garnome-3.5.3/lib/libsoup-2.4.so /opt/garnome-3.5.3/lib/libxml2.so -lm /opt/garnome-3.5.3/lib/libgio-2.0.so /opt/garnome-3.5.3/lib/libgmodule-2.0.so -ldl -lz -lresolv /opt/garnome-3.5.3/lib/libgobject-2.0.so /opt/garnome-3.5.3/lib/libgthread-2.0.so /opt/garnome-3.5.3/lib/libffi.so /opt/garnome-3.5.3/lib/libglib-2.0.so /opt/garnome-3.5.3/lib/libiconv.so -lpthread -lrt -pthread -Wl,-rpath -Wl,/opt/garnome-3.5.3/lib
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_mutex_lock'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_rw_lock_writer_lock'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_cond_init'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_bytes_ref'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_variant_new_fixed_array'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_main_context_ref_thread_default'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_mutex_unlock'
/opt/garnome-3.5.3/lib/libsoup-2.4.so: undefined reference to `g_cond_broadcast'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_unix_set_fd_nonblocking'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_cond_clear'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_type_ensure'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_signal_set_va_marshaller'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_variant_new_objv'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_bytes_get_size'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_array_set_clear_func'
/opt/garnome-3.5.3/lib/libpangocairo-1.0.so: undefined reference to `g_mutex_trylock'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_mutex_init'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_bytes_new_static'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `glib__private__'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_environ_unsetenv'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_rec_mutex_unlock'
/opt/garnome-3.5.3/lib/libsoup-2.4.so: undefined reference to `g_bytes_new_with_free_func'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_bytes_unref'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_private_set'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_rw_lock_reader_unlock'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_queue_free_full'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_weak_ref_get'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_cclosure_marshal_generic'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_datalist_get_data'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_format_size'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_variant_dup_objv'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_bytes_new_take'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_list_copy_deep'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_utf8_substring'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_value_set_schar'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_thread_new'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_mutex_clear'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_rw_lock_writer_unlock'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_rw_lock_reader_lock'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_value_get_schar'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_thread_unref'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_rec_mutex_lock'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_weak_ref_set'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_environ_getenv'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_cond_wait'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_private_get'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `g_cond_signal'
/opt/garnome-3.5.3/lib/libgtk-3.so: undefined reference to `g_bytes_get_data'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_variant_take_ref'
/opt/garnome-3.5.3/lib/libgio-2.0.so: undefined reference to `g_environ_setenv'
I'm doing this as part of a build of gnome-3.5.3 and have noticed these kinds of errors elsewhere.
I've got glib-2.33.3 and gtk+-3.5.6 installed.
Martin Robinson
WebKit1GTK+ has been removed and the build system has changed.