Bug#923476: webkit2gtk: FTBFS for unknown reasons (maybe Makefile bug)
Santiago Vila
sanvila at debian.org
Thu Feb 28 17:19:40 GMT 2019
Package: src:webkit2gtk
Version: 2.22.0-2
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with gir
dh_update_autotools_config -i
dh_autoreconf -i
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
CXXFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" \
dh_auto_configure -- \
-DPORT=GTK \
-DCMAKE_INSTALL_LIBEXECDIR=lib/x86_64-linux-gnu \
-DCMAKE_C_FLAGS_RELEASE="" \
[... snipped ...]
html/webkitdomgtk-4.0/index-all.html:5246: warning: no link for: "WebKitDOMClientRectList-struct" -> (WebKitDOMClientRectList).
html/webkitdomgtk-4.0/index-all.html:5250: warning: no link for: "WebKitDOMClientRectList--length" -> (WebKitDOMClientRectList:length).
html/webkitdomgtk-4.0/webkitdomgtk-4.0-WebKitDOMHTMLBaseFontElement.html:102: warning: no link for: "WebKitDOMHTMLBaseFontElement" -> (<span class="type">WebKitDOMHTMLBaseFontElement</span>).
html/webkitdomgtk-4.0/webkitdomgtk-4.0-WebKitDOMNodeFilter.html:180: warning: no link for: "api-index-2.6" -> (2.6).
html/webkitdomgtk-4.0/webkitdomgtk-4.0-WebKitDOMNodeFilter.html:229: warning: no link for: "WebKitDOMCDataSection" -> (<span class="type">WebKitDOMCDataSection</span>).
html/webkitdomgtk-4.0/webkitdomgtk-4.0-WebKitDOMNodeFilter.html:301: warning: no link for: "WebKitDOMEntity" -> (<span class="type">WebKitDOMEntity</span>).
html/webkitdomgtk-4.0/webkitdomgtk-4.0-WebKitDOMNodeFilter.html:325: warning: no link for: "WebKitDOMNotation" -> (<span class="type">WebKitDOMNotation</span>).
html/webkit2gtk-4.0/WebKitSettings.html:2617: warning: no link for: "WebKitWebContext--is-ephemeral" -> (<span class="type">“is-ephemeral”</span>).
html/webkit2gtk-4.0/WebKitURIResponse.html:195: warning: no link for: "SoupKnownStatusCode" -> (<span class="type">SoupKnownStatusCode</span>).
html/webkit2gtk-4.0/WebKitWebExtension.html:112: warning: no link for: "webkit-web-extension-initialize-with-user-data" -> (<code class="function">webkit_web_extension_initialize_with_user_data()</code>).
html/webkit2gtk-4.0/WebKitWebInspector.html:248: warning: no link for: "WebKitWebViewBase" -> (<span class="type">WebKitWebViewBase</span>).
html/webkit2gtk-4.0/WebKitWebPage.html:673: warning: no link for: "WebKitFormSubmissionEventType" -> (<span class="type">WebKitFormSubmissionEventType</span>).
touch docs-build.stamp
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 92%] Built target gtkdoc
make -f Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/build.make Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/Source/WebKit /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/WebKit /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/DependInfo.cmake --color=
Scanning dependencies of target WebKit2WebExtension-4-gir
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/build.make Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'. Stop.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1605: Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:155: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 returned exit code 2
make: *** [debian/rules:57: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
I'm using sbuild + schroot + eatmydata, but the part saying
No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'
suggests a Makefile bug.
I could probably prepare a VM instance in which this happens (please contact me
privately for details), but I believe a close look at the Makefile should perhaps
tell what's wrong without having to "reproduce" it.
In either case, I've put a bunch of failed build logs here for you to see:
https://people.debian.org/~sanvila/build-logs/webkit2gtk/
Thanks.
More information about the Pkg-webkit-maintainers
mailing list