[Debian-astro-maintainers] Bug#1074941: eso-midas: ftbfs with GCC-14

Matthias Klose doko at debian.org
Wed Jul 3 13:26:01 BST 2024


Package: src:eso-midas
Version: 23.02pl1.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/eso-midas_23.02pl1.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

[...]
help.c: In function ‘find_help’:
help.c:254:33: warning: ‘%s’ directive writing up to 79 bytes into a region of size between 0 and 511 [-Wformat-overflow=]
  254 |     sprintf( help_pathname, "%s/%s/%s", midashome, midvers, help_file );
      |                                 ^~                 ~~~~~~~
In file included from /usr/include/stdio.h:964,
                 from ../../incl/xm_defs.h:17,
                 from help.c:38:
In function ‘sprintf’,
    inlined from ‘find_help’ at help.c:254:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 3 or more bytes (assuming 593) into a destination of size 512
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
help.c: In function ‘find_help’:
help.c:256:40: warning: ‘%s’ directive writing up to 511 bytes into a region of size 109 [-Wformat-overflow=]
  256 |         sprintf(s, "XIrspec Help file [%s] not found.\r\n", help_pathname);
      |                                        ^~                   ~~~~~~~~~~~~~
In function ‘sprintf’,
    inlined from ‘find_help’ at help.c:256:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 34 and 545 bytes into a destination of size 128
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -fno-strict-aliasing -Wno-error=implicit-function-declaration -fcommon    -I/<<PKGBUILDDIR>>/23FEB/incl -fcommon  -DPATH_MAX=1024 -I../../incl -I/<<PKGBUILDDIR>>/23FEB/incl -I../../GraphLib/libsrc/uimxR5/include   -DXOPEN_CATALOG      -c  file.c
file.c: In function ‘IrspecOpen’:
file.c:118:37: warning: ‘%s’ directive writing up to 127 bytes into a region of size 118 [-Wformat-overflow=]
  118 |             sprintf(str, "*** line [%s] discarded ***", s);
      |                                     ^~                  ~
In file included from /usr/include/stdio.h:964,
                 from file.c:39:
In function ‘sprintf’,
    inlined from ‘IrspecOpen’ at file.c:118:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 26 and 153 bytes into a destination of size 128
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fcommon -fno-strict-aliasing -Wno-error=implicit-function-declaration -fcommon    -I/<<PKGBUILDDIR>>/23FEB/incl -fcommon  -DPATH_MAX=1024 -I../../incl -I/<<PKGBUILDDIR>>/23FEB/incl -I../../GraphLib/libsrc/uimxR5/include   -DXOPEN_CATALOG      -c  callback.c
callback.c: In function ‘BadpixInputCallback’:
callback.c:177:6: error: type of ‘str’ defaults to ‘int’ [-Wimplicit-int]
  177 | void BadpixInputCallback( str )
      |      ^~~~~~~~~~~~~~~~~~~
make[2]: [../../../local/default.mk:87: callback.o] Error 1 (ignored)
make[2]: *** No rule to make target '/<<PKGBUILDDIR>>/23FEB/lib/libmidas.a', needed by '../../exec/irspec.exe'.  Stop.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/23FEB/gui/XIrspec/src'

**********************************************
****** INSTALLING IN ./gui/XIrspec/proc
**********************************************
make[2]: Entering directory '/<<PKGBUILDDIR>>/23FEB/gui/XIrspec/proc'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/23FEB/gui/XIrspec/proc'

*********************************************************************
******************** END INSTALLATION PROCEDURE *********************
*********************************************************************
********** END DATE:  Tue Jul  2 00:43:12 UTC 2024
********** SYSTEM: 
test -x /<<PKGBUILDDIR>>/23FEB/monit/midasgo.exe
make[1]: *** [debian/rules:34: override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list