← Back to team overview

dx-packages team mailing list archive

[Bug 2119509] [NEW] notify-osd FTBFS with gcc15

 

Public bug reported:

As seen in autopkgtest:
https://autopkgtest.ubuntu.com/results/autopkgtest-
questing/questing/amd64/n/notify-osd/20250804_195310_3c5f2@/log.gz

130s test-apport.c: In function ‘test_apport_create_test_suite’:
130s test-apport.c:51:33: error: passing argument 5 of ‘g_test_create_case’ from incompatible pointer type [-Wincompatible-pointer-types]
130s    51 |         g_test_suite_add(ts, TC(test_apport));
130s       |                                 ^~~~~~~~~~~
130s       |                                 |
130s       |                                 void (*)(void)
130s test-apport.c:49:53: note: in definition of macro ‘TC’
130s    49 | #define TC(x) g_test_create_case(#x, 0, NULL, NULL, x, NULL)
130s       |                                                     ^
130s In file included from /usr/include/glib-2.0/glib.h:89,
130s                  from test-apport.c:29:
130s /usr/include/glib-2.0/glib/gtestutils.h:590:60: note: expected ‘GTestFixtureFunc’ {aka ‘void (*)(void *, const void *)’} but argument is of type ‘void (*)(void)’
130s   590 |                                          GTestFixtureFunc  data_test,
130s       |                                          ~~~~~~~~~~~~~~~~~~^~~~~~~~~
130s test-apport.c:35:1: note: ‘test_apport’ declared here
130s    35 | test_apport ()
130s       | ^~~~~~~~~~~
130s /usr/include/glib-2.0/glib/gtestutils.h:42:16: note: ‘GTestFixtureFunc’ declared here
130s    42 | typedef void (*GTestFixtureFunc) (gpointer      fixture,
130s       |                ^~~~~~~~~~~~~~~~

** Affects: notify-osd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/2119509

Title:
  notify-osd FTBFS with gcc15

Status in notify-osd package in Ubuntu:
  New

Bug description:
  As seen in autopkgtest:
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  questing/questing/amd64/n/notify-osd/20250804_195310_3c5f2@/log.gz

  130s test-apport.c: In function ‘test_apport_create_test_suite’:
  130s test-apport.c:51:33: error: passing argument 5 of ‘g_test_create_case’ from incompatible pointer type [-Wincompatible-pointer-types]
  130s    51 |         g_test_suite_add(ts, TC(test_apport));
  130s       |                                 ^~~~~~~~~~~
  130s       |                                 |
  130s       |                                 void (*)(void)
  130s test-apport.c:49:53: note: in definition of macro ‘TC’
  130s    49 | #define TC(x) g_test_create_case(#x, 0, NULL, NULL, x, NULL)
  130s       |                                                     ^
  130s In file included from /usr/include/glib-2.0/glib.h:89,
  130s                  from test-apport.c:29:
  130s /usr/include/glib-2.0/glib/gtestutils.h:590:60: note: expected ‘GTestFixtureFunc’ {aka ‘void (*)(void *, const void *)’} but argument is of type ‘void (*)(void)’
  130s   590 |                                          GTestFixtureFunc  data_test,
  130s       |                                          ~~~~~~~~~~~~~~~~~~^~~~~~~~~
  130s test-apport.c:35:1: note: ‘test_apport’ declared here
  130s    35 | test_apport ()
  130s       | ^~~~~~~~~~~
  130s /usr/include/glib-2.0/glib/gtestutils.h:42:16: note: ‘GTestFixtureFunc’ declared here
  130s    42 | typedef void (*GTestFixtureFunc) (gpointer      fixture,
  130s       |                ^~~~~~~~~~~~~~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/2119509/+subscriptions