Package: src:soundtouch Version: 2.4.0+ds-1 Severity: important Tags: sid forky ftbfs User: [email protected] Usertags: ftbfs-gcc-16
Hi, soundtouch fails to build in a test rebuild on at least amd64 and arm64 with gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this report will be raised before the forky release. The full build log can be found at: https://people.debian.org/~ema/gcc-16-rebuilds/output-1/soundtouch_arm64.build.xz The last lines of the build log are at the end of this report. To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures include unused (but set) variables, array subscripts partly outside array bounds, and new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-16/porting_to.html Please only close this issue after double-checking that the package can be built correctly with GCC 16. Please do not reassign this bug to another package. If a fix in another package is required, then file a bug for the other package (or clone), and mark this bug as blocked by the bug in the other package. [...] make[4]: Entering directory '/build/reproducible-path/soundtouch-2.4.0+ds/source/SoundStretch' g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/soundtouch-2.4.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -ffast-math -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas -c -o soundstretch-main.o `test -f 'main.cpp' || echo './'`main.cpp g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/soundtouch-2.4.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -ffast-math -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas -c -o soundstretch-RunParameters.o `test -f 'RunParameters.cpp' || echo './'`RunParameters.cpp g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/soundtouch-2.4.0+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -ffast-math -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas -c -o soundstretch-WavFile.o `test -f 'WavFile.cpp' || echo './'`WavFile.cpp main.cpp: In function ‘void soundstretch::openFiles(std::unique_ptr<WavInFile>&, std::unique_ptr<WavOutFile>&, const RunParameters&)’: main.cpp:82:18: error: ‘make_unique’ was not declared in this scope 82 | inFile = make_unique<WavInFile>(stdin); | ^~~~~~~~~~~ main.cpp:82:18: note: ‘std::make_unique’ is only available from C++14 onwards main.cpp:82:39: error: expected primary-expression before ‘>’ token 82 | inFile = make_unique<WavInFile>(stdin); | ^ main.cpp:87:18: error: ‘make_unique’ was not declared in this scope 87 | inFile = make_unique<WavInFile>(params.inFileName.c_str()); | ^~~~~~~~~~~ main.cpp:87:18: note: ‘std::make_unique’ is only available from C++14 onwards main.cpp:87:39: error: expected primary-expression before ‘>’ token 87 | inFile = make_unique<WavInFile>(params.inFileName.c_str()); | ^ main.cpp:100:23: error: ‘make_unique’ was not declared in this scope 100 | outFile = make_unique<WavOutFile>(stdout, samplerate, bits, channels); | ^~~~~~~~~~~ main.cpp:100:23: note: ‘std::make_unique’ is only available from C++14 onwards main.cpp:100:45: error: expected primary-expression before ‘>’ token 100 | outFile = make_unique<WavOutFile>(stdout, samplerate, bits, channels); | ^ main.cpp:100:67: warning: right operand of comma operator has no effect [-Wunused-value] 100 | outFile = make_unique<WavOutFile>(stdout, samplerate, bits, channels); | ^~~~ main.cpp:100:73: warning: right operand of comma operator has no effect [-Wunused-value] 100 | outFile = make_unique<WavOutFile>(stdout, samplerate, bits, channels); | ^~~~~~~~ main.cpp:104:23: error: ‘make_unique’ was not declared in this scope 104 | outFile = make_unique<WavOutFile>(params.outFileName.c_str(), samplerate, bits, channels); | ^~~~~~~~~~~ main.cpp:104:23: note: ‘std::make_unique’ is only available from C++14 onwards main.cpp:104:45: error: expected primary-expression before ‘>’ token 104 | outFile = make_unique<WavOutFile>(params.outFileName.c_str(), samplerate, bits, channels); | ^ main.cpp:104:71: warning: ignoring return value of ‘const _CharT* std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::c_str() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result] 104 | outFile = make_unique<WavOutFile>(params.outFileName.c_str(), samplerate, bits, channels); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/c++/16/string:58, from /usr/include/c++/16/bits/locale_classes.h:43, from /usr/include/c++/16/bits/ios_base.h:43, from /usr/include/c++/16/ios:46, from /usr/include/c++/16/bits/ostream.h:43, from /usr/include/c++/16/ostream:42, from /usr/include/c++/16/iostream:43, from main.cpp:32: /usr/include/c++/16/bits/basic_string.h:2897:7: note: declared here 2897 | c_str() const _GLIBCXX_NOEXCEPT | ^~~~~ main.cpp:104:87: warning: right operand of comma operator has no effect [-Wunused-value] 104 | outFile = make_unique<WavOutFile>(params.outFileName.c_str(), samplerate, bits, channels); | ^~~~ main.cpp:104:93: warning: right operand of comma operator has no effect [-Wunused-value] 104 | outFile = make_unique<WavOutFile>(params.outFileName.c_str(), samplerate, bits, channels); | ^~~~~~~~ make[4]: *** [Makefile:461: soundstretch-main.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/build/reproducible-path/soundtouch-2.4.0+ds/source/SoundStretch' make[3]: *** [Makefile:372: all-recursive] Error 1 make[3]: Leaving directory '/build/reproducible-path/soundtouch-2.4.0+ds/source' make[2]: *** [Makefile:547: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/soundtouch-2.4.0+ds' make[1]: *** [Makefile:413: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/soundtouch-2.4.0+ds' dh_auto_build: error: make -j128 returned exit code 2 make: *** [debian/rules:13: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

