Package: src:range-v3 Version: 0.4.0-1 Severity: serious Tags: ftbfs Dear maintainer:
I tried to build this package in buster but it failed: -------------------------------------------------------------------------------- [...] debian/rules binary-indep dh binary-indep dh_update_autotools_config -i dh_autoreconf -i debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_configure -- -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -DRANGES_NATIVE=OFF -DRANGES_VERBOSE_BUILD=ON cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -DRANGES_NATIVE=OFF -DRANGES_VERBOSE_BUILD=ON .. -- The CXX compiler identification is GNU 8.3.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features [... snipped ...] cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/test /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/CMakeFiles/constexpr_core.dir/DependInfo.cmake --color= Scanning dependencies of target constexpr_core make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f test/CMakeFiles/constexpr_core.dir/build.make test/CMakeFiles/constexpr_core.dir/build make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 53%] Building CXX object test/CMakeFiles/constexpr_core.dir/constexpr_core.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++11 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -pedantic -pedantic-errors -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-weak-vtables -Wno-padded -Wno-missing-variable-declarations -Wno-documentation -Wno-documentation-unknown-command -Wno-old-style-cast -Wno-shadow -Wno-noexcept-type -o CMakeFiles/constexpr_core.dir/constexpr_core.cpp.o -c /<<PKGBUILDDIR>>/test/constexpr_core.cpp [ 54%] Linking CXX executable constexpr_core cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/constexpr_core.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro CMakeFiles/constexpr_core.dir/constexpr_core.cpp.o -o constexpr_core make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 54%] Built target constexpr_core make -f test/CMakeFiles/container_conversion.dir/build.make test/CMakeFiles/container_conversion.dir/depend make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/test /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/CMakeFiles/container_conversion.dir/DependInfo.cmake --color= Scanning dependencies of target container_conversion make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make -f test/CMakeFiles/container_conversion.dir/build.make test/CMakeFiles/container_conversion.dir/build make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' [ 54%] Building CXX object test/CMakeFiles/container_conversion.dir/container_conversion.cpp.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=c++11 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -pedantic -pedantic-errors -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-weak-vtables -Wno-padded -Wno-missing-variable-declarations -Wno-documentation -Wno-documentation-unknown-command -Wno-old-style-cast -Wno-shadow -Wno-noexcept-type -o CMakeFiles/container_conversion.dir/container_conversion.cpp.o -c /<<PKGBUILDDIR>>/test/container_conversion.cpp In file included from /<<PKGBUILDDIR>>/include/range/v3/view/take.hpp:24, from /<<PKGBUILDDIR>>/test/container_conversion.cpp:23: /<<PKGBUILDDIR>>/include/range/v3/utility/counted_iterator.hpp: In member function 'void std::vector<_Tp, _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator = ranges::v3::common_iterator<ranges::v3::counted_iterator<ranges::v3::basic_iterator<ranges::v3::iota_view<int> >, void>, ranges::v3::default_sentinel>; <template-parameter-2-2> = void; _Tp = int; _Alloc = std::allocator<int>]': /<<PKGBUILDDIR>>/include/range/v3/utility/counted_iterator.hpp:284:30: error: '*((void*)<anonymous>+8)' may be used uninitialized in this function [-Werror=maybe-uninitialized] return x.count() == y.count(); At global scope: cc1plus: error: unrecognized command line option '-Wno-documentation-unknown-command' [-Werror] cc1plus: error: unrecognized command line option '-Wno-documentation' [-Werror] cc1plus: error: unrecognized command line option '-Wno-missing-variable-declarations' [-Werror] cc1plus: error: unrecognized command line option '-Wno-weak-vtables' [-Werror] cc1plus: error: unrecognized command line option '-Wno-c++98-compat-pedantic' [-Werror] cc1plus: error: unrecognized command line option '-Wno-c++98-compat' [-Werror] cc1plus: all warnings being treated as errors make[4]: *** [test/CMakeFiles/container_conversion.dir/build.make:66: test/CMakeFiles/container_conversion.dir/container_conversion.cpp.o] Error 1 make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[3]: *** [CMakeFiles/Makefile2:9061: test/CMakeFiles/container_conversion.dir/all] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' make[2]: *** [Makefile:144: all] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu' dh_auto_build: cd obj-x86_64-linux-gnu && make -j1 "INSTALL=install --strip-program=true" returned exit code 2 make[1]: *** [debian/rules:25: override_dh_auto_test] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:9: binary-indep] Error 2 dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends but hopefully also the relevant part. I would first try here to remove the -W options which seems no longer to exist, then remove -Werror altogether if that's not enough. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.