#1096381 bluefish: ftbfs with GCC-15

#1096381#5
Date:
2025-02-17 17:05:26 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/bluefish_2.2.16-1_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

[...]
wizards.c: In function 'framewizard_dialog':
wizards.c:192:9: warning: 'gtk_table_new' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  192 |         dgtable = gtk_table_new(4, 12, FALSE);
      |         ^~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
  119 | GtkWidget* gtk_table_new              (guint            rows,
      |            ^~~~~~~~~~~~~
wizards.c:193:9: warning: 'gtk_table_set_row_spacings' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  193 |         gtk_table_set_row_spacings(GTK_TABLE(dgtable), 6);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:159:12: note: declared here
  159 | void       gtk_table_set_row_spacings (GtkTable        *table,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
wizards.c:194:9: warning: 'gtk_table_set_col_spacings' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  194 |         gtk_table_set_col_spacings(GTK_TABLE(dgtable), 12);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:164:12: note: declared here
  164 | void       gtk_table_set_col_spacings (GtkTable        *table,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
wizards.c:205:9: warning: 'gtk_table_attach_defaults' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  205 |         gtk_table_attach_defaults(GTK_TABLE(dgtable), dg->check[0], 1, 2, 1, 2);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:12: note: declared here
  138 | void       gtk_table_attach_defaults  (GtkTable        *table,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
wizards.c:208:9: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  208 |         gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);
      |         ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
wizards.c:209:9: warning: 'gtk_table_attach_defaults' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  209 |         gtk_table_attach_defaults(GTK_TABLE(dgtable), label, 0, 1, 2, 3);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:12: note: declared here
  138 | void       gtk_table_attach_defaults  (GtkTable        *table,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
wizards.c:212:9: warning: 'gtk_table_attach_defaults' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  212 |         gtk_table_attach_defaults(GTK_TABLE(dgtable), dg->radio[1], 1, 2, 2, 3);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:12: note: declared here
  138 | void       gtk_table_attach_defaults  (GtkTable        *table,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
wizards.c:213:9: warning: 'gtk_table_attach_defaults' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  213 |         gtk_table_attach_defaults(GTK_TABLE(dgtable), dg->radio[2], 2, 3, 2, 3);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:12: note: declared here
  138 | void       gtk_table_attach_defaults  (GtkTable        *table,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
wizards.c:217:9: warning: 'gtk_table_attach_defaults' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  217 |         gtk_table_attach_defaults(GTK_TABLE(dgtable), dg->spin[1], 1, 2, 3, 4);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:12: note: declared here
  138 | void       gtk_table_attach_defaults  (GtkTable        *table,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: Leaving directory '/build/reproducible-path/bluefish-2.2.16/src/plugin_htmlbar'
make[4]: *** [Makefile:612: all-recursive] Error 1
make[4]: Leaving directory '/build/reproducible-path/bluefish-2.2.16/src/plugin_htmlbar'
make[3]: *** [Makefile:784: all-recursive] Error 1
make[3]: Leaving directory '/build/reproducible-path/bluefish-2.2.16/src'
make[2]: *** [Makefile:575: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/bluefish-2.2.16/src'
make[1]: *** [Makefile:489: all-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/bluefish-2.2.16'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2