Hi,
When building src:rubygems with cmake preinstalled,
test/rubygems/test_gem_ext_cmake_builder.rb fails with in `test_self_build`.
===============================================================================
Failure: test_self_build(TestGemExtCmakeBuilder):
Expected output containing make command "make V=1 CC='gcc -fdebug-prefix-map=/usr/src/packages/BUILD/bundler=.' CXX='g++ -fdebug-prefix-map=/usr/src/packages/BUILD/bundler=.'", but was
BEGIN_OF_OUTPUT
current directory: /usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext
cmake . -DCMAKE_INSTALL_PREFIX\=/usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/prefix
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.