Bug#1096614: faust: ftbfs with GCC-15
Package: src:faust
Version: 2.77.3+ds-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/faust_2.77.3+ds-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
[...]
| ^~~~~~~
In function ‘int snprintf(char*, size_t, const char*, ...)’,
inlined from ‘std::string TAux(long double)’ at /build/reproducible-path/faust-2.77.3+ds/compiler/generator/Text.cpp:300:21:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:35: note: ‘__builtin___snprintf_chk’ output between 2 and 4935 bytes into a destination of size 512
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In file included from /build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp:35:
/build/reproducible-path/faust-2.77.3+ds/compiler/DirectedGraph/Schedule.hh: In function ‘schedule<N, Comparator> bfschedule(const digraph<N, Comparator>&)’:
/build/reproducible-path/faust-2.77.3+ds/compiler/DirectedGraph/Schedule.hh:142:10: error: ‘uint64_t’ was not declared in this scope [-Wtemplate-body]
142 | for (uint64_t i = 0; i < P.size(); i++) {
| ^~~~~~~~
/build/reproducible-path/faust-2.77.3+ds/compiler/DirectedGraph/Schedule.hh:25:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
24 | #include "DirectedGraphAlgorythm.hh"
+++ |+#include <cstdint>
25 |
/build/reproducible-path/faust-2.77.3+ds/compiler/DirectedGraph/Schedule.hh:142:26: error: ‘i’ was not declared in this scope [-Wtemplate-body]
142 | for (uint64_t i = 0; i < P.size(); i++) {
| ^
[ 30%] Building CXX object CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_sched.cpp.o
/usr/bin/g++ -DCMAJOR_BUILD -DCODEBOX_BUILD -DCPP_BUILD -DCSHARP_BUILD -DC_BUILD -DDLANG_BUILD -DFIR_BUILD -DINTERP_BUILD -DJAVA_BUILD -DJAX_BUILD -DJSFX_BUILD -DJULIA_BUILD -DLIBDIR=\"lib\" -DLLVM_190 -DLLVM_BUILD -DLLVM_BUILD_UNIVERSAL -DLLVM_VERSION=\"19.1.7\" -DOCPP_BUILD -DRUST_BUILD -DSDF3_BUILD -DVHDL_BUILD -DWASM_BUILD -I/build/reproducible-path/faust-2.77.3+ds/compiler -I/build/reproducible-path/faust-2.77.3+ds/compiler/boxes -I/build/reproducible-path/faust-2.77.3+ds/compiler/documentator -I/build/reproducible-path/faust-2.77.3+ds/compiler/draw -I/build/reproducible-path/faust-2.77.3+ds/compiler/errors -I/build/reproducible-path/faust-2.77.3+ds/compiler/evaluate -I/build/reproducible-path/faust-2.77.3+ds/compiler/extended -I/build/reproducible-path/faust-2.77.3+ds/compiler/FaustAlgebra -I/build/reproducible-path/faust-2.77.3+ds/compiler/DirectedGraph -I/build/reproducible-path/faust-2.77.3+ds/compiler/interval -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator -I
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/c -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/cpp -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/dlang -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/csharp -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/fir -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/julia -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/interpreter -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/rust -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/cmajor -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/vhdl -I/build/reproducible-path/faust-2.77.3+ds/compiler/normalize -I/build/reproducible-path/faust-2.77.3+ds/compiler/parallelize -I/build/reproducible-path/faust-2.77.3+ds/compiler/parser -I/build/reproducible-path/faust-2.77.3+ds/compiler/patternmatcher -I/build/reproducible-path/faust-2.77.3+ds/compiler/propagate -I/buil
d/reproducible-path/faust-2.77.3+ds/compiler/signals -I/build/reproducible-path/faust-2.77.3+ds/compiler/tlib -I/build/reproducible-path/faust-2.77.3+ds/compiler/transform -I/build/reproducible-path/faust-2.77.3+ds/compiler/utils -I/build/reproducible-path/faust-2.77.3+ds/compiler/draw/device -I/build/reproducible-path/faust-2.77.3+ds/compiler/draw/schema -I/build/reproducible-path/faust-2.77.3+ds/compiler/../architecture -I/usr/lib/llvm-19/include -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/codebox -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/java -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/jax -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/jsfx -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/llvm -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/sdf3 -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/wasm -g -O2 -ffile-prefix-map=/build/reproducible-path/faust-2.77.3+ds=. -fsta
ck-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-overloaded-virtual -std=gnu++17 -fPIC -DFAUST_LIB -MD -MT CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_sched.cpp.o -MF CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_sched.cpp.o.d -o CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_sched.cpp.o -c /build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_sched.cpp
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp: In member function ‘virtual void ScalarCompiler::compileMultiSignal(Tree)’:
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp:482:18: warning: unused variable ‘pnum’ [-Wunused-variable]
482 | int pnum;
| ^~~~
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp:483:18: warning: unused variable ‘rg’ [-Wunused-variable]
483 | Tree rg;
| ^~
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp:514:13: warning: unused variable ‘lSTEP’ [-Wunused-variable]
514 | int lSTEP = gGlobal->gSTEP; // conveninient for debug
| ^~~~~
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp: In member function ‘virtual void ScalarCompiler::compileSingleSignal(Tree)’:
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp:575:13: warning: unused variable ‘lSTEP’ [-Wunused-variable]
575 | int lSTEP = gGlobal->gSTEP; // convenient for debug
| ^~~~~
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp: In member function ‘std::string ScalarCompiler::generateRDTbl(Tree, Tree, Tree)’:
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp:1291:18: warning: unused variable ‘o’ [-Wunused-variable]
1291 | Occurrences* o = fOccMarkup->retrieve(sig);
| ^
[ 30%] Building CXX object CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_vect.cpp.o
/usr/bin/g++ -DCMAJOR_BUILD -DCODEBOX_BUILD -DCPP_BUILD -DCSHARP_BUILD -DC_BUILD -DDLANG_BUILD -DFIR_BUILD -DINTERP_BUILD -DJAVA_BUILD -DJAX_BUILD -DJSFX_BUILD -DJULIA_BUILD -DLIBDIR=\"lib\" -DLLVM_190 -DLLVM_BUILD -DLLVM_BUILD_UNIVERSAL -DLLVM_VERSION=\"19.1.7\" -DOCPP_BUILD -DRUST_BUILD -DSDF3_BUILD -DVHDL_BUILD -DWASM_BUILD -I/build/reproducible-path/faust-2.77.3+ds/compiler -I/build/reproducible-path/faust-2.77.3+ds/compiler/boxes -I/build/reproducible-path/faust-2.77.3+ds/compiler/documentator -I/build/reproducible-path/faust-2.77.3+ds/compiler/draw -I/build/reproducible-path/faust-2.77.3+ds/compiler/errors -I/build/reproducible-path/faust-2.77.3+ds/compiler/evaluate -I/build/reproducible-path/faust-2.77.3+ds/compiler/extended -I/build/reproducible-path/faust-2.77.3+ds/compiler/FaustAlgebra -I/build/reproducible-path/faust-2.77.3+ds/compiler/DirectedGraph -I/build/reproducible-path/faust-2.77.3+ds/compiler/interval -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator -I
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/c -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/cpp -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/dlang -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/csharp -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/fir -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/julia -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/interpreter -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/rust -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/cmajor -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/vhdl -I/build/reproducible-path/faust-2.77.3+ds/compiler/normalize -I/build/reproducible-path/faust-2.77.3+ds/compiler/parallelize -I/build/reproducible-path/faust-2.77.3+ds/compiler/parser -I/build/reproducible-path/faust-2.77.3+ds/compiler/patternmatcher -I/build/reproducible-path/faust-2.77.3+ds/compiler/propagate -I/buil
d/reproducible-path/faust-2.77.3+ds/compiler/signals -I/build/reproducible-path/faust-2.77.3+ds/compiler/tlib -I/build/reproducible-path/faust-2.77.3+ds/compiler/transform -I/build/reproducible-path/faust-2.77.3+ds/compiler/utils -I/build/reproducible-path/faust-2.77.3+ds/compiler/draw/device -I/build/reproducible-path/faust-2.77.3+ds/compiler/draw/schema -I/build/reproducible-path/faust-2.77.3+ds/compiler/../architecture -I/usr/lib/llvm-19/include -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/codebox -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/java -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/jax -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/jsfx -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/llvm -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/sdf3 -I/build/reproducible-path/faust-2.77.3+ds/compiler/generator/wasm -g -O2 -ffile-prefix-map=/build/reproducible-path/faust-2.77.3+ds=. -fsta
ck-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-overloaded-virtual -std=gnu++17 -fPIC -DFAUST_LIB -MD -MT CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_vect.cpp.o -MF CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_vect.cpp.o.d -o CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_vect.cpp.o -c /build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_vect.cpp
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp: In member function ‘virtual std::string ScalarCompiler::generateDelayLine(DelayType, const std::string&, const std::string&, int, int, bool, const std::string&, const std::string&)’:
/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp:1894:1: warning: control reaches end of non-void function [-Wreturn-type]
1894 | }
| ^
gmake[6]: *** [CMakeFiles/staticlib.dir/build.make:667: CMakeFiles/staticlib.dir/build/reproducible-path/faust-2.77.3+ds/compiler/generator/compile_scal.cpp.o] Error 1
gmake[6]: *** Waiting for unfinished jobs....
gmake[6]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds/build/faustdir'
gmake[5]: *** [CMakeFiles/Makefile2:280: CMakeFiles/dynamiclib.dir/all] Error 2
gmake[5]: *** Waiting for unfinished jobs....
gmake[6]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds/build/faustdir'
gmake[5]: *** [CMakeFiles/Makefile2:216: CMakeFiles/faust.dir/all] Error 2
gmake[6]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds/build/faustdir'
gmake[5]: *** [CMakeFiles/Makefile2:248: CMakeFiles/staticlib.dir/all] Error 2
gmake[5]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds/build/faustdir'
gmake[4]: *** [Makefile:156: all] Error 2
gmake[4]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds/build/faustdir'
make[3]: *** [Makefile:106: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds/build'
make[2]: *** [Makefile:41: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" world PREFIX=/usr returned exit code 2
make[1]: *** [debian/rules:43: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/faust-2.77.3+ds'
make: *** [debian/rules:37: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: