[DRE-maint] Bug#1113480: ruby-mini-portile2: FTBFS with CMake 4
roehling at debian.org
roehling at debian.org
Mon Sep 1 00:04:09 BST 2025
Source: ruby-mini-portile2
Version: 2.8.7-1
Severity: serious
User: cmake at packages.debian.org
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, ruby-mini-portile2 failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
│ Run tests for ruby3.3 from debian/ruby-tests.rake │
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-mini-portile2-2.8.7/debian/ruby-mini-portile2/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-mini-portile2-2.8.7/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/test_activate.rb" "test/test_cmake.rb" "test/test_cook.rb" "test/test_download.rb" "test/test_execute.rb" "test/test_mkmf_config.rb" "test/test_proxy.rb" "test/test_recipe.rb" -v
/build/reproducible-path/ruby-mini-portile2-2.8.7/test/helper.rb:14: relevant RbConfig::CONFIG values:
- target_os: "linux-gnu"
- target_cpu: "aarch64"
- CC: "aarch64-linux-gnu-gcc"
- CXX: "aarch64-linux-gnu-g++"
Run options: -v --seed 54684
# Running:
TestRecipe#test_lib_path = 0.00 s = .
TestRecipe#test_include_path = 0.00 s = .
TestRecipe#test_path = 0.00 s = .
Downloading test-cmake-1.0.tar.gz (100%)
Extracting test-cmake-1.0.tar.gz into tmp/aarch64-linux-gnu/ports/test-cmake/1.0... OK
Running patch with /build/reproducible-path/ruby-mini-portile2-2.8.7/test/assets/patch 1.diff... OK
Running 'configure' for test-cmake 1.0... ERROR. Please review logs to see what happened:
----- contents of '/build/reproducible-path/ruby-mini-portile2-2.8.7/tmp/aarch64-linux-gnu/ports/test-cmake/1.0/configure.log' -----
CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
----- end of file -----
0.00 s = E
TestCookAgainstSourceDirectory#test_source_directory = 0.39 s = .
TestProxy#test_ftp_proxy = 0.02 s = .
TestProxy#test_https_proxy_with_basic_auth = 2.06 s = .
TestProxy#test_ftp_proxy_with_basic_auth = 0.01 s = .
TestProxy#test_http_proxy_with_basic_auth = 2.01 s = .
TestProxy#test_https_proxy = 2.09 s = .
TestProxy#test_http_proxy = 2.01 s = .
TestCookWithBrokenGitDir#test_patch = 0.00 s = .
TestCookConfiguration#test_cxx_command_configuration = 0.01 s = .
TestCookConfiguration#test_cc_command_configuration = 0.02 s = .
TestCookConfiguration#test_make_command_configuration = 0.01 s = .
TestExecute#test_execute_one_big_string_arg = 0.09 s = .
TestExecute#test_execute_array_args = 0.14 s = .
Extracting test-cmake-1.0.tar.gz into tmp/aarch64-linux-gnu/ports/test-cmake/1.0... OK
Running patch with /build/reproducible-path/ruby-mini-portile2-2.8.7/test/assets/patch 1.diff... OK
Running 'configure' for test-cmake 1.0... ERROR. Please review logs to see what happened:
----- contents of '/build/reproducible-path/ruby-mini-portile2-2.8.7/tmp/aarch64-linux-gnu/ports/test-cmake/1.0/configure.log' -----
CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
----- end of file -----
0.00 s = E
TestMkmfConfig#test_mkmf_config_pkgconf_CFLAGS_global = 0.02 s = .
TestMkmfConfig#test_mkmf_config_recipe_LIBPATH_global_static = 0.01 s = .
TestMkmfConfig#test_mkmf_config_pkgconf_does_not_exist = 0.00 s = .
TestMkmfConfig#test_mkmf_config_recipe_INCFLAGS_global = 0.01 s = .
TestMkmfConfig#test_mkmf_config_recipe_LIBPATH_global_not_static = 0.01 s = .
TestMkmfConfig#test_mkmf_config_recipe_INCFLAGS_global_include_dir_does_not_exist = 0.00 s = .
TestMkmfConfig#test_mkmf_config_pkgconf_path_accumulation = 0.05 s = .
TestMkmfConfig#test_mkmf_config_recipe_LIBPATH_global_lib_dir_does_not_exist = 0.00 s = .
TestMkmfConfig#test_mkmf_config_pkgconf_LIBPATH_global_not_static = 0.01 s = .
TestMkmfConfig#test_mkmf_config_pkgconf_LIBPATH_global_static = 0.01 s = .
TestActivate#test_PATH_env_var_when_bin_exists = 0.01 s = .
TestActivate#test_PATH_env_var_when_bin_does_not_exist = 0.00 s = .
TestActivate#test_CPATH_env_var_when_include_does_not_exist = 0.00 s = .
TestActivate#test_LIBRARY_PATH_env_var_when_lib_exists = 0.01 s = .
TestActivate#test_CPATH_env_var_when_include_exists = 0.01 s = .
TestActivate#test_LDFLAGS_env_var_when_not_cross_compiling = 0.01 s = .
TestActivate#test_LIBRARY_PATH_env_var_when_lib_does_not_exist = 0.00 s = .
TestActivate#test_LDFLAGS_env_var_when_cross_compiling = 0.01 s = .
TestCook#test_compile = 0.00 s = .
TestCook#test_untar = 0.00 s = .
TestCook#test_configure = 0.00 s = .
TestCook#test_install = 0.00 s = .
TestCook#test_patch = 0.00 s = .
TestCook#test_download = 0.00 s = .
recipe download::urls#test_0004_file = 0.00 s = .
recipe download::urls#test_0005_other = 0.00 s = .
recipe download::urls#test_0002_handles http = 2.02 s = .
recipe download::urls#test_0001_ftp = 0.01 s = .
recipe download::urls#test_0003_handles https = 2.09 s = .
Finished in 14.849667s, 3.1651 runs/s, 14.0070 assertions/s.
1) Error:
TestCMakeConfig#before_all:
RuntimeError: Failed to complete configure task
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:623:in `block in execute'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:589:in `chdir'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:589:in `execute'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile_cmake.rb:30:in `configure'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:236:in `cook'
test/test_cmake.rb:22:in `block in before_all'
test/helper.rb:67:in `with_custom_git_dir'
test/test_cmake.rb:21:in `before_all'
2) Error:
TestCMake#before_all:
RuntimeError: Failed to complete configure task
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:623:in `block in execute'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:589:in `chdir'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:589:in `execute'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile_cmake.rb:30:in `configure'
debian/ruby-mini-portile2/usr/share/rubygems-integration/all/gems/mini_portile2-2.8.7/lib/mini_portile2/mini_portile.rb:236:in `cook'
test/test_cmake.rb:22:in `block in before_all'
test/helper.rb:67:in `with_custom_git_dir'
test/test_cmake.rb:21:in `before_all'
47 runs, 208 assertions, 0 failures, 2 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb "test/test_activate.rb" "test/test_cmake.rb" "test/test_cook.rb" "test/test_download.rb" "test/test_execute.rb" "test/test_mkmf_config.rb" "test/test_proxy.rb" "test/test_recipe.rb" -v]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /build/reproducible-path/ruby-mini-portile2-2.8.7/debian/ruby-mini-portile2 returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T18:03:04Z
-------------------------------------------------------------------------------
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/2410630/
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/154791/
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
More information about the Pkg-ruby-extras-maintainers
mailing list