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

Bug#1097420: mstflint: ftbfs with GCC-15



Package: src:mstflint
Version: 4.26.0+1-2
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-15

[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/mstflint_4.26.0+1-2_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

[...]
make[3]: Entering directory '/build/reproducible-path/mstflint-4.26.0+1/mtcr_ul'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-mtcr_ul.lo `test -f 'mtcr_ul.c' || echo './'`mtcr_ul.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-mtcr_ib_res_mgt.lo `test -f 'mtcr_ib_res_mgt.c' || echo './'`mtcr_ib_res_mgt.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-mtcr_tools_cif.lo `test -f 'mtcr_tools_cif.c' || echo './'`mtcr_tools_cif.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-mtcr_ul_icmd_cif.lo `test -f 'mtcr_ul_icmd_cif.c' || echo './'`mtcr_ul_icmd_cif.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-mtcr_mem_ops.lo `test -f 'mtcr_mem_ops.c' || echo './'`mtcr_mem_ops.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-mtcr_ul_com.lo `test -f 'mtcr_ul_com.c' || echo './'`mtcr_ul_com.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-packets_common.lo `test -f 'packets_common.c' || echo './'`packets_common.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c -o libmtcr_ul_la-packets_layout.lo `test -f 'packets_layout.c' || echo './'`packets_layout.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_ib_res_mgt.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-mtcr_ib_res_mgt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_mem_ops.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-mtcr_mem_ops.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_tools_cif.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-mtcr_tools_cif.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_ul_com.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-mtcr_ul_com.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c packets_layout.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-packets_layout.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_ul_icmd_cif.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-mtcr_ul_icmd_cif.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_ul.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-mtcr_ul.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c packets_common.c  -fPIC -DPIC -o .libs/libmtcr_ul_la-packets_common.o
In file included from mtcr_tools_cif.c:38:
../common/bit_slice.h:64:5: error: cannot use keyword 'false' as enumeration constant
   64 |     false = 0,
      |     ^~~~~
../common/bit_slice.h:64:5: note: 'false' is a keyword with '-std=c23' onwards
../common/bit_slice.h:67:23: error: 'bool' cannot be defined via 'typedef'
   67 | typedef unsigned char bool;
      |                       ^~~~
../common/bit_slice.h:67:23: note: 'bool' is a keyword with '-std=c23' onwards
../common/bit_slice.h:67:1: warning: useless type name in empty declaration
   67 | typedef unsigned char bool;
      | ^~~~~~~
In file included from mtcr_ul_icmd_cif.c:41:
../common/bit_slice.h:64:5: error: cannot use keyword 'false' as enumeration constant
   64 |     false = 0,
      |     ^~~~~
../common/bit_slice.h:64:5: note: 'false' is a keyword with '-std=c23' onwards
../common/bit_slice.h:67:23: error: 'bool' cannot be defined via 'typedef'
   67 | typedef unsigned char bool;
      |                       ^~~~
../common/bit_slice.h:67:23: note: 'bool' is a keyword with '-std=c23' onwards
../common/bit_slice.h:67:1: warning: useless type name in empty declaration
   67 | typedef unsigned char bool;
      | ^~~~~~~
In file included from mtcr_ul_com.c:92:
../common/bit_slice.h:64:5: error: cannot use keyword 'false' as enumeration constant
   64 |     false = 0,
      |     ^~~~~
../common/bit_slice.h:64:5: note: 'false' is a keyword with '-std=c23' onwards
../common/bit_slice.h:67:23: error: 'bool' cannot be defined via 'typedef'
   67 | typedef unsigned char bool;
      |                       ^~~~
../common/bit_slice.h:67:23: note: 'bool' is a keyword with '-std=c23' onwards
../common/bit_slice.h:67:1: warning: useless type name in empty declaration
   67 | typedef unsigned char bool;
      | ^~~~~~~
make[3]: *** [Makefile:572: libmtcr_ul_la-mtcr_tools_cif.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:579: libmtcr_ul_la-mtcr_ul_icmd_cif.lo] Error 1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_mem_ops.c -o libmtcr_ul_la-mtcr_mem_ops.o >/dev/null 2>&1
make[3]: *** [Makefile:593: libmtcr_ul_la-mtcr_ul_com.lo] Error 1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_ib_res_mgt.c -o libmtcr_ul_la-mtcr_ib_res_mgt.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c packets_layout.c -o libmtcr_ul_la-packets_layout.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c packets_common.c -o libmtcr_ul_la-packets_common.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include/mtcr_ul -I../common -I../dev_mgt -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -g -MP -MD -fPIC -DMTCR_API= -DMST_UL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mstflint-4.26.0+1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DNO_RDMEM -DMST_UL -c mtcr_ul.c -o libmtcr_ul_la-mtcr_ul.o >/dev/null 2>&1
make[3]: Leaving directory '/build/reproducible-path/mstflint-4.26.0+1/mtcr_ul'
make[2]: *** [Makefile:556: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/mstflint-4.26.0+1'
make[1]: *** [Makefile:443: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/mstflint-4.26.0+1'
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


Reply to: