#1096714 gkrellm-radio: ftbfs with GCC-15

#1096714#5
Date:
2025-02-17 17:16:01 UTC
From:
To:
[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/gkrellm-radio_2.0.4-4_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
      | ^~~~~~~~~
gkrellm_radio.c:327:55: error: passing argument 3 of ‘gkrellm_make_decal_button’ from incompatible pointer type [-Wincompatible-pointer-types]
  327 |     gkrellm_make_decal_button(panel, decal_onoff_pix, cb_button,
      |                                                       ^~~~~~~~~
      |                                                       |
      |                                                       void (*)(GkrellmDecalbutton *)
/usr/include/gkrellm2/gkrellm-public-proto.h:254:56: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(GkrellmDecalbutton *)’
  254 |                                                 void (*func)(), void *, gint, gint);
      |                                                 ~~~~~~~^~~~~~~
gkrellm_radio.c:216:1: note: ‘cb_button’ declared here
  216 | cb_button(GkrellmDecalbutton *button)
      | ^~~~~~~~~
gkrellm_radio.c: In function ‘close_and_add_station_editor’:
gkrellm_radio.c:368:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  368 |   gint new_entry = (gint)userdata;
      |                    ^
In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40,
                 from /usr/include/gtk-2.0/gtk/gtk.h:53,
                 from /usr/include/gkrellm2/gkrellm.h:47:
gkrellm_radio.c: In function ‘create_station_editor’:
gkrellm_radio.c:427:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  427 |                             (gpointer)new_entry);
      |                             ^
gkrellm_radio.c: In function ‘create_config’:
gkrellm_radio.c:499:64: warning: variable ‘frame’ set but not used [-Wunused-but-set-variable]
  499 |   GtkWidget *text, *label, *panel, *button, *hbox, *scrolled, *frame, *vbox;
      |                                                                ^~~~~
gkrellm_radio.c: In function ‘gkrellm_init_plugin’:
gkrellm_radio.c:766:3: warning: ‘g_atexit’ is deprecated [-Wdeprecated-declarations]
  766 |   g_atexit(gkrellm_radio_lirc_exit);
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/gthread.h:36,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/gkrellm2/log.h:37,
                 from /usr/include/gkrellm2/gkrellm.h:41:
/usr/include/glib-2.0/glib/gutils.h:329:9: note: declared here
  329 | void    g_atexit                (GVoidFunc    func);
      |         ^~~~~~~~
gkrellm_radio.c:768:3: warning: ‘g_atexit’ is deprecated [-Wdeprecated-declarations]
  768 |   g_atexit(exit_func);
      |   ^~~~~~~~
/usr/include/glib-2.0/glib/gutils.h:329:9: note: declared here
  329 | void    g_atexit                (GVoidFunc    func);
      |         ^~~~~~~~
In file included from gkrellm_radio.c:9:
gkrellm_radio_lirc.h: At top level:
gkrellm_radio_lirc.h:17:13: warning: inline function ‘gkrellm_radio_lirc_next_station’ declared but never defined
   17 | void inline gkrellm_radio_lirc_next_station (void);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:43: gkrellm_radio.o] Error 1
make[1]: *** Waiting for unfinished jobs....
gkrellm_radio_lirc.c: In function ‘gkrellm_radio_lirc_cb’:
gkrellm_radio_lirc.c:78:16: warning: ‘g_strcasecmp’ is deprecated [-Wdeprecated-declarations]
   78 |                if (g_strcasecmp (command, c) == 0) {
      |                ^~
In file included from /usr/include/glib-2.0/glib/gstring.h:37,
                 from /usr/include/glib-2.0/glib/giochannel.h:36,
                 from /usr/include/glib-2.0/glib.h:56,
                 from /usr/include/gkrellm2/log.h:37,
                 from /usr/include/gkrellm2/gkrellm.h:41,
                 from gkrellm_radio.h:5,
                 from gkrellm_radio_lirc.c:3:
/usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here
  268 | gint                  g_strcasecmp     (const gchar *s1,
      |                       ^~~~~~~~~~~~
make[1]: Leaving directory '/build/reproducible-path/gkrellm-radio-2.0.4'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1096714#14
Date:
2025-09-05 11:05:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gkrellm-radio, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1096714@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Biedl <debian.axhn@manchmal.in-ulm.de> (supplier of updated gkrellm-radio package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 04 Sep 2025 21:20:56 +0200
Source: gkrellm-radio
Architecture: source
Version: 2.0.4-5
Distribution: unstable
Urgency: medium
Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Changed-By: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
Closes: 1096714
Changes:
 gkrellm-radio (2.0.4-5) unstable; urgency=medium
 .
   * Cast function pointers to avoid FTBFS with gcc-15.
     Closes: #1096714
Checksums-Sha1:
 2cde60742d0a3a6d43062e2b8fa98ef445637099 1774 gkrellm-radio_2.0.4-5.dsc
 7dcf7089b3ba4a6d68a57224dda9e9c541190df5 4424 gkrellm-radio_2.0.4-5.debian.tar.xz
 fa9ece7ba7524e0ef85a04bf5254f32caac69f00 11750 gkrellm-radio_2.0.4-5_powerpc.buildinfo
Checksums-Sha256:
 68c4c81cdaaf6c3b4be8f85210338d35ad72d45d6d9543612edefa79d226bf5b 1774 gkrellm-radio_2.0.4-5.dsc
 e8306b6c1f2c4780ee747c0a5f6ae99c0cbf0dbe1bae49b49380fb58877e3008 4424 gkrellm-radio_2.0.4-5.debian.tar.xz
 7eefe694e5576acf794f819b1f6726e06ab118ca895c8e908b432734901d3dfa 11750 gkrellm-radio_2.0.4-5_powerpc.buildinfo
Files:
 8eeff3cad2b7bb04fbe23b8747ef32bf 1774 sound optional gkrellm-radio_2.0.4-5.dsc
 71f95bff2446a87f76246767bbeb283a 4424 sound optional gkrellm-radio_2.0.4-5.debian.tar.xz
 082f33a2ad38225021fa741b09002ce9 11750 sound optional gkrellm-radio_2.0.4-5_powerpc.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEWXMI+726A12MfJXdxCxY61kUkv0FAmi6vg8ACgkQxCxY61kU
kv1c2w/+KrmFuKPxEphDyQnKxsA4MSF0L4Nd6l7FugZhCbL71t1leBnDZTgHFwZH
zAPVZ6B89HGWAqaoPm5krHH5wdIcuA7BNz8+Sy+iuAfVE+W8RhdNRL623zligjwl
cMtufDAj77Ycmltt6nvNShgIoAlMClIYEVwaOpHbHZqAOaujFovr9235Tq2QzYSO
FWMIutvgQyuvGUAdqZe+ajzbIl+/kozXqWWrSLR4vjgfoyDOvR/Z15s+ENnzG36G
jfbvuIA/cPYioAT6jospN0GcnGCiWeslKzgx4h1JAjtp34ma/3bHu0GIMTR6kazk
droKudpL/r5mG/DHhzWQrq4KlhpF5JxJ80vT9nhz1X7K1yU929UjfUDlTXSXSanv
16T0TVBIgs3TmiQyQtXH7J6s8StQdKJFJydko0TrW13bNxdVLixRHHBaour4cw+f
nBP1kgicHtHI3Jpp9UFmzLLhqbRPip+IPs7YiD3/1zblQ932P+EMa9sBf4S4fs22
sHbJwOPCB16q9USwCxapeehvfu/zRta6LNg1SR3sGTrp8bT8LVryvcO8EvU8bQ6u
8PyfG6J3DHAUlUECDAJ9o8DyZaN7nMFPmfsDm/lkqT53aOE3cn2aDd7cdJU66NS+
H+/20DwWjwZPHJvfXmvyxL+Smq/iJX9EnriTLJW+DV5keAFrTQE=
=TEQH
-----END PGP SIGNATURE-----