[Pkg-ayatana-devel] Bug#1113114: libayatana-indicator: FTBFS with CMake 4

roehling at debian.org roehling at debian.org
Sun Aug 31 23:57:27 BST 2025


Source: libayatana-indicator
Version: 0.9.4-1
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, libayatana-indicator failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
8: task-0: # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
8: task-0: # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
8: task-0: # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
8: dbus-daemon[1149]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=999 pid=1140 comm="/build/reproducible-path/libayatana-indicator-0.9.")
8: dbus-daemon[1149]: Successfully activated service 'org.a11y.atspi.Registry'
8: DBus daemon: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
8: task-0: not ok /indicator-ng/non-existing - GLib-GIO-FATAL-WARNING: Weak notify timeout, object ref_count=1
8: task-0: Bail out!
8: task-0: Exited with status 5
8: task-0: Shutting down
8: DBus daemon: Shutdown
8: FAIL: /build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-indicator-ng-dbus-runner
8/9 Test #8: test-indicator-ng-tester .................***Failed   30.65 sec

** (gtester:1131): WARNING **: 03:24:39.963: Deprecated: Since GLib 2.62, gtester and gtester-report are deprecated. Port to TAP.
TEST: /build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-indicator-ng-dbus-runner... (pid=1132)
DBus daemon: unix:path=/tmp/dbus-nfLBKF6Vfk,guid=6eafe5b1af3514a0d4c5a97d68b26ef7
task-0: Started with PID: 1140
task-0: TAP version 14
task-0: # random seed: R02S5293102baaf99de2fd079215151175e5
task-0: # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
dbus-daemon[1136]: [session uid=999 pid=1136 pidfd=4] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=999 pid=1140 comm="/build/reproducible-path/libayatana-indicator-0.9.")

(process:1143): dconf-CRITICAL **: 03:24:40.091: unable to create directory '/sbuild-nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.

(process:1143): dconf-CRITICAL **: 03:24:40.092: unable to create directory '/sbuild-nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.

(process:1143): dconf-CRITICAL **: 03:24:40.092: unable to create directory '/sbuild-nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.

(process:1143): dconf-CRITICAL **: 03:24:40.092: unable to create directory '/sbuild-nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.
dbus-daemon[1136]: [session uid=999 pid=1136 pidfd=4] Successfully activated service 'org.a11y.Bus'

(process:1143): dconf-CRITICAL **: 03:24:40.096: unable to create directory '/sbuild-nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.

(process:1143): dconf-CRITICAL **: 03:24:40.098: unable to create directory '/sbuild-nonexistent/.cache/dconf': Permission denied.  dconf will not work properly.
task-0: 1..4
task-0: # Start of indicator-ng tests
task-0: # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
task-0: # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
task-0: # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
task-0: # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
task-0: # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
task-0: # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
task-0: # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
dbus-daemon[1149]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=999 pid=1140 comm="/build/reproducible-path/libayatana-indicator-0.9.")
dbus-daemon[1149]: Successfully activated service 'org.a11y.atspi.Registry'
DBus daemon: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
task-0: not ok /indicator-ng/non-existing - GLib-GIO-FATAL-WARNING: Weak notify timeout, object ref_count=1
task-0: Bail out!
task-0: Exited with status 5
task-0: Shutting down
DBus daemon: Shutdown
FAIL: /build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-indicator-ng-dbus-runner

test 9
    Start 9: loader-tester

9: Test command: /build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/loader-tester
9: Working Directory: /build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests
9: Test timeout computed to be: 1500
9: 
9: ** (gtester:1163): WARNING **: 03:25:10.613: Deprecated: Since GLib 2.62, gtester and gtester-report are deprecated. Port to TAP.
9: TEST: /build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader... (pid=1164)
9: (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): GLib-DEBUG: 03:25:10.749: unsetenv() is not thread-safe and should not be used after threads are created
9: 
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.755: IndicatorObject class does not create an image or a label.  We need one of those.
9:   /libindicator/loader/ref_and_unref:                                  
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.755: File '/this/file/should/not/exist.so' does not exist.
9: OK
9:   /libindicator/loader/filename_bad:                                   OK
9:   /libindicator/loader/dummy/null_load:                                
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.756: IndicatorObject class does not create an image or a label.  We need one of those.
9: 
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.756: IndicatorObject class does not create an image or a label.  We need one of those.
9: 
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.756: IndicatorObject class does not create an image or a label.  We need one of those.
9: 
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.756: IndicatorObject class does not create an image or a label.  We need one of those.
9: OK
9:   /libindicator/loader/dummy/blank_load:                               OK
9:   /libindicator/loader/dummy/simple_load:                              (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): GLib-GIO-DEBUG: 03:25:10.758: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
9: OK
9:   /libindicator/loader/dummy/simple_accessors:                         OK
9:   /libindicator/loader/dummy/simple_location:                          OK
9:   /libindicator/loader/dummy/signaler:                                 OK
9:   /libindicator/loader/dummy/entry_funcs:                              
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.790: IndicatorObject class does not create an image or a label.  We need one of those.
9: OK
9: 
9: ** (/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader:1164): WARNING **: 03:25:10.790: IndicatorObject class does not create an image or a label.  We need one of those.
9:   /libindicator/loader/dummy/entry_func_window:                        OK
9:   /libindicator/loader/dummy/visible:                                  OK
9: PASS: /build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3/tests/test-loader
9/9 Test #9: loader-tester ............................   Passed    0.20 sec

89% tests passed, 1 tests failed out of 9

Total Test time (real) =  36.41 sec

The following tests FAILED:
	  8 - test-indicator-ng-tester (Failed)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8
make[2]: Leaving directory '/build/reproducible-path/libayatana-indicator-0.9.4/builddir/gtk3'
dh_auto_test: error: cd builddir/gtk3 && make -j1 test ARGS\+=--verbose ARGS\+=-j1 returned exit code 2
xvfb-run: error: problem while cleaning up temporary directory
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 5
make[1]: Leaving directory '/build/reproducible-path/libayatana-indicator-0.9.4'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T03:25:10Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2399504/

The most likely cause of build failures is the removed backwards compatibility for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/153686/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,
Timo



More information about the Pkg-ayatana-devel mailing list