Control: retitle -1 epiphany-browser: FTBFS w/test failure in bookworm: webkit_settings_set_enable_dns_prefetching is deprecated and does nothing
On Mon, 19 May 2025 at 09:50:34 +0000, Santiago Vila wrote:
FTBFS: 4/13 Embed shell test FAIL - 13/13 Web view test FAIL
This looks like the same root cause in both of the two failing tests:
** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-ephy-embed-shell:349645): WARNING **: 06:15:04.198: webkit_settings_set_enable_dns_prefetching is deprecated and does nothing.
** (/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test-ephy-web-view:349787): WARNING **: 06:15:04.954: webkit_settings_set_enable_dns_prefetching is deprecated and does nothing.
and is probably triggered by having had WebKitGTK security updates that turned this function into a warning-emitting no-op since the initial 12.0 bookworm release.
This is formally RC, but unlikely to indicate a loss of functionality for end users of our epiphany-browser .deb: GLib warnings are not normally fatal on user systems, but are made fatal during unit testing.
If there is a security update or other stable update for epiphany-browser, or if a user wants to rebuild epiphany-browser for some other reason, then this will need addressing at the same time, either by making warnings non-fatal in at least these two tests (`g_log_set_always_fatal (G_LOG_FATAL_MASK);` would probably do it), or by not calling `webkit_settings_set_enable_dns_prefetching()` any more.
smcv