[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075531: spectools: ftbfs with GCC-14



Package: src:spectools
Version: 201601r1-5
Severity: important
Tags: sid trixie
User: debian-gcc@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/spectools_201601r1-5_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

[...]
      |                                                             ^~
In function ‘snprintf’,
    inlined from ‘ubertooth_u1_device_scan’ at ubertooth_hw_u1.c:261:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output between 1 and 4097 bytes into a destination of size 64
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
wispy_hw_gen1.c: In function ‘wispy1_usb_device_scan’:
wispy_hw_gen1.c:227:61: warning: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 64 [-Wformat-truncation=]
  227 |                                 snprintf(auxpair->bus, 64, "%s", bus->dirname);
      |                                                             ^~
In file included from /usr/include/stdio.h:964,
                 from wispy_hw_gen1.c:28:
In function ‘snprintf’,
    inlined from ‘wispy1_usb_device_scan’ at wispy_hw_gen1.c:227:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output between 1 and 4097 bytes into a destination of size 64
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
wispy_hw_gen1.c: In function ‘wispy1_usb_device_scan’:
wispy_hw_gen1.c:228:61: warning: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 64 [-Wformat-truncation=]
  228 |                                 snprintf(auxpair->dev, 64, "%s", dev->filename);
      |                                                             ^~
In function ‘snprintf’,
    inlined from ‘wispy1_usb_device_scan’ at wispy_hw_gen1.c:228:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output between 1 and 4097 bytes into a destination of size 64
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
wispy_hw_24x.c: In function ‘wispy24x_usb_device_scan’:
wispy_hw_24x.c:274:61: warning: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 64 [-Wformat-truncation=]
  274 |                                 snprintf(auxpair->bus, 64, "%s", bus->dirname);
      |                                                             ^~
In file included from /usr/include/stdio.h:964,
                 from wispy_hw_24x.c:17:
In function ‘snprintf’,
    inlined from ‘wispy24x_usb_device_scan’ at wispy_hw_24x.c:274:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output between 1 and 4097 bytes into a destination of size 64
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
wispy_hw_24x.c: In function ‘wispy24x_usb_device_scan’:
wispy_hw_24x.c:275:61: warning: ‘%s’ directive output may be truncated writing up to 4096 bytes into a region of size 64 [-Wformat-truncation=]
  275 |                                 snprintf(auxpair->dev, 64, "%s", dev->filename);
      |                                                             ^~
In function ‘snprintf’,
    inlined from ‘wispy24x_usb_device_scan’ at wispy_hw_24x.c:275:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output between 1 and 4097 bytes into a destination of size 64
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Reply to: