From doko at debian.org Mon Feb 17 17:15:13 2025 From: doko at debian.org (Matthias Klose) Date: Mon, 17 Feb 2025 17:15:13 +0000 Subject: [Pkg-geany-team] Bug#1096690: geany: ftbfs with GCC-15 Message-ID: Package: src:geany Version: 2.0-2 Severity: important Tags: sid forky User: debian-gcc at lists.debian.org Usertags: ftbfs-gcc-15 [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/geany_2.0-2_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 [...] ./include/ScintillaTypes.h:682:16: note: 'uintptr_t' is defined in header ''; this is probably fixable by adding '#include ' ./include/ScintillaTypes.h:683:16: error: 'intptr_t' does not name a type 683 | using sptr_t = intptr_t; | ^~~~~~~~ ./include/ScintillaTypes.h:683:16: note: 'intptr_t' is defined in header ''; this is probably fixable by adding '#include ' ./include/ScintillaTypes.h:687:11: error: 'Position' does not name a type 687 | constexpr Position InvalidPosition = -1; | ^~~~~~~~ make[3]: *** [Makefile:1756: src/libscintilla_la-CallTip.lo] Error 1 src/CellBuffer.cxx: In member function 'void Scintilla::Internal::CellBuffer::BasicInsertString(Sci::Position, const char*, Sci::Position)': src/CellBuffer.cxx:1094:17: error: 'uint8_t' was not declared in this scope 1094 | uint8_t eolTable[256]{}; | ^~~~~~~ src/CellBuffer.cxx:35:1: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' 34 | #include "UniConversion.h" +++ |+#include 35 | src/CellBuffer.cxx:1095:17: error: 'eolTable' was not declared in this scope 1095 | eolTable[static_cast('\n')] = 1; | ^~~~~~~~ src/CellBuffer.cxx:1095:38: error: 'uint8_t' does not name a type 1095 | eolTable[static_cast('\n')] = 1; | ^~~~~~~ src/CellBuffer.cxx:1095:38: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' src/CellBuffer.cxx:1096:38: error: 'uint8_t' does not name a type 1096 | eolTable[static_cast('\r')] = 2; | ^~~~~~~ src/CellBuffer.cxx:1096:38: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' src/CellBuffer.cxx:1107:32: error: expected ';' before 'type' 1107 | uint8_t type; | ^~~~~ | ; src/CellBuffer.cxx:1108:33: error: 'type' was not declared in this scope 1108 | while ((type = eolTable[ch]) == 0 && ptr < end) { | ^~~~ src/CellBuffer.cxx:1113:33: error: 'type' was not declared in this scope 1113 | switch (type) { | ^~~~ In file included from src/ChangeHistory.cxx:18: ./include/ScintillaTypes.h:678:18: error: 'intptr_t' does not name a type 678 | using Position = intptr_t; | ^~~~~~~~ ./include/ScintillaTypes.h:1:1: note: 'intptr_t' is defined in header ''; this is probably fixable by adding '#include ' +++ |+#include 1 | // Scintilla source code edit control ./include/ScintillaTypes.h:679:14: error: 'intptr_t' does not name a type 679 | using Line = intptr_t; | ^~~~~~~~ ./include/ScintillaTypes.h:679:14: note: 'intptr_t' is defined in header ''; this is probably fixable by adding '#include ' ./include/ScintillaTypes.h:682:16: error: 'uintptr_t' does not name a type 682 | using uptr_t = uintptr_t; | ^~~~~~~~~ ./include/ScintillaTypes.h:682:16: note: 'uintptr_t' is defined in header ''; this is probably fixable by adding '#include ' ./include/ScintillaTypes.h:683:16: error: 'intptr_t' does not name a type 683 | using sptr_t = intptr_t; | ^~~~~~~~ ./include/ScintillaTypes.h:683:16: note: 'intptr_t' is defined in header ''; this is probably fixable by adding '#include ' ./include/ScintillaTypes.h:687:11: error: 'Position' does not name a type 687 | constexpr Position InvalidPosition = -1; | ^~~~~~~~ make[3]: *** [Makefile:1777: src/libscintilla_la-CellBuffer.lo] Error 1 make[3]: *** [Makefile:1784: src/libscintilla_la-ChangeHistory.lo] Error 1 make[3]: Leaving directory '/build/reproducible-path/geany-2.0/scintilla' make[2]: *** [Makefile:596: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/geany-2.0' make[1]: *** [Makefile:480: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/geany-2.0' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 From doko at debian.org Mon Feb 17 17:15:15 2025 From: doko at debian.org (Matthias Klose) Date: Mon, 17 Feb 2025 17:15:15 +0000 Subject: [Pkg-geany-team] Bug#1096691: geany-plugins: ftbfs with GCC-15 Message-ID: Package: src:geany-plugins Version: 2.0-6 Severity: important Tags: sid forky User: debian-gcc at lists.debian.org Usertags: ftbfs-gcc-15 [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/geany-plugins_2.0-6_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 [...] make[4]: Leaving directory '/build/reproducible-path/geany-plugins-2.0/git-changebar/data' Making all in src make[4]: Entering directory '/build/reproducible-path/geany-plugins-2.0/git-changebar/src' /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"GitChangeBar\" -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\""/usr/share/locale"\" -DPREFIX=\""/usr"\" -DDOCDIR=\""/usr/share/doc/geany-plugins"\" -DGEANYPLUGINS_DATADIR=\""/usr/share"\" -DPKGDATADIR=\""/usr/share/geany-plugins"\" -DLIBDIR=\""/usr/lib/x86_64-linux-gnu"\" -DPKGLIBDIR=\""/usr/lib/x86_64-linux-gnu/geany-plugins"\" -DPLUGINDATADIR=\""/usr/share/geany-plugins/git-changebar"\" -DPLUGINDOCDIR=\""/usr/share/doc/geany-plugins/git-changebar"\" -DPLUGINLIBDIR=\""/usr/lib/x86_64-linux-gnu/geany-plugins/git-changebar"\" -DPLUGIN="\"git-changebar\"" -DGTK -I/usr/include/geany -I/usr/include/geany/tagmanager -I/usr/include/geany/scintilla -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -Wall -Wimplicit-function-declaration -Wmissing-parameter-type -Wold-style-declaration -Wpointer-arith -Wshadow -Wundef -Wwrite-strings -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/geany-plugins-2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o git_changebar_la-gcb-plugin.lo `test -f 'gcb-plugin.c' || echo './'`gcb-plugin.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"GitChangeBar\" -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=\"/usr\" -DDOCDIR=\"/usr/share/doc/geany-plugins\" -DGEANYPLUGINS_DATADIR=\"/usr/share\" -DPKGDATADIR=\"/usr/share/geany-plugins\" -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" -DPKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/geany-plugins\" -DPLUGINDATADIR=\"/usr/share/geany-plugins/git-changebar\" -DPLUGINDOCDIR=\"/usr/share/doc/geany-plugins/git-changebar\" -DPLUGINLIBDIR=\"/usr/lib/x86_64-linux-gnu/geany-plugins/git-changebar\" -DPLUGIN=\"git-changebar\" -DGTK -I/usr/include/geany -I/usr/include/geany/tagmanager -I/usr/include/geany/scintilla -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -Wall -Wimplicit-function-declaration -Wmissing-parameter-type -Wold-style-declaration -Wpointer-arith -Wshadow -Wundef -Wwrite-strings -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/geany-plugins-2.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c gcb-plugin.c -fPIC -DPIC -o .libs/git_changebar_la-gcb-plugin.o gcb-plugin.c: In function 'read_setting_boolean': gcb-plugin.c:1413:13: error: expected identifier or '(' before 'bool' 1413 | gboolean *bool = value; | ^~~~ gcb-plugin.c:1415:4: error: expected expression before 'bool' 1415 | *bool = utils_get_setting_boolean (kf, group, key, *bool); | ^~~~ gcb-plugin.c: In function 'write_setting_boolean': gcb-plugin.c:1424:19: error: expected identifier or '(' before 'bool' 1424 | const gboolean *bool = value; | ^~~~ gcb-plugin.c:1426:44: error: expected expression before 'bool' 1426 | g_key_file_set_boolean (kf, group, key, *bool); | ^~~~ gcb-plugin.c: In function 'on_plugin_configure_response': gcb-plugin.c:1656:7: warning: 'gtk_color_button_get_color' is deprecated: Use 'gtk_color_chooser_get_rgba' instead [-Wdeprecated-declarations] 1656 | gtk_color_button_get_color (GTK_COLOR_BUTTON (cw->added_color_button), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:74, from gcb-plugin.c:27: /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:92:12: note: declared here 92 | void gtk_color_button_get_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcb-plugin.c:1659:7: warning: 'gtk_color_button_get_color' is deprecated: Use 'gtk_color_chooser_get_rgba' instead [-Wdeprecated-declarations] 1659 | gtk_color_button_get_color (GTK_COLOR_BUTTON (cw->changed_color_button), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:92:12: note: declared here 92 | void gtk_color_button_get_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcb-plugin.c:1662:7: warning: 'gtk_color_button_get_color' is deprecated: Use 'gtk_color_chooser_get_rgba' instead [-Wdeprecated-declarations] 1662 | gtk_color_button_get_color (GTK_COLOR_BUTTON (cw->removed_color_button), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:92:12: note: declared here 92 | void gtk_color_button_get_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcb-plugin.c: In function 'plugin_configure': gcb-plugin.c:1730:5: warning: 'gtk_color_button_set_color' is deprecated: Use 'gtk_color_chooser_set_rgba' instead [-Wdeprecated-declarations] 1730 | gtk_color_button_set_color (GTK_COLOR_BUTTON (cw->added_color_button), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:89:12: note: declared here 89 | void gtk_color_button_set_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcb-plugin.c:1733:5: warning: 'gtk_color_button_set_color' is deprecated: Use 'gtk_color_chooser_set_rgba' instead [-Wdeprecated-declarations] 1733 | gtk_color_button_set_color (GTK_COLOR_BUTTON (cw->changed_color_button), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:89:12: note: declared here 89 | void gtk_color_button_set_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcb-plugin.c:1736:5: warning: 'gtk_color_button_set_color' is deprecated: Use 'gtk_color_chooser_set_rgba' instead [-Wdeprecated-declarations] 1736 | gtk_color_button_set_color (GTK_COLOR_BUTTON (cw->removed_color_button), | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkcolorbutton.h:89:12: note: declared here 89 | void gtk_color_button_set_color (GtkColorButton *button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: *** [Makefile:642: git_changebar_la-gcb-plugin.lo] Error 1 make[4]: Leaving directory '/build/reproducible-path/geany-plugins-2.0/git-changebar/src' make[3]: *** [Makefile:574: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/geany-plugins-2.0/git-changebar' make[2]: *** [Makefile:621: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/geany-plugins-2.0' make[1]: *** [Makefile:553: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/geany-plugins-2.0' dh_auto_build: error: make -j8 returned exit code 2 make: *** [debian/rules:105: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2