[Pkg-ayatana-devel] Bug#1070455: ayatana-indicator-display: FTBFS: Errors while running CTest

Santiago Vila sanvila at debian.org
Sun May 5 17:50:27 BST 2024


Package: src:ayatana-indicator-display
Version: 24.1.1-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  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 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 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features

[... snipped ...]

2:     member -> 'AddMatch'
2:     destination -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ("type='signal',sender='org.freedesktop.Accounts',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged',path='/org/freedesktop/Accounts/User924',arg0='org.freedesktop.DBus.Properties'",)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (169 bytes)
2:   Type:    signal
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  2
2:   Headers:
2:     path -> objectpath '/org/freedesktop/DBus'
2:     interface -> 'org.freedesktop.DBus'
2:     member -> 'NameAcquired'
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: (':1.0',)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Signal:
2:  <<<< RECEIVED SIGNAL org.freedesktop.DBus.NameAcquired
2:       on object /org/freedesktop/DBus
2:       sent by name org.freedesktop.DBus
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (281 bytes)
2:   Type:    method-call
2:   Flags:   none
2:   Version: 0
2:   Serial:  3
2:   Headers:
2:     path -> objectpath '/org/freedesktop/DBus'
2:     interface -> 'org.freedesktop.DBus'
2:     member -> 'AddMatch'
2:     destination -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ("type='signal',sender='org.freedesktop.Accounts',interface='org.freedesktop.DBus.Properties',path='/org/freedesktop/Accounts/User924'",)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (312 bytes)
2:   Type:    method-call
2:   Flags:   none
2:   Version: 0
2:   Serial:  4
2:   Headers:
2:     path -> objectpath '/org/freedesktop/DBus'
2:     interface -> 'org.freedesktop.DBus'
2:     member -> 'AddMatch'
2:     destination -> 'org.freedesktop.DBus'
2:     signature -> signature 's'
2:   Body: ("type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',path='/org/freedesktop/DBus',arg0='org.freedesktop.Accounts'",)
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (72 bytes)
2:   Type:    method-return
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  3
2:   Headers:
2:     reply-serial -> uint32 2
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:  5
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 (72 bytes)
2:   Type:    method-return
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  4
2:   Headers:
2:     reply-serial -> uint32 3
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:   Body: ()
2:   UNIX File Descriptors:
2:     (none)
2: ========================================================================
2: GDBus-debug:Message:
2:   <<<< RECEIVED D-Bus message (72 bytes)
2:   Type:    method-return
2:   Flags:   no-reply-expected
2:   Version: 0
2:   Serial:  5
2:   Headers:
2:     reply-serial -> uint32 4
2:     destination -> ':1.0'
2:     sender -> 'org.freedesktop.DBus'
2:   Body: ()
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:  6
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.ServiceUnknown'
2:     reply-serial -> uint32 5
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 5)
2:       SUCCESS
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 6)
2: ========================================================================
2: GDBus-debug:Message:
2:   >>>> SENT D-Bus message (173 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 -> '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:  7
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.NameHasNoOwner'
2:     reply-serial -> uint32 6
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 COMPLETE org.freedesktop.DBus.GetNameOwner() (serial 6)
2:       SUCCESS
2: ========================================================================
2: GDBus-debug:Call:
2:  >>>> SYNC org.freedesktop.DBus.Properties.Get()
2:       on object /org/freedesktop/Accounts/User924
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:  7
2:   Headers:
2:     path -> objectpath '/org/freedesktop/Accounts/User924'
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:  8
2:   Headers:
2:     error-name -> 'org.freedesktop.DBus.Error.ServiceUnknown'
2:     reply-serial -> uint32 7
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/User924
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/User924'
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:  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/User924
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:  9
2:   Headers:
2:     path -> objectpath '/org/freedesktop/Accounts/User924'
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:  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
1: /<<PKGBUILDDIR>>/src/indicator.h:68:12: style: The destructor '~SimpleProfile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride]
1:   virtual ~SimpleProfile();
1:            ^
1: /<<PKGBUILDDIR>>/src/indicator.h:57:12: note: Virtual destructor in base class
1:   virtual ~Profile();
1:            ^
1: /<<PKGBUILDDIR>>/src/indicator.h:68:12: note: Destructor in derived class
1:   virtual ~SimpleProfile();
1:            ^
1: 1/6 files checked 11% done
1: Checking /<<PKGBUILDDIR>>/src/indicator.cpp ...
1: 2/6 files checked 12% done
1: Checking /<<PKGBUILDDIR>>/src/main.cpp ...
1: /<<PKGBUILDDIR>>/src/service.h:33:4: style: The destructor '~DisplayIndicator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride]
1:   ~DisplayIndicator();
1:    ^
1: /<<PKGBUILDDIR>>/src/indicator.h:84:12: note: Virtual destructor in base class
1:   virtual ~Indicator();
1:            ^
1: /<<PKGBUILDDIR>>/src/service.h:33:4: note: Destructor in derived class
1:   ~DisplayIndicator();
1:    ^
1: Checking /<<PKGBUILDDIR>>/src/main.cpp: LOMIRI_FEATURES_ENABLED...
1: 3/6 files checked 16% done
1: Checking /<<PKGBUILDDIR>>/src/service.cpp ...
1: /<<PKGBUILDDIR>>/src/service.cpp:967:42: style: Parameter 'pAction' can be declared as pointer to const. However it seems that 'onSettings' is a callback function, if 'pAction' is declared with const you might also need to cast function pointer(s). [constParameterCallback]
1:   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
1:                                          ^
1: /<<PKGBUILDDIR>>/src/service.cpp:933:59: note: You might need to cast the function pointer here
1:         g_signal_connect (action, "activate", G_CALLBACK (onSettings), this);
1:                                                           ^
1: /<<PKGBUILDDIR>>/src/service.cpp:967:42: note: Parameter 'pAction' can be declared as pointer to const
1:   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
1:                                          ^
1: /<<PKGBUILDDIR>>/src/service.cpp:967:61: style: Parameter 'pVariant' can be declared as pointer to const. However it seems that 'onSettings' is a callback function, if 'pVariant' is declared with const you might also need to cast function pointer(s). [constParameterCallback]
1:   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
1:                                                             ^
1: /<<PKGBUILDDIR>>/src/service.cpp:933:59: note: You might need to cast the function pointer here
1:         g_signal_connect (action, "activate", G_CALLBACK (onSettings), this);
1:                                                           ^
1: /<<PKGBUILDDIR>>/src/service.cpp:967:61: note: Parameter 'pVariant' can be declared as pointer to const
1:   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
1:                                                             ^
1: Checking /<<PKGBUILDDIR>>/src/service.cpp: COLOR_TEMP_ENABLED...
1: /<<PKGBUILDDIR>>/src/service.cpp:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]
1:
1: ^
2: (process:230403): GLib-DEBUG: 12:56:12.656: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:230403): GLib-DEBUG: 12:56:12.656: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:230403): GLib-DEBUG: 12:56:12.656: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:230403): GLib-DEBUG: 12:56:12.656: unsetenv() is not thread-safe and should not be used after threads are created
2: (process:230403): GLib-DEBUG: 12:56:12.656: unsetenv() is not thread-safe and should not be used after threads are created
2: [       OK ] RotationLockFixture.CheckIndicator (69 ms)
2: [----------] 1 test from RotationLockFixture (69 ms total)
2:
2: [----------] Global test environment tear-down
2: [==========] 1 test from 1 test suite ran. (69 ms total)
2: [  PASSED  ] 1 test.
1/2 Test #2: rotation-lock-test ...............   Passed    0.08 sec
1: /<<PKGBUILDDIR>>/src/service.cpp:337:41: style: C-style pointer casting [cstyleCast]
1:         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pUserData;
1:                                         ^
1: /<<PKGBUILDDIR>>/src/service.cpp:452:41: style: C-style pointer casting [cstyleCast]
1:         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
1:                                         ^
1: /<<PKGBUILDDIR>>/src/service.cpp:763:41: style: C-style pointer casting [cstyleCast]
1:         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
1:                                         ^
1: /<<PKGBUILDDIR>>/src/service.cpp:819:41: style: C-style pointer casting [cstyleCast]
1:         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
1:                                         ^
1: 4/6 files checked 87% done
1: Checking /<<PKGBUILDDIR>>/src/solar.c ...
1: 5/6 files checked 97% done
1: Checking /<<PKGBUILDDIR>>/tests/unit/rotation-lock-test.cpp ...
1: /<<PKGBUILDDIR>>/tests/utils/test-dbus-fixture.h:33:14: style: The destructor '~TestDBusFixture' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride]
1:     virtual ~TestDBusFixture() =default;
1:              ^
1: /<<PKGBUILDDIR>>/tests/utils/glib-fixture.h:38:14: note: Virtual destructor in base class
1:     virtual ~GlibFixture() =default;
1:              ^
1: /<<PKGBUILDDIR>>/tests/utils/test-dbus-fixture.h:33:14: note: Destructor in derived class
1:     virtual ~TestDBusFixture() =default;
1:              ^
1: 6/6 files checked 100% done
1: nofile:0:0: information: Active checkers: 164/712 (use --checkers-report=<filename> to see details) [checkersReport]
1:
2/2 Test #1: cppcheck .........................***Failed    0.17 sec
Checking /<<PKGBUILDDIR>>/src/exporter.cpp ...
/<<PKGBUILDDIR>>/src/indicator.h:68:12: style: The destructor '~SimpleProfile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride]
   virtual ~SimpleProfile();
            ^
/<<PKGBUILDDIR>>/src/indicator.h:57:12: note: Virtual destructor in base class
   virtual ~Profile();
            ^
/<<PKGBUILDDIR>>/src/indicator.h:68:12: note: Destructor in derived class
   virtual ~SimpleProfile();
            ^
1/6 files checked 11% done
Checking /<<PKGBUILDDIR>>/src/indicator.cpp ...
2/6 files checked 12% done
Checking /<<PKGBUILDDIR>>/src/main.cpp ...
/<<PKGBUILDDIR>>/src/service.h:33:4: style: The destructor '~DisplayIndicator' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride]
   ~DisplayIndicator();
    ^
/<<PKGBUILDDIR>>/src/indicator.h:84:12: note: Virtual destructor in base class
   virtual ~Indicator();
            ^
/<<PKGBUILDDIR>>/src/service.h:33:4: note: Destructor in derived class
   ~DisplayIndicator();
    ^
Checking /<<PKGBUILDDIR>>/src/main.cpp: LOMIRI_FEATURES_ENABLED...
3/6 files checked 16% done
Checking /<<PKGBUILDDIR>>/src/service.cpp ...
/<<PKGBUILDDIR>>/src/service.cpp:967:42: style: Parameter 'pAction' can be declared as pointer to const. However it seems that 'onSettings' is a callback function, if 'pAction' is declared with const you might also need to cast function pointer(s). [constParameterCallback]
   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
                                          ^
/<<PKGBUILDDIR>>/src/service.cpp:933:59: note: You might need to cast the function pointer here
         g_signal_connect (action, "activate", G_CALLBACK (onSettings), this);
                                                           ^
/<<PKGBUILDDIR>>/src/service.cpp:967:42: note: Parameter 'pAction' can be declared as pointer to const
   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
                                          ^
/<<PKGBUILDDIR>>/src/service.cpp:967:61: style: Parameter 'pVariant' can be declared as pointer to const. However it seems that 'onSettings' is a callback function, if 'pVariant' is declared with const you might also need to cast function pointer(s). [constParameterCallback]
   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
                                                             ^
/<<PKGBUILDDIR>>/src/service.cpp:933:59: note: You might need to cast the function pointer here
         g_signal_connect (action, "activate", G_CALLBACK (onSettings), this);
                                                           ^
/<<PKGBUILDDIR>>/src/service.cpp:967:61: note: Parameter 'pVariant' can be declared as pointer to const
   static void onSettings (GSimpleAction *pAction, GVariant *pVariant, gpointer pData)
                                                             ^
Checking /<<PKGBUILDDIR>>/src/service.cpp: COLOR_TEMP_ENABLED...
/<<PKGBUILDDIR>>/src/service.cpp:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]

^
/<<PKGBUILDDIR>>/src/service.cpp:337:41: style: C-style pointer casting [cstyleCast]
         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pUserData;
                                         ^
/<<PKGBUILDDIR>>/src/service.cpp:452:41: style: C-style pointer casting [cstyleCast]
         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
                                         ^
/<<PKGBUILDDIR>>/src/service.cpp:763:41: style: C-style pointer casting [cstyleCast]
         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
                                         ^
/<<PKGBUILDDIR>>/src/service.cpp:819:41: style: C-style pointer casting [cstyleCast]
         DisplayIndicator::Impl *pImpl = (DisplayIndicator::Impl*) pData;
                                         ^
4/6 files checked 87% done
Checking /<<PKGBUILDDIR>>/src/solar.c ...
5/6 files checked 97% done
Checking /<<PKGBUILDDIR>>/tests/unit/rotation-lock-test.cpp ...
/<<PKGBUILDDIR>>/tests/utils/test-dbus-fixture.h:33:14: style: The destructor '~TestDBusFixture' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride]
     virtual ~TestDBusFixture() =default;
              ^
/<<PKGBUILDDIR>>/tests/utils/glib-fixture.h:38:14: note: Virtual destructor in base class
     virtual ~GlibFixture() =default;
              ^
/<<PKGBUILDDIR>>/tests/utils/test-dbus-fixture.h:33:14: note: Destructor in derived class
     virtual ~TestDBusFixture() =default;
              ^
6/6 files checked 100% done
nofile:0:0: information: Active checkers: 164/712 (use --checkers-report=<filename> to see details) [checkersReport]



50% tests passed, 1 tests failed out of 2

Total Test time (real) =   0.17 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 returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-ayatana-devel mailing list