From 9059ef525bf3fd5cb3e4188b95e221d8aa8a1cbf Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Thu, 29 Jan 2026 11:24:07 +0100 Subject: [PATCH] Add SLES 16 workaround for dtrace It fails with: ``` checking whether dtrace USDT is available... no configure: error: --enable-dtrace, however, USDT is not available make: *** [Makefile:349: ruby-3.2-configure] Error 1 ``` --- configs/components/ruby-3.2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/components/ruby-3.2.rb b/configs/components/ruby-3.2.rb index f26f8596..273db783 100644 --- a/configs/components/ruby-3.2.rb +++ b/configs/components/ruby-3.2.rb @@ -82,7 +82,7 @@ special_flags = " --prefix=#{ruby_dir} --with-opt-dir=#{settings[:prefix]} " - if (platform.is_debian? && platform.os_version.to_i >= 13) || (platform.is_ubuntu? && platform.os_version =~ /25.04/) + if (platform.is_debian? && platform.os_version.to_i >= 13) || (platform.is_ubuntu? && platform.os_version =~ /25.04/ || platform.is_sles? && platform.os_version.to_i >= 16) # A problem with --enable-dtrace, which I suspect may be because of GCC on the Trixie image. # Check if this is still needed next time we bump Ruby and/or bump the Debian 13 # container to the release version.