Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1440715

Summary: systemtap-devel not installable on 32bit systems
Product: Red Hat Enterprise Linux 7 Reporter: Miroslav Rezanina <mrezanin>
Component: qemu-kvmAssignee: Miroslav Rezanina <mrezanin>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.4CC: chayang, fche, jistone, juzhang, knoel, lberk, mcermak, michen, mjw, rbalakri, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-13 12:17:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Rezanina 2017-04-10 10:41:54 UTC
Description of problem:

When trying to build qemu-kvm package using brew, I'll get following error:

DEBUG util.py:257:  Error: Package: systemtap-devel-3.1-2.el7.s390 (build)
DEBUG util.py:257:             Requires: kernel-devel-uname-r

This issue is hit only on i686 or s390 architecture.

Comment 2 Frank Ch. Eigler 2017-04-10 12:59:42 UTC
Wondering why that package is requiring systemtap-devel.  Chances are you only need systemtap-sdt-devel (for the sys/sdt.h header).

As for kernel-devel-uname-r -- that is supposed to be a magic virtual resource provided by the kernel/rpm.  Not sure - do we even ship a s390 / i686 kernel?

Comment 3 Miroslav Rezanina 2017-04-10 13:58:48 UTC
Buil(In reply to Frank Ch. Eigler from comment #2)
> Wondering why that package is requiring systemtap-devel.  Chances are you
> only need systemtap-sdt-devel (for the sys/sdt.h header).
> 

I can check for this possibility.

> As for kernel-devel-uname-r -- that is supposed to be a magic virtual
> resource provided by the kernel/rpm.  Not sure - do we even ship a s390 /
> i686 kernel?


Build has worked on this architectures. Hit this issue for last +- 7 days.

Comment 4 Miroslav Rezanina 2017-04-12 17:16:36 UTC
qemu-kvm is going te stop building 32bit packages so not needed anymore. However, as kernel packages are not build, package can't be installed on 32bit systems.

Comment 5 Frank Ch. Eigler 2017-04-12 18:07:26 UTC
qemu-kvm should build against systemtap-sdt-devel (and not systemtap or the stap binary).  The qemu configure file needs this change:

--- configure	2013-12-16 11:13:16.000000000 -0500
+++ ../configure.OK	2017-04-12 14:05:57.028829338 -0400
@@ -3176,7 +3176,7 @@
     error_exit "dtrace command is not found in PATH $PATH"
   fi
   trace_backend_stap="no"
-  if has 'stap' ; then
+  if `dtrace --help 2>/dev/null | grep -q systemtap`; then
     trace_backend_stap="yes"
   fi
 fi

Comment 6 Frank Ch. Eigler 2017-04-12 18:10:14 UTC
(or ... season to taste:)

  dtrace --help 2>/dev/null | grep -q systemtap
  if test $? -eq 0; then
    trace_backend_stap="yes"
  fi

Comment 7 Karen Noel 2017-04-13 11:01:11 UTC
(In reply to Miroslav Rezanina from comment #4)
> qemu-kvm is going te stop building 32bit packages so not needed anymore.
> However, as kernel packages are not build, package can't be installed on
> 32bit systems.

RHEL 7 is 64-bit only. We should not need to install any packages on 32bit systems. Thanks.