Add the systemtap-sdt-devel dependency.
Recently systemtap package in RHEL 9 decided to split the `dtrace` binary and the build-time required header since:56e7eb32b2
So to acquire the header AND the dtrace binary that we require, we need to BuildRequire `systemtap-sdt-devel` in addition to `%{_bindir}/dtrace` since they are provided by separate packages. Fixes: ``` ./miniruby -I./lib -I. -I.ext/common ./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:1214: runruby] Error 1 ``` See also the commit upstream in Fedora for further reference:d03ac3403a
Related: RHEL-86130
This commit is contained in:
parent
8fdae256f0
commit
5a2ccecdb9
@ -355,6 +355,7 @@ BuildRequires: readline-devel
|
|||||||
# Needed to pass test_set_program_name(TestRubyOptions)
|
# Needed to pass test_set_program_name(TestRubyOptions)
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
%{?with_systemtap:BuildRequires: %{_bindir}/dtrace}
|
%{?with_systemtap:BuildRequires: %{_bindir}/dtrace}
|
||||||
|
%{?with_systemtap:BuildRequires: systemtap-sdt-devel}
|
||||||
# RubyGems test suite optional dependencies.
|
# RubyGems test suite optional dependencies.
|
||||||
%{?with_git:BuildRequires: git}
|
%{?with_git:BuildRequires: git}
|
||||||
%{?with_cmake:BuildRequires: %{_bindir}/cmake}
|
%{?with_cmake:BuildRequires: %{_bindir}/cmake}
|
||||||
|
Loading…
Reference in New Issue
Block a user