[Pkg-lxde-maintainers] Bug#1075245: lxterminal: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:35:34 BST 2024


Package: src:lxterminal
Version: 0.4.0-2
Severity: important
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/lxterminal_0.4.0-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
      |     ^~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:149:16: note: declared here
  149 | GtkWidget     *gtk_ui_manager_get_widget          (GtkUIManager          *manager,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~
lxterminal.c:1401:5: warning: ‘gtk_ui_manager_get_accel_group’ is deprecated [-Wdeprecated-declarations]
 1401 |     terminal->accel_group = gtk_ui_manager_get_accel_group(manager);
      |     ^~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkuimanager.h:147:16: note: declared here
  147 | GtkAccelGroup *gtk_ui_manager_get_accel_group     (GtkUIManager          *manager);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lxterminal.c: In function ‘lxterminal_initialize’:
lxterminal.c:1742:13: warning: ‘gdk_screen_get_width’ is deprecated [-Wdeprecated-declarations]
 1742 |             x = gdk_screen_get_width(screen) - window_width +
      |             ^
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30:
/usr/include/gtk-3.0/gdk/gdkscreen.h:58:14: note: declared here
   58 | gint         gdk_screen_get_width             (GdkScreen   *screen);
      |              ^~~~~~~~~~~~~~~~~~~~
lxterminal.c:1746:17: warning: ‘gdk_screen_get_height’ is deprecated [-Wdeprecated-declarations]
 1746 |                 y = gdk_screen_get_height(screen) - window_height +
      |                 ^
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
   60 | gint         gdk_screen_get_height            (GdkScreen   *screen);
      |              ^~~~~~~~~~~~~~~~~~~~~
lxterminal.c:1759:17: warning: ‘gdk_screen_get_height’ is deprecated [-Wdeprecated-declarations]
 1759 |                 y = gdk_screen_get_height(gtk_window_get_screen(window)) -
      |                 ^
/usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here
   60 | gint         gdk_screen_get_height            (GdkScreen   *screen);
      |              ^~~~~~~~~~~~~~~~~~~~~
lxterminal.c: In function ‘terminal_settings_apply’:
lxterminal.c:1796:5: warning: ‘gtk_widget_is_composited’ is deprecated: Use 'gdk_screen_is_composited' instead [-Wdeprecated-declarations]
 1796 |     terminal->rgba = gtk_widget_is_composited(terminal->window);
      |     ^~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31:
/usr/include/gtk-3.0/gtk/gtkwidget.h:1247:10: note: declared here
 1247 | gboolean gtk_widget_is_composited (GtkWidget *widget);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:476: lxterminal-lxterminal.o] Error 1
make[3]: *** Waiting for unfinished jobs....
preferences.c: In function ‘preferences_dialog_font_set_event’:
preferences.c:39:5: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations]
   39 |     setting->font_name = g_strdup(gtk_font_button_get_font_name(widget));
      |     ^~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:109,
                 from preferences.c:22:
/usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here
   96 | const gchar *         gtk_font_button_get_font_name  (GtkFontButton *font_button);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
preferences.c: In function ‘terminal_preferences_dialog’:
preferences.c:293:5: warning: ‘gtk_font_button_set_font_name’ is deprecated [-Wdeprecated-declarations]
  293 |     gtk_font_button_set_font_name(GTK_FONT_BUTTON(w), setting->font_name);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/gtkfontbutton.h:98:23: note: declared here
   98 | gboolean              gtk_font_button_set_font_name  (GtkFontButton *font_button,
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:403: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:344: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the Pkg-lxde-maintainers mailing list