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 772697 - libvirt-devel grew a dependency on systemtap, preventing installs on ppc
Summary: libvirt-devel grew a dependency on systemtap, preventing installs on ppc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Martin Kletzander
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-09 17:12 UTC by Daniel Berrangé
Modified: 2012-06-20 06:46 UTC (History)
6 users (show)

Fixed In Version: libvirt-0.9.10-1.el6
Doc Type: Bug Fix
Doc Text:
No Documentation needed
Clone Of:
Environment:
Last Closed: 2012-06-20 06:46:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0748 0 normal SHIPPED_LIVE Low: libvirt security, bug fix, and enhancement update 2012-06-19 19:31:38 UTC

Description Daniel Berrangé 2012-01-09 17:12:51 UTC
Description of problem:
Attempting to build the latest perl-Sys-Virt RPM, I encountered an unresolvable
dependency in Systemtap on PPC architectures:

http://download.devel.redhat.com/brewroot/work/tasks/7361/3927361/root.log

DEBUG util.py:256:  Error: Missing Dependency: kernel-devel is needed by
package systemtap-1.6-4.el6.ppc (build)


The problem is that 'kernel-devel' is not built on PPC architecture in RHEL-6.
So AFAICT, there is no way that the 'systemtap' RPM can ever be installed on
the PPC archictecture, despite it being built.


NB, the root cause here is technically a systemtap (see bughttps://bugzilla.redhat.com/show_bug.cgi?id=772693) , but I don't think we should have a dep on systemtap in libvirt-devel in the first place.

This appears to be coming because we copy the examples/systemtap scripts in %doc. IIUC, if we remove the 'execute' bit from the *.stp files, then the RPM auto-dep extractor should not add this bogus dep.


Version-Release number of selected component (if applicable):
libvirt-0.9.9-1.el6

How reproducible:
Always (on ppc arch)

Steps to Reproduce:
1. yum install libvirt
2.
3.
  
Actual results:
DEBUG util.py:256:  Error: Missing Dependency: kernel-devel is needed by
package systemtap-1.6-4.el6.ppc (build)

Expected results:
libvirt can be installed without pulling in systemtap


Additional info:

Comment 4 Martin Kletzander 2012-01-17 18:20:34 UTC
Fixed in commit 34364f43e9ddd02f5996aa44b58d52e0753e8064
Author: Martin Kletzander <mkletzan>
Date:   Fri Jan 13 13:40:56 2012 +0100

Permission change for systemtap examples.

Execute bit on *.stp files in examples/systemtap/ caused dependency when building RPM packages. Disabling execute permission should help the auto dependency resolver to see that systemtap is not needed.

Comment 7 yanbing du 2012-02-15 11:20:35 UTC
Since we have no ppc machine to install libvirt and verify this bug, so just check the dependency of libvirt-devel-0.9.10-1.el6.ppc64.rpm

# rpm -qpR libvirt-devel-0.9.10-1.el6.ppc64.rpm
/usr/bin/pkg-config  
libvirt-client = 0.9.10-1.el6
libvirt-qemu.so.0()(64bit)  
libvirt.so.0()(64bit)  
pkgconfig  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(PayloadIsXz) <= 5.2-1

There no dependency about  /usr/bin/stap, so move to VERIFIED.

Comment 8 Martin Kletzander 2012-05-03 13:13:01 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No Documentation needed

Comment 10 errata-xmlrpc 2012-06-20 06:46:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0748.html


Note You need to log in before you can comment on or make changes to this bug.