Bug#1075188: libmpc: ftbfs with GCC-14
Package: src:libmpc
Version: 2:0.1~r495-2
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/libmpc_0.1~r495-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
[...]
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mpc_bits_reader.c -fPIC -DPIC -o .libs/mpc_bits_reader.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c synth_filter.c -fPIC -DPIC -o .libs/synth_filter.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c requant.c -o requant.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mpc_reader.c -o mpc_reader.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c huffman.c -o huffman.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mpc_bits_reader.c -o mpc_bits_reader.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ../common/crc32.lo ../common/crc32.c
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ../common/huffman-bcl.lo ../common/huffman-bcl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../common/crc32.c -fPIC -DPIC -o ../common/.libs/crc32.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c synth_filter.c -o synth_filter.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c streaminfo.c -o streaminfo.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../common/crc32.c -o ../common/crc32.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../common/huffman-bcl.c -fPIC -DPIC -o ../common/.libs/huffman-bcl.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../common/huffman-bcl.c -o ../common/huffman-bcl.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mpc_demux.c -o mpc_demux.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c mpc_decoder.c -o mpc_decoder.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link gcc -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -no-undefined -version-info 7:0:1 -Wl,-z,relro -o libmpcdec.la -rpath /usr/lib/x86_64-linux-gnu huffman.lo mpc_decoder.lo mpc_reader.lo requant.lo streaminfo.lo synth_filter.lo mpc_bits_reader.lo mpc_demux.lo ../common/crc32.lo ../common/huffman-bcl.lo -lm
libtool: link: gcc -shared -fPIC -DPIC .libs/huffman.o .libs/mpc_decoder.o .libs/mpc_reader.o .libs/requant.o .libs/streaminfo.o .libs/synth_filter.o .libs/mpc_bits_reader.o .libs/mpc_demux.o ../common/.libs/crc32.o ../common/.libs/huffman-bcl.o -lm -g -O2 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-soname -Wl,libmpcdec.so.6 -o .libs/libmpcdec.so.6.1.0
libtool: link: (cd ".libs" && rm -f "libmpcdec.so.6" && ln -s "libmpcdec.so.6.1.0" "libmpcdec.so.6")
libtool: link: (cd ".libs" && rm -f "libmpcdec.so" && ln -s "libmpcdec.so.6.1.0" "libmpcdec.so")
libtool: link: ar cr .libs/libmpcdec.a huffman.o mpc_decoder.o mpc_reader.o requant.o streaminfo.o synth_filter.o mpc_bits_reader.o mpc_demux.o ../common/crc32.o ../common/huffman-bcl.o
libtool: link: ranlib .libs/libmpcdec.a
libtool: link: ( cd ".libs" && rm -f "libmpcdec.la" && ln -s "../libmpcdec.la" "libmpcdec.la" )
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libmpcdec'
Making all in libmpcenc
make[2]: Entering directory '/<<PKGBUILDDIR>>/libmpcenc'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o analy_filter.o analy_filter.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o bitstream.o bitstream.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o encode_sv7.o encode_sv7.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o huffsv7.o huffsv7.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o quant.o quant.c
rm -f libmpcenc.a
ar cru libmpcenc.a analy_filter.o bitstream.o encode_sv7.o huffsv7.o quant.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libmpcenc.a
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libmpcenc'
Making all in libmpcpsy
make[2]: Entering directory '/<<PKGBUILDDIR>>/libmpcpsy'
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ans.o ans.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o cvd.o cvd.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fft4g.o fft4g.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fft_routines.o fft_routines.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o psy.o psy.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o psy_tab.o psy_tab.c
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o profile.o profile.c
ans.c: In function ‘NS_Analyse’:
ans.c:290:120: error: passing argument 10 of ‘FindOptimalANS’ from incompatible pointer type [-Wincompatible-pointer-types]
290 | FindOptimalANS ( MaxBand, MSflag, ANSspec_L, ANSspec_M, m->NS_Order_L, m->SNR_comp_L, m->FIR_L, smr.L, smr.M, m->SCF_Index_L, Transient );
| ~^~~~~~~~~~~~~
| |
| int *
ans.c:159:40: note: expected ‘const int (*)[3]’ but argument is of type ‘int *’
159 | const int scf [] [3],
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
ans.c:295:120: error: passing argument 10 of ‘FindOptimalANS’ from incompatible pointer type [-Wincompatible-pointer-types]
295 | FindOptimalANS ( MaxBand, MSflag, ANSspec_R, ANSspec_S, m->NS_Order_R, m->SNR_comp_R, m->FIR_R, smr.R, smr.S, m->SCF_Index_R, Transient );
| ~^~~~~~~~~~~~~
| |
| int *
ans.c:159:40: note: expected ‘const int (*)[3]’ but argument is of type ‘int *’
159 | const int scf [] [3],
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
make[2]: *** [Makefile:387: ans.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libmpcpsy'
make[1]: *** [Makefile:410: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: