[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1114362: marked as done (ruy: FTBFS: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported.)



Your message dated Mon, 15 Sep 2025 10:35:32 +0000
with message-id <E1uy6YW-00BF0a-1j@fasolo.debian.org>
and subject line Bug#1114362: fixed in ruy 0.0.0~git20230215.21a85fe-3
has caused the Debian Bug report #1114362,
regarding ruy: FTBFS: /usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less than C++17 are not supported.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1114362: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114362
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: ruy
Source-Version: 0.0.0~git20230215.21a85fe-3
Done: Dylan Aïssi <daissi@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1114362@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dylan Aïssi <daissi@debian.org> (supplier of updated ruy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 15 Sep 2025 12:02:18 +0200
Source: ruy
Architecture: source
Version: 0.0.0~git20230215.21a85fe-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Dylan Aïssi <daissi@debian.org>
Closes: 1114362
Changes:
 ruy (0.0.0~git20230215.21a85fe-3) unstable; urgency=medium
 .
   * Cherry-pick upstream patch removing -Wc++14-compat (Closes: #1114362)
   * Update debian/copyright
Checksums-Sha1:
 460e4abb3b488cf4233232831d4e5bb32ad853b6 2074 ruy_0.0.0~git20230215.21a85fe-3.dsc
 2f519cfc1e6527e9c3459d9b77aba00ff5d89740 3408 ruy_0.0.0~git20230215.21a85fe-3.debian.tar.xz
 970b080b2ab6ea49d789bda831a29033bbc55704 7026 ruy_0.0.0~git20230215.21a85fe-3_amd64.buildinfo
Checksums-Sha256:
 17c9a1783c90092609a24eee09b122ef7c7647444b185fc4f8367122b1ff54a2 2074 ruy_0.0.0~git20230215.21a85fe-3.dsc
 25b8df281dc038dfd6378fe795f5b0f935622e5d1fa65f5ecfac9d5d829aab74 3408 ruy_0.0.0~git20230215.21a85fe-3.debian.tar.xz
 e15cba00ae95e6475bad88f624ce4fc3b0fc2d06a58fe671d9ba237ae0149a55 7026 ruy_0.0.0~git20230215.21a85fe-3_amd64.buildinfo
Files:
 a9d44132544c1902c10aaaa48adfea39 2074 science optional ruy_0.0.0~git20230215.21a85fe-3.dsc
 5717185b9e552c154ae61ca93fbf79c7 3408 science optional ruy_0.0.0~git20230215.21a85fe-3.debian.tar.xz
 efe6ce0cc7674205c22e0e586bc4cddf 7026 science optional ruy_0.0.0~git20230215.21a85fe-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEmjwHvQbeL0FugTpdYS7xYT4FD1QFAmjH5rEACgkQYS7xYT4F
D1SZBhAAldy+ml7UzCm+jgD4u2qa//6ZjVNGIMY19tGxHKKO/FQJANXtinLQ2Edc
FkzB631K4Mnm9oc3hIWnGbyF91umMOPH1zn3diBtHL/+Pl7STFLVMGHmM01zaJvd
roMLEaOeNDycxhx0wYRb3lC8ONMtVJ8y4OE42sOCVSny/i4b+DjZTfkY9glYwK4c
F7nprgTvQs2RewFgVK55Afs/gyyX6ghQaNsYyGqpAmINtC1t/dPgGg8ESEg4gJ2D
Mq6BLqKkFhsPXNUPT/kA2BkilHeYip/3T8oDfbOemKFm8/LrpWRDjVzFRB4u6cCv
aEobNKLq37MlmS03JAWtiz084cJA5NoVm5SJcT1DR/1m51xD7lwxLXGbq+8JpFC5
HNbnl7BUd63e5vm1yL1F6yIUze9rfmgghG+ZIRyjHGYU4QSJseD4vIoiguTdwAFc
EjMDNAqRbG7WIe9Ev/aYe7T1Wa0FqIXLZrh2oucJ59TWfuUHFz2+lu1TEgU6nZzI
21mrfTfT6lNltfRaVRk1YwGVUewobFMrHFMOEZ6vwQ2TrUPHVYjTQ/FFiV/SvdY5
u79vakvQVUICLlIQKsyiv6sAzOv42j65sJJXvsDe6BB+7h1Lq5HZOTBjtCcfnQqd
UkdMpXLuqvTi16Lu5pnn8Li0IArWYFSPaiNm8wpzE74t8Pob0B4=
=czJY
-----END PGP SIGNATURE-----

Attachment: pgp8xJHzxoEwR.pgp
Description: PGP signature


--- End Message ---

Reply to: