Package: src:komposter
Version: 0+git20201216+ds-3
Severity: important
Tags: sid trixie
User: debian-...@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/komposter_0+git20201216+ds-3_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

[...]
 1662 |   seq_ui[B_DIV_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, 
(DS_HEIGHT/2)+4, 16, 16);
      |                                   ^
sequencer.c:1662:38: warning: conversion from ‘int’ to ‘float’ may change value 
[-Wconversion]
 1662 |   seq_ui[B_DIV_INC]=hovertest_box(x, y, (DS_WIDTH/2)+102, 
(DS_HEIGHT/2)+4, 16, 16);
      |                                      ^
sequencer.c:1663:35: warning: conversion from ‘int’ to ‘float’ may change value 
[-Wconversion]
 1663 |   seq_ui[B_DIV_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, 
(DS_HEIGHT/2)+4, 16, 16);
      |                                   ^
sequencer.c:1663:38: warning: conversion from ‘int’ to ‘float’ may change value 
[-Wconversion]
 1663 |   seq_ui[B_DIV_DEC]=hovertest_box(x, y, (DS_WIDTH/2)-102, 
(DS_HEIGHT/2)+4, 16, 16);
      |                                      ^
sequencer.c: In function ‘sequencer_bpm_click’:
sequencer.c:1669:42: warning: conversion from ‘int’ to ‘float’ may change value 
[-Wconversion]
 1669 |   if (state==GLUT_DOWN && 
!hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) {
      |                                          ^
sequencer.c:1669:44: warning: conversion from ‘int’ to ‘float’ may change value 
[-Wconversion]
 1669 |   if (state==GLUT_DOWN && 
!hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) {
      |                                            ^
sequencer.c:1694:9: warning: this ‘if’ clause does not guard... 
[-Wmisleading-indentation]
 1694 |         if (beats_per_measure < 16) beats_per_measure++; return;
      |         ^~
sequencer.c:1694:58: note: ...this statement, but the latter is misleadingly 
indented as if it were guarded by the ‘if’
 1694 |         if (beats_per_measure < 16) beats_per_measure++; return;
      |                                                          ^~~~~~
sequencer.c:1697:9: warning: this ‘if’ clause does not guard... 
[-Wmisleading-indentation]
 1697 |         if (beats_per_measure > 1) beats_per_measure--; return;
      |         ^~
sequencer.c:1697:57: note: ...this statement, but the latter is misleadingly 
indented as if it were guarded by the ‘if’
 1697 |         if (beats_per_measure > 1) beats_per_measure--; return;
      |                                                         ^~~~~~
sequencer.c:1711:50: warning: conversion from ‘int’ to ‘float’ may change value 
[-Wconversion]
 1711 |   if (button==GLUT_RIGHT_BUTTON && 
hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) {
      |                                                  ^
sequencer.c:1711:52: warning: conversion from ‘int’ to ‘float’ may change value 
[-Wconversion]
 1711 |   if (button==GLUT_RIGHT_BUTTON && 
hovertest_box(x,y,(DS_WIDTH/2),(DS_HEIGHT/2),150,240 )) {
      |                                                    ^
sequencer.c: In function ‘sequencer_bpm_keyboard’:
sequencer.c:1718:52: warning: unused parameter ‘x’ [-Wunused-parameter]
 1718 | void sequencer_bpm_keyboard(unsigned char key, int x, int y)
      |                                                ~~~~^
sequencer.c:1718:59: warning: unused parameter ‘y’ [-Wunused-parameter]
 1718 | void sequencer_bpm_keyboard(unsigned char key, int x, int y)
      |                                                       ~~~~^
sequencer.c: At top level:
sequencer.c:1745:6: warning: function declaration isn’t a prototype 
[-Wstrict-prototypes]
 1745 | void sequencer_bpm_close_dialog() {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
sequencer.c: In function ‘sequencer_bpm_close_dialog’:
sequencer.c:1745:6: warning: old-style function definition 
[-Wold-style-definition]
sequencer.c: In function ‘sequencer_file_checkstate.part.0’:
sequencer.c:1574:40: warning: ‘%s’ directive writing up to 254 bytes into a 
region of size 241 [-Wformat-overflow=]
 1574 |           sprintf(tmps, "Song saved as %s", fn);
      |                                        ^~   ~~
In file included from /usr/include/stdio.h:964,
                 from sequencer.h:16:
In function ‘sprintf’,
    inlined from ‘sequencer_file_checkstate.part.0’ at sequencer.c:1574:11:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: 
‘__builtin___sprintf_chk’ output between 15 and 269 bytes into a destination of 
size 255
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to