Package: src:faust Version: 2.30.5~ds0-2 Severity: normal Tags: sid bookworm User: [email protected] Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye 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-11/g++-11, but succeeds to build with gcc-10/g++-10. The severity of this report will be raised before the bookworm release, so nothing has to be done for the bullseye release. The full build log can be found at: http://people.debian.org/~doko/logs/20210228/filtered/gcc11/faust_2.30.5~ds0-2_unstable_gcc11.log The last lines of the build log are at the end of this report. To build with GCC 11, either set CC=gcc-11 CXX=g++-11 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-11/porting_to.html GCC 11 defaults to the GNU++17 standard. If your package installs header files in /usr/include, please don't work around C++17 issues by choosing a lower C++ standard for the package build, but fix these issues to build with the C++17 standard. [...] /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:176:69: error: ‘::max_digits10’ has not been declared 176 | fUI << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:177:49: error: ‘numeric_limits’ is not a member of ‘std’ 177 | fMeta << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:177:68: error: expected primary-expression before ‘>’ token 177 | fMeta << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:177:71: error: ‘::max_digits10’ has not been declared 177 | fMeta << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h: In member function ‘std::string JSONUIReal<REAL>::JSON(bool)’: /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:394:48: error: ‘numeric_limits’ is not a member of ‘std’ 394 | JSON << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:394:67: error: expected primary-expression before ‘>’ token 394 | JSON << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:394:70: error: ‘::max_digits10’ has not been declared 394 | JSON << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~ In file included from /<<PKGBUILDDIR>>/compiler/generator/compile.hh:35, from /<<PKGBUILDDIR>>/compiler/generator/compile.cpp:38: /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h: In member function ‘void JSONUIReal<REAL>::init(const string&, const string&, int, int, int, const string&, const string&, const string&, const string&, const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&, int, const std::map<std::__cxx11::basic_string<char>, int>&, bool)’: /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:176:47: error: ‘numeric_limits’ is not a member of ‘std’ 176 | fUI << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:176:66: error: expected primary-expression before ‘>’ token 176 | fUI << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:176:69: error: ‘::max_digits10’ has not been declared 176 | fUI << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:177:49: error: ‘numeric_limits’ is not a member of ‘std’ 177 | fMeta << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:177:68: error: expected primary-expression before ‘>’ token 177 | fMeta << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:177:71: error: ‘::max_digits10’ has not been declared 177 | fMeta << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h: In member function ‘std::string JSONUIReal<REAL>::JSON(bool)’: /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:394:48: error: ‘numeric_limits’ is not a member of ‘std’ 394 | JSON << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:394:67: error: expected primary-expression before ‘>’ token 394 | JSON << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^ /<<PKGBUILDDIR>>/compiler/../architecture/faust/gui/JSONUI.h:394:70: error: ‘::max_digits10’ has not been declared 394 | JSON << std::setprecision(std::numeric_limits<REAL>::max_digits10); | ^~~~~~~~~~~~ gmake[6]: *** [CMakeFiles/dynamiclib.dir/build.make:589: CMakeFiles/dynamiclib.dir/<<PKGBUILDDIR>>/compiler/generator/code_container.cpp.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... gmake[6]: *** [CMakeFiles/dynamiclib.dir/build.make:602: CMakeFiles/dynamiclib.dir/<<PKGBUILDDIR>>/compiler/generator/compile.cpp.o] Error 1 gmake[6]: Leaving directory '/<<PKGBUILDDIR>>/build/faustdir' gmake[5]: *** [CMakeFiles/Makefile2:209: CMakeFiles/dynamiclib.dir/all] Error 2 gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/build/faustdir' gmake[4]: *** [Makefile:171: all] Error 2 gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/build/faustdir' make[3]: *** [Makefile:80: all] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/build' make[2]: *** [Makefile:41: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" world PREFIX=/usr returned exit code 2 make[1]: *** [debian/rules:37: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:34: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

