debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #03455
[Bug 2116068] Re: installed tests failing wth glib 2.85
@Seb, Debian is "in freeze", so a fix won't come soon from that route.
Could we add a patch for questing?
```
diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt
--- a/src/server/CMakeLists.txt (revision 75a882f4fff36b700db4dfc65c4f5a9aace16d84)
+++ b/src/server/CMakeLists.txt (revision 51d8c6cdefbe4eac0ae83ffaafc56de3bd4b4575)
@@ -83,6 +83,17 @@
SOURCE glib_main_loop.cpp glib_main_loop_sources.cpp default_server_configuration.cpp
PROPERTY COMPILE_OPTIONS -Wno-variadic-macros)
+if(GLIB_VERSION VERSION_GREATER_EQUAL 2.85)
+ # This version fixes the (at least) 11 year old bug we encountered in LP #1401488
+ # Unfortunately, the fix interacts badly with our workaround to the bug
+ # Fortunately, we added the workaround we added a #define to turn it off, and
+ # use the correct code!
+ set_property(
+ SOURCE glib_main_loop_sources.cpp
+ APPEND
+ PROPERTY COMPILE_DEFINITIONS GLIB_HAS_FIXED_LP_1401488)
+endif()
+
set(MIR_SERVER_REFERENCES
mirserverobjects
mirinput
```
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libsoup3 in Ubuntu.
https://bugs.launchpad.net/bugs/2116068
Title:
installed tests failing wth glib 2.85
Status in libsoup3 package in Ubuntu:
New
Status in mir package in Ubuntu:
In Progress
Status in snapd-glib package in Ubuntu:
New
Bug description:
https://autopkgtest.ubuntu.com/packages/libs/libsoup3/questing/amd64
A log example
https://autopkgtest.ubuntu.com/results/autopkgtest-
questing/questing/amd64/libs/libsoup3/20250704_121013_ca5eb@/log.gz
> 68s not ok /multithread/basic-http2/async - GLib-FATAL-CRITICAL:
Failed to get RW lock 0x7f8c37665c70: Resource deadlock avoided
(One of the retries with migration-reference/0 failed but it was due to apache failing to start so shouldn't count)
There are also some flacky-tests errors
86s Running test: libsoup-3.0/auth-test.test
86s TAP version 14
86s # random seed: R02S916b794b6d491ac6d466d50c9d4253be
86s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
86s # [69.141918] enter apache_init
86s # Apache command: '/usr/sbin/apache2' '-d' '/usr/libexec/installed-tests/libsoup-3.0' '-f' 'httpd.conf' '-c' 'ErrorLog /tmp/test-tmp-libsoup-3.0_auth-test.test-XZ8682/error.log' '-c' 'PidFile /tmp/test-tmp-libsoup-3.0_auth-test.test-XZ8682/httpd.pid' '-k' 'start'
86s (98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:47524
86s no listening sockets available, shutting down
86s AH00015: Unable to open logs
86s # -> failed
86s FAIL: libsoup-3.0/auth-test.test (Child process exited with code 1)
Unsure why those would be due to the new glib though...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsoup3/+bug/2116068/+subscriptions
References