What were you trying to do that didn't work?
Trying to rebuild ruby-3.3.7-9.el10 in mock
What is the impact of this issue to you?
ruby testsuite fails
Please provide the package NVR for which the bug is seen:
3.3.7-9.el10
How reproducible is this bug?:
Always after systemtap-5.2-2.el10 update.
Steps to reproduce
- try to build ruby-3.3.7-9.el10 in mock
Expected results
successful build
Actual results
Test failure:
+ make -C redhat-linux-build runruby TESTRUN_SCRIPT=/builddir/build/SOURCES/test_systemtap.rb make: Entering directory '/builddir/build/BUILD/ruby-3.3.7/redhat-linux-build' RUBY_ON_BUG='gdb -x /builddir/build/BUILD/ruby-3.3.7/.gdbinit -p' ./miniruby -I/builddir/build/BUILD/ruby-3.3.7/lib -I. -I.ext/common /builddir/build/BUILD/ruby-3.3.7/tool/runruby.rb --extout=.ext -- --disable-gems /builddir/build/SOURCES/test_systemtap.rb ERROR: SystemTap (DTrace) headers were not detected in resulting library. make: *** [uncommon.mk:1386: runruby] Error 1
Reason for this is change in systemtap-5.2-2.el10 which added /usr/bin/dtrace to systemtap-std-devel package. Fix is quite simple, change dtrace build dependency to actual package:
diff --git a/ruby.spec b/ruby.spec index e2256f0..cd02771 100644 --- a/ruby.spec +++ b/ruby.spec @@ -301,8 +301,8 @@ BuildRequires: libyaml-devel BuildRequires: openssl-devel BuildRequires: zlib-devel %{?with_gmp:BuildRequires: gmp-devel} -%{?with_systemtap:BuildRequires: %{_bindir}/dtrace} %{?with_systemtap:BuildRequires: systemtap-sdt-devel} +%{?with_systemtap:BuildRequires: systemtap-sdt-dtrace} %{?with_yjit:BuildRequires: %{_bindir}/rustc} # Install section
- is cloned by
-
RHEL-95224 Revert systemtap workaround
-
- Planning
-
- relates to
-
RHEL-86999 Routine rebase of systemtap being released this spring for RHEL-10.1.
-
- Release Pending
-