RESOLVED CONFIGURATION CHANGED 182344
webkitgtk-2.18.6 build problem
https://bugs.webkit.org/show_bug.cgi?id=182344
Summary webkitgtk-2.18.6 build problem
Thomas Zajic
Reported 2018-01-31 11:33:50 PST
Created attachment 332785 [details] cmake .. -DPORT=GTK -DUSE_LD_GOLD=OFF -DCMAKE_BUILD_TYPE=Release First of all, sorry if I picked the wrong component - I have no idea which one is the correct one. Anyway, the webkitgtk-2.18.6 build fails in (one of?) the last step(s?) with an error message from g-ir-scanner: [...] [ 99%] Linking CXX executable ../../bin/WebKitPluginProcess cd /usr/local/src/webkitgtk-2.18.6/build/Source/WebKit && /usr/bin/cmake -E cmake_link_script CMakeFiles/PluginProcess.dir/link.txt --verbose=1 /usr/bin/c++ -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -O3 -DNDEBUG CMakeFiles/PluginProcess.dir/PluginProcess/EntryPoint/unix/PluginProcessMain.cpp.o -o ../../bin/WebKitPluginProcess -rdynamic ../../lib/libwebkit2gtk-4.0.so.37.24.9 ../../lib/libWebCoreGTK.a ../../lib/libANGLESupport.a -lrt ../../lib/libWebCorePlatformGTK.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lnotify -lgdk_pixbuf-2.0 -Wl,--start-group ../../lib/libWebCoreDerivedSources.a ../../lib/libjavascriptcoregtk-4.0.so.18.6.15 /usr/lib/libGL.so /usr/lib/libEGL.so ../../lib/libPAL.a ../../lib/libwoff2.a ../../lib/libbrotli.a ../../lib/libxdgmime.a /usr/local/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/local/lib/libharfbuzz.so /usr/local/lib/libharfbuzz-icu.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgstapp-1.0.so /usr/local/lib/libgstbase-1.0.so /usr/local/lib/libgstreamer-1.0.so /usr/local/lib/libgstpbutils-1.0.so /usr/local/lib/libgstaudio-1.0.so /usr/local/lib/libgsttag-1.0.so /usr/local/lib/libgstvideo-1.0.so /usr/local/lib/libgstgl-1.0.so /usr/local/lib/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libwebp.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/local/lib/libharfbuzz.so /usr/local/lib/libharfbuzz-icu.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgstapp-1.0.so /usr/local/lib/libgstbase-1.0.so /usr/local/lib/libgstreamer-1.0.so /usr/local/lib/libgstpbutils-1.0.so /usr/local/lib/libgstaudio-1.0.so /usr/local/lib/libgsttag-1.0.so /usr/local/lib/libgstvideo-1.0.so /usr/local/lib/libgstgl-1.0.so /usr/local/lib/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libwebp.so /usr/local/lib/libatk-1.0.so /usr/lib/libenchant.so /usr/local/lib/libgmodule-2.0.so -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/local/lib/libsoup-2.4.so /usr/local/lib/libtasn1.so /usr/local/lib/libxml2.so /usr/local/lib/libxslt.so /usr/local/lib/libhyphen.so /usr/local/lib/libsqlite3.so /usr/lib/libX11.so /usr/lib/libXcomposite.so /usr/lib/libXdamage.so /usr/lib/libXrender.so /usr/lib/libXt.so ../../lib/libWTFGTK.a ../../lib/libbmalloc.a -ldl /usr/local/lib/libicudata.so /usr/local/lib/libicuuc.so /usr/local/lib/libicui18n.so -lpthread /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so /usr/lib/libz.so /usr/local/lib/libglib-2.0.so -Wl,--end-group -Wl,-rpath,/usr/local/src/webkitgtk-2.18.6/build/lib:/usr/local/lib: Traceback (most recent call last): File "/usr/local/bin/g-ir-scanner", line 66, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line 529, in scanner_main Traceback (most recent call last): File "/usr/local/bin/g-ir-scanner", line 66, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line 529, in scanner_main transformer = create_transformer(namespace, options) transformer = create_transformer(namespace, options) File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line 399, in create_transformer File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line 399, in create_transformer transformer.register_include(include_obj) transformer.register_include(include_obj) File "/usr/local/lib/gobject-introspection/giscanner/transformer.py", line 141, in register_include File "/usr/local/lib/gobject-introspection/giscanner/transformer.py", line 141, in register_include self._parse_include(filename) File "/usr/local/lib/gobject-introspection/giscanner/transformer.py", line 221, in _parse_include self._parse_include(filename) File "/usr/local/lib/gobject-introspection/giscanner/transformer.py", line 221, in _parse_include parser = self._cachestore.load(filename) File "/usr/local/lib/gobject-introspection/giscanner/cachestore.py", line 180, in load parser = self._cachestore.load(filename) File "/usr/local/lib/gobject-introspection/giscanner/cachestore.py", line 180, in load data = pickle.load(fd) data = pickle.load(fd) cPicklecPickle..UnpicklingErrorUnpicklingError: : invalid load key, '9'.invalid load key, '9'. Source/WebKit/CMakeFiles/WebKit2-4-gir.dir/build.make:65: recipe for target 'WebKit2-4.0.gir' failed make[2]: *** [WebKit2-4.0.gir] Error 1 make[2]: Leaving directory '/usr/local/src/webkitgtk-2.18.6/build' CMakeFiles/Makefile2:1444: recipe for target 'Source/WebKit/CMakeFiles/WebKit2-4-gir.dir/all' failed make[1]: *** [Source/WebKit/CMakeFiles/WebKit2-4-gir.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/build.make:70: recipe for target 'WebKit2-4.0.gir' failed make[2]: *** [WebKit2-4.0.gir] Error 1 make[2]: Leaving directory '/usr/local/src/webkitgtk-2.18.6/build' CMakeFiles/Makefile2:1530: recipe for target 'Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/all' failed make[1]: *** [Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/all] Error 2 /usr/lib/gcc/i586-slackware-linux/5.3.0/../../../../i586-slackware-linux/bin/ld: warning: libicui18n.so.58, needed by /usr/local/lib/libxml2.so, may conflict with libicui18n.so.60 /usr/lib/gcc/i586-slackware-linux/5.3.0/../../../../i586-slackware-linux/bin/ld: warning: libicuuc.so.58, needed by /usr/local/lib/libxml2.so, may conflict with libicuuc.so.60 /usr/lib/gcc/i586-slackware-linux/5.3.0/../../../../i586-slackware-linux/bin/ld: warning: libicudata.so.58, needed by /usr/local/lib/libxml2.so, may conflict with libicudata.so.60 make[2]: Leaving directory '/usr/local/src/webkitgtk-2.18.6/build' [ 99%] Built target PluginProcess [ 99%] Linking CXX shared module ../../lib/libwebkit2gtkinjectedbundle.so cd /usr/local/src/webkitgtk-2.18.6/build/Source/WebKit && /usr/bin/cmake -E cmake_link_script CMakeFiles/webkit2gtkinjectedbundle.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wextra -Wall -fno-strict-aliasing -fno-exceptions -std=c++14 -fno-rtti -O3 -DNDEBUG -shared -o ../../lib/libwebkit2gtkinjectedbundle.so CMakeFiles/webkit2gtkinjectedbundle.dir/WebProcess/InjectedBundle/API/glib/WebKitInjectedBundleMain.cpp.o ../../lib/libwebkit2gtk-4.0.so.37.24.9 ../../lib/libWebCoreGTK.a ../../lib/libANGLESupport.a -lrt ../../lib/libWebCorePlatformGTK.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lnotify -lgdk_pixbuf-2.0 -Wl,--start-group ../../lib/libWebCoreDerivedSources.a ../../lib/libjavascriptcoregtk-4.0.so.18.6.15 /usr/lib/libGL.so /usr/lib/libEGL.so ../../lib/libPAL.a ../../lib/libwoff2.a ../../lib/libbrotli.a ../../lib/libxdgmime.a /usr/local/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/local/lib/libharfbuzz.so /usr/local/lib/libharfbuzz-icu.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgstapp-1.0.so /usr/local/lib/libgstbase-1.0.so /usr/local/lib/libgstreamer-1.0.so /usr/local/lib/libgstpbutils-1.0.so /usr/local/lib/libgstaudio-1.0.so /usr/local/lib/libgsttag-1.0.so /usr/local/lib/libgstvideo-1.0.so /usr/local/lib/libgstgl-1.0.so /usr/local/lib/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libwebp.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/local/lib/libharfbuzz.so /usr/local/lib/libharfbuzz-icu.so /usr/local/lib/libgcrypt.so /usr/local/lib/libgstapp-1.0.so /usr/local/lib/libgstbase-1.0.so /usr/local/lib/libgstreamer-1.0.so /usr/local/lib/libgstpbutils-1.0.so /usr/local/lib/libgstaudio-1.0.so /usr/local/lib/libgsttag-1.0.so /usr/local/lib/libgstvideo-1.0.so /usr/local/lib/libgstgl-1.0.so /usr/local/lib/libgstfft-1.0.so /usr/lib/libjpeg.so /usr/local/lib/libpng.so /usr/local/lib/libwebp.so /usr/local/lib/libatk-1.0.so /usr/lib/libenchant.so /usr/local/lib/libgmodule-2.0.so -lsecret-1 -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/local/lib/libsoup-2.4.so /usr/local/lib/libtasn1.so /usr/local/lib/libxml2.so /usr/local/lib/libxslt.so /usr/local/lib/libhyphen.so /usr/local/lib/libsqlite3.so /usr/lib/libX11.so /usr/lib/libXcomposite.so /usr/lib/libXdamage.so /usr/lib/libXrender.so /usr/lib/libXt.so ../../lib/libWTFGTK.a ../../lib/libbmalloc.a -ldl /usr/local/lib/libicudata.so /usr/local/lib/libicuuc.so /usr/local/lib/libicui18n.so -lpthread /usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so /usr/lib/libz.so /usr/local/lib/libglib-2.0.so -Wl,--end-group -Wl,-rpath,/usr/local/src/webkitgtk-2.18.6/build/lib:/usr/local/lib: make[2]: Leaving directory '/usr/local/src/webkitgtk-2.18.6/build' [ 99%] Built target webkit2gtkinjectedbundle make[1]: Leaving directory '/usr/local/src/webkitgtk-2.18.6/build' Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 Slackware 14.2, gobject-introspection-1.54.1, Python-2.7.14, all in full 32bit glory (yes, such desktop systems still exist ;-). webkitgtk-2.18.5 had a similar (the same?) problem, but I didn't have time to investigate and simply stayed with 2.18.4. Logs from "./configure" (ie. output of "cmake .. -DPORT=GTK -DUSE_LD_GOLD=OFF -DCMAKE_BUILD_TYPE=Release") and "make" (ie. "make VERBOSE=1") runs attached. If you need more information, just let me know.
Attachments
cmake .. -DPORT=GTK -DUSE_LD_GOLD=OFF -DCMAKE_BUILD_TYPE=Release (3.08 KB, application/x-xz)
2018-01-31 11:33 PST, Thomas Zajic
no flags
make VERBOSE=1 (161.79 KB, application/x-xz)
2018-01-31 11:34 PST, Thomas Zajic
no flags
Thomas Zajic
Comment 1 2018-01-31 11:34:47 PST
Created attachment 332786 [details] make VERBOSE=1
Adrian Perez
Comment 2 2022-06-12 14:15:52 PDT
I think we got this solved at some point, but can't remember the exact release. Moreover, we have revamped how GObject-Introspection data is generated for the switch to gi-docgen, so this would not apply anymore. If there are any similar issues with the current code from trunk/git, please report a new issue :)
Note You need to log in before you can comment on or make changes to this bug.