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.