[Debian-med-packaging] Bug#1075254: maqview: ftbfs with GCC-14

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


Package: src:maqview
Version: 0.2.5-11
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/maqview_0.2.5-11_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

[...]
    inlined from ‘default_keyTyped’ at view_panel.c:1296:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 132 bytes into a destination of size 120
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
view_panel.c: In function ‘default_keyTyped’:
view_panel.c:1291:91: warning: ‘%s’ directive writing up to 119 bytes into a region of size 103 [-Wformat-overflow=]
 1291 |                                                 sprintf(vp->err_string, "Cannot open view %s", vp->view_string);
      |                                                                                           ^~
In function ‘sprintf’,
    inlined from ‘default_keyTyped’ at view_panel.c:1291:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 18 and 137 bytes into a destination of size 120
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
view_panel.c: In function ‘default_paintStatusBar’:
view_panel.c:879:44: warning: ‘:[’ directive writing 2 bytes into a region of size between 1 and 120 [-Wformat-overflow=]
  879 |                 sprintf(vp->msg_string, "%s:[%s_]", vp->err_string, vp->view_string);
      |                                            ^~
In function ‘sprintf’,
    inlined from ‘default_paintStatusBar’ at view_panel.c:879:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 5 and 243 bytes into a destination of size 120
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
view_panel.c: In function ‘default_paintStatusBar’:
view_panel.c:884:83: warning: ‘] Cacheing seqs[’ directive writing 16 bytes into a region of size between 13 and 89 [-Wformat-overflow=]
  884 |                 sprintf(vp->msg_string, "Ref[%s] Position[%ld-%ld] Caching[%ld-%ld] Cacheing seqs[%ld-%ld]",
      |                                                                                   ^~~~~~~~~~~~~~~~
view_panel.c:884:41: note: directive argument in the range [-9223372036854775807, 9223372036854775807]
  884 |                 sprintf(vp->msg_string, "Ref[%s] Position[%ld-%ld] Caching[%ld-%ld] Cacheing seqs[%ld-%ld]",
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
view_panel.c:884:41: note: directive argument in the range [-9223372036854775807, 9223372036854775807]
In function ‘sprintf’,
    inlined from ‘default_paintStatusBar’ at view_panel.c:884:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 52 or more bytes (assuming 166) into a destination of size 120
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
view_panel.c: In function ‘default_paintStatusBar’:
view_panel.c:876:49: warning: ‘%s’ directive writing up to 119 bytes into a region of size 113 [-Wformat-overflow=]
  876 |                 sprintf(vp->msg_string, "Input:[%s_]", str);
      |                                                 ^~     ~~~
In function ‘sprintf’,
    inlined from ‘default_paintStatusBar’ at view_panel.c:876:3:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 10 and 129 bytes into a destination of size 120
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:351: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
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



More information about the Debian-med-packaging mailing list