[Pkg-ayatana-devel] Bug#1125642: ayatana-indicator-display: FTBFS: The following tests FAILED: 1 - cppcheck (Failed)

Santiago Vila sanvila at debian.org
Thu Jan 15 16:54:06 GMT 2026


Package: src:ayatana-indicator-display
Version: 24.5.2-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202601/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ayatana-indicator-display, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- -DENABLE_TESTS=ON -DENABLE_COVERAGE=OFF -DENABLE_LOMIRI_FEATURES=ON -DENABLE_COLOR_TEMP=ON 
	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DENABLE_TESTS=ON -DENABLE_COVERAGE=OFF -DENABLE_LOMIRI_FEATURES=ON -DENABLE_COLOR_TEMP=ON ..
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done

[... snipped ...]

2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  6
2:   Headers:
2:     reply-serial -> uint32 5
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:   Body: ()
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (188 bytes)
2:   Type:    method-call
2:   Flags:   none
2:   Version: 0
2:   Serial:  6
2:   Headers:
2:     path -> objectpath '/org/freedesktop/DBus'
2:     interface -> 'org.freedesktop.DBus'
2:     member -> 'StartServiceByName'
2:     destination -> 'org.freedesktop.DBus'
2:     signature -> signature 'su'
2:   Body: ('org.freedesktop.Accounts', uint32 0)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (213 bytes)
2:   Type:    error
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  7
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.ServiceUnknown'
2:     reply-serial -> uint32 6
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ('The name org.freedesktop.Accounts was not provided by any .service files',)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Call:
2:  <<<< ASYNC COMPLETE org.freedesktop.DBus.StartServiceByName() (serial 6)
2:       SUCCESS
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (173 bytes)
2:   Type:    method-call
2:   Flags:   none
2:   Version: 0
2:   Serial:  7
2:   Headers:
2:     path -> objectpath '/org/freedesktop/DBus'
2:     interface -> 'org.freedesktop.DBus'
2:     member -> 'GetNameOwner'
2:     destination -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ('org.freedesktop.Accounts',)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (209 bytes)
2:   Type:    error
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  8
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.NameHasNoOwner'
2:     reply-serial -> uint32 7
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ("Could not get owner of name 'org.freedesktop.Accounts': no such name",)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Call:
2:  >>>> ASYNC org.freedesktop.DBus.GetNameOwner()
2:       on object /org/freedesktop/DBus
2:       owned by name org.freedesktop.DBus (serial 7)
2: ========================================================================
2: GDBus-debug:Call:
2:  <<<< ASYNC COMPLETE org.freedesktop.DBus.GetNameOwner() (serial 7)
2:       SUCCESS
2: ========================================================================
2: GDBus-debug:Call:
2:  >>>> SYNC org.freedesktop.DBus.Properties.Get()
2:       on object /org/freedesktop/Accounts/User999
2:       owned by name org.freedesktop.Accounts
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (235 bytes)
2:   Type:    method-call
2:   Flags:   none
2:   Version: 0
2:   Serial:  8
2:   Headers:
2:     path -> objectpath '/org/freedesktop/Accounts/User999'
2:     interface -> 'org.freedesktop.DBus.Properties'
2:     member -> 'Get'
2:     destination -> 'org.freedesktop.Accounts'
2:     signature -> signature 'ss'
2:   Body: ('org.ayatana.indicator.display.AccountsService', 'brightness')
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (213 bytes)
2:   Type:    error
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  9
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.ServiceUnknown'
2:     reply-serial -> uint32 8
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ('The name org.freedesktop.Accounts was not provided by any .service files',)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Call:
2:  <<<< SYNC COMPLETE org.freedesktop.DBus.Properties.Get()
2:       SUCCESS
2: ========================================================================
2: GDBus-debug:Call:
2:  >>>> SYNC org.freedesktop.DBus.Properties.Get()
2:       on object /org/freedesktop/Accounts/User999
2:       owned by name org.freedesktop.Accounts
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (235 bytes)
2:   Type:    method-call
2:   Flags:   none
2:   Version: 0
2:   Serial:  9
2:   Headers:
2:     path -> objectpath '/org/freedesktop/Accounts/User999'
2:     interface -> 'org.freedesktop.DBus.Properties'
2:     member -> 'Get'
2:     destination -> 'org.freedesktop.Accounts'
2:     signature -> signature 'ss'
2:   Body: ('org.ayatana.indicator.display.AccountsService', 'color-temp')
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (213 bytes)
2:   Type:    error
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  10
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.ServiceUnknown'
2:     reply-serial -> uint32 9
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ('The name org.freedesktop.Accounts was not provided by any .service files',)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Call:
2:  <<<< SYNC COMPLETE org.freedesktop.DBus.Properties.Get()
2:       SUCCESS
2: ========================================================================
2: GDBus-debug:Call:
2:  >>>> SYNC org.freedesktop.DBus.Properties.Get()
2:       on object /org/freedesktop/Accounts/User999
2:       owned by name org.freedesktop.Accounts
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (243 bytes)
2:   Type:    method-call
2:   Flags:   none
2:   Version: 0
2:   Serial:  10
2:   Headers:
2:     path -> objectpath '/org/freedesktop/Accounts/User999'
2:     interface -> 'org.freedesktop.DBus.Properties'
2:     member -> 'Get'
2:     destination -> 'org.freedesktop.Accounts'
2:     signature -> signature 'ss'
2:   Body: ('org.ayatana.indicator.display.AccountsService', 'color-temp-profile')
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (213 bytes)
2:   Type:    error
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  11
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.ServiceUnknown'
2:     reply-serial -> uint32 10
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ('The name org.freedesktop.Accounts was not provided by any .service files',)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Call:
2:  <<<< SYNC COMPLETE org.freedesktop.DBus.Properties.Get()
2:       SUCCESS
1: 1/6 files checked 10% done
1: Checking /<<PKGBUILDDIR>>/src/indicator.cpp ...
1: 2/6 files checked 11% done
1: Checking /<<PKGBUILDDIR>>/src/main.cpp ...
1: Checking /<<PKGBUILDDIR>>/src/main.cpp: LOMIRI_FEATURES_ENABLED...
1: 3/6 files checked 15% done
1: Checking /<<PKGBUILDDIR>>/src/service.cpp ...
1: /<<PKGBUILDDIR>>/src/service.cpp:1061:15: style: The member function 'DisplayIndicator::Impl::create_phone_menu' can be static. [functionStatic]
1:   GMenuModel* create_phone_menu()
1:               ^
1: /<<PKGBUILDDIR>>/src/service.cpp:112:22: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError]
1:                     #if GLIB_CHECK_VERSION(2, 73, 0)
1:                      ^
1: 4/6 files checked 88% done
1: Checking /<<PKGBUILDDIR>>/src/solar.c ...
1: 5/6 files checked 97% done
1: Checking /<<PKGBUILDDIR>>/tests/unit/rotation-lock-test.cpp ...
1: 6/6 files checked 100% done
1: nofile:0:0: information: Active checkers: There was critical errors (use --checkers-report=<filename> to see details) [checkersReport]
1: 
1/2 Test #1: cppcheck .........................***Failed    0.06 sec
Checking /<<PKGBUILDDIR>>/src/exporter.cpp ...
1/6 files checked 10% done
Checking /<<PKGBUILDDIR>>/src/indicator.cpp ...
2/6 files checked 11% done
Checking /<<PKGBUILDDIR>>/src/main.cpp ...
Checking /<<PKGBUILDDIR>>/src/main.cpp: LOMIRI_FEATURES_ENABLED...
3/6 files checked 15% done
Checking /<<PKGBUILDDIR>>/src/service.cpp ...
/<<PKGBUILDDIR>>/src/service.cpp:1061:15: style: The member function 'DisplayIndicator::Impl::create_phone_menu' can be static. [functionStatic]
  GMenuModel* create_phone_menu()
              ^
/<<PKGBUILDDIR>>/src/service.cpp:112:22: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [syntaxError]
                    #if GLIB_CHECK_VERSION(2, 73, 0)
                     ^
4/6 files checked 88% done
Checking /<<PKGBUILDDIR>>/src/solar.c ...
5/6 files checked 97% done
Checking /<<PKGBUILDDIR>>/tests/unit/rotation-lock-test.cpp ...
6/6 files checked 100% done
nofile:0:0: information: Active checkers: There was critical errors (use --checkers-report=<filename> to see details) [checkersReport]


2: (process:2026): GLib-DEBUG: 15:23:38.641: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:2026): GLib-DEBUG: 15:23:38.641: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:2026): GLib-DEBUG: 15:23:38.641: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:2026): GLib-DEBUG: 15:23:38.641: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:2026): GLib-DEBUG: 15:23:38.641: unsetenv() is not thread-safe and should not be used after threads are created
2: [       OK ] RotationLockFixture.CheckIndicator (59 ms)
2: [----------] 1 test from RotationLockFixture (59 ms total)
2: 
2: [----------] Global test environment tear-down
2: [==========] 1 test from 1 test suite ran. (59 ms total)
2: [  PASSED  ] 1 test.
2/2 Test #2: rotation-lock-test ...............   Passed    0.07 sec

50% tests passed, 1 tests failed out of 2

Total Test time (real) =   0.07 sec

The following tests FAILED:
	  1 - cppcheck (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-ayatana-devel mailing list