Package: src:liborcus Version: 0.16.1-3 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/liborcus_0.16.1-3_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. [...] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c orcus_import_xlsx.cpp -fPIC -DPIC -o .libs/liborcus_0.16_la-orcus_import_xlsx.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c opc_context.cpp -o liborcus_0.16_la-opc_context.o >/dev/null 2>&1 orcus_xlsx.cpp: In function ‘size_t orcus::{anonymous}::get_schema_rank(orcus::schema_t)’: orcus_xlsx.cpp:313:35: error: ‘numeric_limits’ was not declared in this scope 313 | return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second; | ^~~~~~~~~~~~~~ orcus_xlsx.cpp:313:56: error: expected primary-expression before ‘>’ token 313 | return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second; | ^ orcus_xlsx.cpp:313:63: error: no matching function for call to ‘max()’ 313 | return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second; | ^ In file included from /usr/include/c++/11/vector:60, from ../../include/orcus/types.hpp:12, from ../../include/orcus/interface.hpp:12, from ../../include/orcus/orcus_xlsx.hpp:11, from orcus_xlsx.cpp:8: /usr/include/c++/11/bits/stl_algobase.h:254:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’ 254 | max(const _Tp& __a, const _Tp& __b) | ^~~ /usr/include/c++/11/bits/stl_algobase.h:254:5: note: template argument deduction/substitution failed: orcus_xlsx.cpp:313:63: note: candidate expects 2 arguments, 0 provided 313 | return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second; | ^ In file included from /usr/include/c++/11/vector:60, from ../../include/orcus/types.hpp:12, from ../../include/orcus/interface.hpp:12, from ../../include/orcus/orcus_xlsx.hpp:11, from orcus_xlsx.cpp:8: /usr/include/c++/11/bits/stl_algobase.h:300:5: note: candidate: ‘template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)’ 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) | ^~~ /usr/include/c++/11/bits/stl_algobase.h:300:5: note: template argument deduction/substitution failed: orcus_xlsx.cpp:313:63: note: candidate expects 3 arguments, 0 provided 313 | return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second; | ^ In file included from /usr/include/c++/11/functional:65, from ../../include/orcus/global.hpp:15, from orcus_xlsx.cpp:11: /usr/include/c++/11/bits/stl_algo.h:3461:5: note: candidate: ‘template<class _Tp> constexpr _Tp std::max(std::initializer_list<_Tp>)’ 3461 | max(initializer_list<_Tp> __l) | ^~~ /usr/include/c++/11/bits/stl_algo.h:3461:5: note: template argument deduction/substitution failed: orcus_xlsx.cpp:313:63: note: candidate expects 1 argument, 0 provided 313 | return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second; | ^ In file included from /usr/include/c++/11/functional:65, from ../../include/orcus/global.hpp:15, from orcus_xlsx.cpp:11: /usr/include/c++/11/bits/stl_algo.h:3467:5: note: candidate: ‘template<class _Tp, class _Compare> constexpr _Tp std::max(std::initializer_list<_Tp>, _Compare)’ 3467 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ /usr/include/c++/11/bits/stl_algo.h:3467:5: note: template argument deduction/substitution failed: orcus_xlsx.cpp:313:63: note: candidate expects 2 arguments, 0 provided 313 | return it == rank_map.end() ? numeric_limits<size_t>::max() : it->second; | ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c orcus_import_xlsx.cpp -o liborcus_0.16_la-orcus_import_xlsx.o >/dev/null 2>&1 make[4]: *** [Makefile:2173: liborcus_0.16_la-orcus_xlsx.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I./include -D__ORCUS_BUILDING_DLL=1 -DSRCDIR=\"../..\" -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wshadow -DSIZEOF_VOID_P=8 -O2 -D__ORCUS_ODS -D__ORCUS_XLSX -D__ORCUS_XLS_XML -D__ORCUS_GNUMERIC -I/usr/include/mdds-1.5 -D__ORCUS_SPREADSHEET_MODEL -D__ORCUS_PYTHON_CSV -D__ORCUS_PYTHON_XLSX -D__ORCUS_PYTHON_ODS -D__ORCUS_PYTHON_XLS_XML -D__ORCUS_PYTHON_GNUMERIC -c opc_reader.cpp -o liborcus_0.16_la-opc_reader.o >/dev/null 2>&1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/liborcus' make[3]: *** [Makefile:2155: all-recursive] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:1263: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:1172: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j4 returned exit code 2 make: *** [debian/rules:9: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2