Source: rubygems Version: 3.3.15-2 Severity: normal 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. -- Configuring done -- Generating done -- Build files have been written to: /usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext current directory: /usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext make V\=1 CC\=gcc\ -fdebug-prefix-map\=/usr/src/packages/BUILD/bundler\=. CXX\=g++\ -fdebug-prefix-map\=/usr/src/packages/BUILD/bundler\=. DESTDIR\= clean make[1]: Entering directory '/usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext' make[1]: Leaving directory '/usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext' current directory: /usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext make V\=1 CC\=gcc\ -fdebug-prefix-map\=/usr/src/packages/BUILD/bundler\=. CXX\=g++\ -fdebug-prefix-map\=/usr/src/packages/BUILD/bundler\=. DESTDIR\= make[1]: Entering directory '/usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext' make[1]: Leaving directory '/usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext' current directory: /usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext make V\=1 CC\=gcc\ -fdebug-prefix-map\=/usr/src/packages/BUILD/bundler\=. CXX\=g++\ -fdebug-prefix-map\=/usr/src/packages/BUILD/bundler\=. DESTDIR\= install make[1]: Entering directory '/usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext' Install the project... -- Install configuration: "" -- Installing: /usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/prefix/bin/test.txt make[1]: Leaving directory '/usr/src/packages/BUILD/tmp/test_rubygems_20230725-1339135-uo6x3v/ext' END_OF_OUTPUT /usr/src/packages/BUILD/test/rubygems/helper.rb:283:in `assert_contains_make_command' /usr/src/packages/BUILD/test/rubygems/test_gem_ext_cmake_builder.rb:47:in `test_self_build' 44: 45: assert_match %r{^cmake \. -DCMAKE_INSTALL_PREFIX\\=#{Regexp.escape @dest_path}}, output 46: assert_match %r{#{Regexp.escape @ext}}, output => 47: assert_contains_make_command '', output 48: assert_contains_make_command 'install', output 49: assert_match %r{test\.txt}, output 50: end =============================================================================== This bug is found in deepin V23 Beta by bluesky <chenchongb...@deepin.org> and reproduced in unstable. Full log can be accessed at: https://build.deepin.com/package/live_build_log/deepin:CI:deepin-community:rubygems:PR-1/rubygems/deepin_develop/x86_64 Tianyu Chen @ Deepin -- System Information: Distributor ID: Deepin Description: Deepin 23 Release: 23 Codename: beige Architecture: x86_64 Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system)