Source: leveldb
Version: 1.23-5
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, leveldb failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
                 from /build/reproducible-path/leveldb-1.23/db/log_test.cc:5:
/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>()))>
      |                                                        ^
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 /build/reproducible-path/leveldb-1.23/util/env_test.cc:9:
/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-message.h:57,
                 from /usr/include/gtest/gtest-assertion-result.h:46,
                 from /usr/include/gtest/gtest.h:63,
                 from 
/build/reproducible-path/leveldb-1.23/db/autocompact_test.cc:5:
/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.
      |  ^~~~~
make[4]: *** [CMakeFiles/issue200_test.dir/build.make:96: 
CMakeFiles/issue200_test.dir/issues/issue200_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:381: CMakeFiles/issue200_test.dir/all] Error 
2
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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[4]: *** [CMakeFiles/filename_test.dir/build.make:96: 
CMakeFiles/filename_test.dir/db/filename_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:669: CMakeFiles/filename_test.dir/all] Error 
2
make[4]: *** [CMakeFiles/log_test.dir/build.make:96: 
CMakeFiles/log_test.dir/db/log_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:701: CMakeFiles/log_test.dir/all] Error 2
make[4]: *** [CMakeFiles/env_test.dir/build.make:96: 
CMakeFiles/env_test.dir/util/env_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:445: CMakeFiles/env_test.dir/all] Error 2
make[4]: *** [CMakeFiles/fault_injection_test.dir/build.make:96: 
CMakeFiles/fault_injection_test.dir/db/fault_injection_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:317: 
CMakeFiles/fault_injection_test.dir/all] Error 2
make[4]: *** [CMakeFiles/autocompact_test.dir/build.make:96: 
CMakeFiles/autocompact_test.dir/db/autocompact_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:541: CMakeFiles/autocompact_test.dir/all] 
Error 2
make[4]: *** [CMakeFiles/recovery_test.dir/build.make:96: 
CMakeFiles/recovery_test.dir/db/recovery_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:733: CMakeFiles/recovery_test.dir/all] Error 
2
make[4]: *** [CMakeFiles/corruption_test.dir/build.make:96: 
CMakeFiles/corruption_test.dir/db/corruption_test.cc.o] Error 1
make[4]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[3]: *** [CMakeFiles/Makefile2:573: CMakeFiles/corruption_test.dir/all] 
Error 2
make[3]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
make[2]: *** [Makefile:149: all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/leveldb-1.23/obj-aarch64-linux-gnu/out-static'
dh_auto_build: error: cd obj-aarch64-linux-gnu/out-static && make -j16 
"INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:36: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/leveldb-1.23'
make: *** [debian/rules:29: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T03:14:19Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2398953/

The most likely cause of build failures is the removed backwards compatibility 
for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/153665/

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,
Timo

Reply via email to