Bug#1114362: ruy: FTBFS: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported.
Package: src:ruy
Version: 0.0.0~git20230215.21a85fe-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruy, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \
-DRUY_FIND_CPUINFO=ON \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config 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_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=Release -DRUY_FIND_CPUINFO=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON ..
CMake Warning (dev) at CMakeLists.txt:17 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The CXX compiler identification is GNU 15.2.0
-- 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
-- Configuring done (0.2s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S"/<<PKGBUILDDIR>>" -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 ruy/CMakeFiles/ruy_check_macros_test.dir/build.make ruy/CMakeFiles/ruy_check_macros_test.dir/depend
make -f ruy/CMakeFiles/ruy_wait.dir/build.make ruy/CMakeFiles/ruy_wait.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>>" "/<<PKGBUILDDIR>>/ruy" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy/CMakeFiles/ruy_check_macros_test.dir/DependInfo.cmake" "--color="
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>>" "/<<PKGBUILDDIR>>/ruy" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy/CMakeFiles/ruy_wait.dir/DependInfo.cmake" "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f ruy/CMakeFiles/ruy_check_macros_test.dir/build.make ruy/CMakeFiles/ruy_check_macros_test.dir/build
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f ruy/CMakeFiles/ruy_wait.dir/build.make ruy/CMakeFiles/ruy_wait.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Building CXX object ruy/CMakeFiles/ruy_check_macros_test.dir/check_macros_test.cc.o
[ 2%] Building CXX object ruy/CMakeFiles/ruy_wait.dir/wait.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" && /usr/bin/c++ -I"/<<PKGBUILDDIR>>" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=gnu++14 -fPIE -Wall -Wextra -Wc++14-compat -Wundef -O3 -MD -MT ruy/CMakeFiles/ruy_check_macros_test.dir/check_macros_test.cc.o -MF CMakeFiles/ruy_check_macros_test.dir/check_macros_test.cc.o.d -o CMakeFiles/ruy_check_macros_test.dir/check_macros_test.cc.o -c "/<<PKGBUILDDIR>>/ruy/check_macros_test.cc"
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" && /usr/bin/c++ -I"/<<PKGBUILDDIR>>" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=gnu++14 -fPIC -Wall -Wextra -Wc++14-compat -Wundef -O3 -MD -MT ruy/CMakeFiles/ruy_wait.dir/wait.cc.o -MF CMakeFiles/ruy_wait.dir/wait.cc.o.d -o CMakeFiles/ruy_wait.dir/wait.cc.o -c "/<<PKGBUILDDIR>>/ruy/wait.cc"
In file included from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:63,
from /<<PKGBUILDDIR>>/ruy/gtest_wrapper.h:23,
from /<<PKGBUILDDIR>>/ruy/check_macros_test.cc:18:
/usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported.
273 | #error C++ versions less than C++17 are not supported.
| ^~~~~
[ 2%] Linking CXX static library libruy_wait.a
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" && /usr/bin/cmake -P CMakeFiles/ruy_wait.dir/cmake_clean_target.cmake
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" && /usr/bin/cmake -E cmake_link_script CMakeFiles/ruy_wait.dir/link.txt --verbose=1
/usr/bin/ar qc libruy_wait.a CMakeFiles/ruy_wait.dir/wait.cc.o
/usr/bin/ranlib libruy_wait.a
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Built target ruy_wait
make -f ruy/CMakeFiles/ruy_size_util_test.dir/build.make ruy/CMakeFiles/ruy_size_util_test.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>>" "/<<PKGBUILDDIR>>/ruy" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy/CMakeFiles/ruy_size_util_test.dir/DependInfo.cmake" "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f ruy/CMakeFiles/ruy_size_util_test.dir/build.make ruy/CMakeFiles/ruy_size_util_test.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 3%] Building CXX object ruy/CMakeFiles/ruy_size_util_test.dir/size_util_test.cc.o
cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/ruy" && /usr/bin/c++ -I"/<<PKGBUILDDIR>>" -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -std=gnu++14 -fPIE -Wall -Wextra -Wc++14-compat -Wundef -O3 -MD -MT ruy/CMakeFiles/ruy_size_util_test.dir/size_util_test.cc.o -MF CMakeFiles/ruy_size_util_test.dir/size_util_test.cc.o.d -o CMakeFiles/ruy_size_util_test.dir/size_util_test.cc.o -c "/<<PKGBUILDDIR>>/ruy/size_util_test.cc"
In file included from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:63,
from /<<PKGBUILDDIR>>/ruy/gtest_wrapper.h:23,
from /<<PKGBUILDDIR>>/ruy/size_util_test.cc:22:
/usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported.
273 | #error C++ versions less than C++17 are not supported.
| ^~~~~
In file included from /usr/include/gtest/gtest.h:67:
/usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before â??(â?? token
483 | typename StdFunction = decltype(std::function(std::declval<Func>()))>
| ^
/usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before â??(â?? token
493 | typename StdFunction = decltype(std::function(std::declval<Func>()))>
| ^
make[3]: *** [ruy/CMakeFiles/ruy_check_macros_test.dir/build.make:82: ruy/CMakeFiles/ruy_check_macros_test.dir/check_macros_test.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:370: ruy/CMakeFiles/ruy_check_macros_test.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/gtest/gtest.h:67:
/usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments before â??(â?? token
483 | typename StdFunction = decltype(std::function(std::declval<Func>()))>
| ^
/usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments before â??(â?? token
493 | typename StdFunction = decltype(std::function(std::declval<Func>()))>
| ^
make[3]: *** [ruy/CMakeFiles/ruy_size_util_test.dir/build.make:82: ruy/CMakeFiles/ruy_size_util_test.dir/size_util_test.cc.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:466: ruy/CMakeFiles/ruy_size_util_test.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: