#1097392 mhwaveedit: ftbfs with GCC-15

Package:
src:mhwaveedit
Source:
src:mhwaveedit
Submitter:
Matthias Klose
Date:
2025-10-05 11:29:02 UTC
Severity:
normal
Tags:
#1097392#5
Date:
2025-02-17 17:37:38 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/mhwaveedit_1.4.24-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

[...]
      | ^~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
main.h:116:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  116 | int timeval_subtract(GTimeVal *result, GTimeVal *x, GTimeVal *y);
      | ^~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
main.h:117:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  117 | float timeval_divide(GTimeVal *x, GTimeVal *y);
      | ^~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
main.h:117:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  117 | float timeval_divide(GTimeVal *x, GTimeVal *y);
      | ^~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
main.h:118:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  118 | void timeval_divide_float(GTimeVal *result, GTimeVal *x, gfloat y);
      | ^~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
main.h:118:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  118 | void timeval_divide_float(GTimeVal *result, GTimeVal *x, gfloat y);
      | ^~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
player.c:75:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   75 | static gint notify_wd_cb(gpointer timesource, GTimeVal *current_time,
      | ^~~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
player.c: In function ‘player_work’:
player.c:148:6: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  148 |      GTimeVal tv;
      |      ^~~~~~~~
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
player.c:183:11: warning: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
  183 |           g_get_current_time(&tv);
      |           ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/giochannel.h:35,
                 from /usr/include/glib-2.0/glib.h:56:
/usr/include/glib-2.0/glib/gmain.h:825:8: note: declared here
  825 | void   g_get_current_time                 (GTimeVal       *result);
      |        ^~~~~~~~~~~~~~~~~~
player.c: In function ‘player_play_main’:
player.c:247:6: warning: ‘GVoidFunc’ is deprecated [-Wdeprecated-declarations]
  247 |      i = output_select_format(&(chk->format),(recursed<2),(GVoidFunc)player_work);
      |      ^
player.c:282:21: warning: ‘GVoidFunc’ is deprecated [-Wdeprecated-declarations]
  282 |                     i = output_select_format(&fmt,FALSE,(GVoidFunc)player_work);
      |                     ^
make[3]: Leaving directory '/build/reproducible-path/mhwaveedit-1.4.24/src'
make[2]: *** [Makefile:497: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/mhwaveedit-1.4.24'
make[1]: *** [Makefile:395: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/mhwaveedit-1.4.24'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1097392#14
Date:
2025-10-05 11:27:20 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for mhwaveedit (versioned as 1.4.24-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian