Package: src:irony-mode Version: 1.4.0+7.g76fd37f-1 Severity: normal Tags: sid bookworm User: debian-...@lists.debian.org 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/irony-mode_1.4.0+7.g76fd37f-1_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. [...] -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Irony package version is '1.4.0' -- Found emacs: /usr/bin/emacs -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu dh_auto_build -O-Dserver cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' /usr/bin/cmake -S/<<PKGBUILDDIR>>/server -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f src/CMakeFiles/irony-server.dir/build.make src/CMakeFiles/irony-server.dir/depend make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>>/server /<<PKGBUILDDIR>>/server/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/irony-server.dir/DependInfo.cmake --color= Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/irony-server.dir/DependInfo.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/irony-server.dir/depend.internal". Dependee "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/irony-server.dir/depend.internal". Scanning dependencies of target irony-server make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f src/CMakeFiles/irony-server.dir/build.make src/CMakeFiles/irony-server.dir/build make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 12%] Building CXX object src/CMakeFiles/irony-server.dir/support/CommandLineParser.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/server/src -I/usr/lib/llvm-11/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/irony-server.dir/support/CommandLineParser.cpp.o -c /<<PKGBUILDDIR>>/server/src/support/CommandLineParser.cpp [ 37%] Building CXX object src/CMakeFiles/irony-server.dir/support/TemporaryFile.cpp.o [ 37%] Building CXX object src/CMakeFiles/irony-server.dir/Command.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/server/src -I/usr/lib/llvm-11/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/irony-server.dir/Command.cpp.o -c /<<PKGBUILDDIR>>/server/src/Command.cpp cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/server/src -I/usr/lib/llvm-11/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/irony-server.dir/support/TemporaryFile.cpp.o -c /<<PKGBUILDDIR>>/server/src/support/TemporaryFile.cpp [ 50%] Building CXX object src/CMakeFiles/irony-server.dir/CompDBCache.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/server/src -I/usr/lib/llvm-11/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/irony-server.dir/CompDBCache.cpp.o -c /<<PKGBUILDDIR>>/server/src/CompDBCache.cpp [ 62%] Building CXX object src/CMakeFiles/irony-server.dir/Irony.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/server/src -I/usr/lib/llvm-11/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/irony-server.dir/Irony.cpp.o -c /<<PKGBUILDDIR>>/server/src/Irony.cpp [ 75%] Building CXX object src/CMakeFiles/irony-server.dir/TUManager.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DCLANG_RESOURCE_DIR=\"/usr/lib/llvm-11/lib/clang/11.0.1\" -I/<<PKGBUILDDIR>>/server/src -I/usr/lib/llvm-11/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o CMakeFiles/irony-server.dir/TUManager.cpp.o -c /<<PKGBUILDDIR>>/server/src/TUManager.cpp /<<PKGBUILDDIR>>/server/src/Command.cpp: In member function ‘bool {anonymous}::UnsignedIntConverter::operator()(const string&)’: /<<PKGBUILDDIR>>/server/src/Command.cpp:55:21: error: ‘numeric_limits’ is not a member of ‘std’ 55 | if (unum > std::numeric_limits<unsigned>::max()) | ^~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/server/src/Command.cpp:55:36: error: expected primary-expression before ‘unsigned’ 55 | if (unum > std::numeric_limits<unsigned>::max()) | ^~~~~~~~ /<<PKGBUILDDIR>>/server/src/Command.cpp:55:36: error: expected ‘)’ before ‘unsigned’ /<<PKGBUILDDIR>>/server/src/Command.cpp:55:8: note: to match this ‘(’ 55 | if (unum > std::numeric_limits<unsigned>::max()) | ^ make[3]: *** [src/CMakeFiles/irony-server.dir/build.make:111: src/CMakeFiles/irony-server.dir/Command.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:944: src/CMakeFiles/irony-server.dir/all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[1]: *** [Makefile:163: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2