Bug#1075614: v-sim: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:47:16 BST 2024


Package: src:v-sim
Version: 3.7.2-9
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/v-sim_3.7.2-9_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

[...]
  350 |   item = gtk_tool_button_new_from_stock(GTK_STOCK_REFRESH);
      |   ^~~~
pythongi.c:357:3: warning: ‘gtk_misc_set_alignment’ is deprecated [-Wdeprecated-declarations]
  357 |   gtk_misc_set_alignment(GTK_MISC(wd), 0., 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here
   72 | void    gtk_misc_set_alignment (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~~~
pythongi.c:364:3: warning: ‘gtk_misc_set_padding’ is deprecated [-Wdeprecated-declarations]
  364 |   gtk_misc_set_padding(GTK_MISC(wd), 5, 0);
      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:80:9: note: declared here
   80 | void    gtk_misc_set_padding   (GtkMisc *misc,
      |         ^~~~~~~~~~~~~~~~~~~~
pythongi.c:370:3: warning: ‘gtk_button_new_from_stock’ is deprecated: Use 'gtk_button_new_with_label' instead [-Wdeprecated-declarations]
  370 |   pyExecute = gtk_button_new_from_stock(GTK_STOCK_EXECUTE);
      |   ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:54:
/usr/include/gtk-3.0/gtk/gtkbutton.h:103:16: note: declared here
  103 | GtkWidget*     gtk_button_new_from_stock    (const gchar    *stock_id);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~
pythongi.c:370:3: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  370 |   pyExecute = gtk_button_new_from_stock(GTK_STOCK_EXECUTE);
      |   ^~~~~~~~~
pythongi.c:403:3: warning: ‘gtk_tool_button_new_from_stock’ is deprecated: Use 'gtk_tool_button_new' instead [-Wdeprecated-declarations]
  403 |   item = gtk_tool_button_new_from_stock(GTK_STOCK_CLEAR);
      |   ^~~~
/usr/include/gtk-3.0/gtk/gtktoolbutton.h:84:14: note: declared here
   84 | GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pythongi.c:403:3: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  403 |   item = gtk_tool_button_new_from_stock(GTK_STOCK_CLEAR);
      |   ^~~~
pythongi.c:408:3: warning: ‘gtk_tool_button_new_from_stock’ is deprecated: Use 'gtk_tool_button_new' instead [-Wdeprecated-declarations]
  408 |   item = gtk_tool_button_new_from_stock(GTK_STOCK_CANCEL);
      |   ^~~~
/usr/include/gtk-3.0/gtk/gtktoolbutton.h:84:14: note: declared here
   84 | GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pythongi.c:408:3: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  408 |   item = gtk_tool_button_new_from_stock(GTK_STOCK_CANCEL);
      |   ^~~~
pythongi.c:413:3: warning: ‘gtk_tool_button_new_from_stock’ is deprecated: Use 'gtk_tool_button_new' instead [-Wdeprecated-declarations]
  413 |   item = gtk_tool_button_new_from_stock(GTK_STOCK_FIND);
      |   ^~~~
/usr/include/gtk-3.0/gtk/gtktoolbutton.h:84:14: note: declared here
   84 | GtkToolItem *gtk_tool_button_new_from_stock (const gchar *stock_id);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pythongi.c:413:3: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  413 |   item = gtk_tool_button_new_from_stock(GTK_STOCK_FIND);
      |   ^~~~
pythongi.c: In function ‘onInitScriptAdded’:
pythongi.c:524:40: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  524 |                                        GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |                                        ^~~~~~~~~~~~~~~~
pythongi.c:525:40: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
  525 |                                        GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
      |                                        ^~~~~~~~~~~~~~
make[5]: *** [Makefile:619: pythongi.lo] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/lib/plug-ins/python-gi'
make[4]: *** [Makefile:493: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/plug-ins'
make[3]: *** [Makefile:485: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [Makefile:604: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:515: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list