Red Hat Bugzilla – Bug 772697
libvirt-devel grew a dependency on systemtap, preventing installs on ppc
Last modified: 2012-06-20 02:46:12 EDT
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:
Fixed in commit 34364f43e9ddd02f5996aa44b58d52e0753e8064 Author: Martin Kletzander <mkletzan@redhat.com> 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.
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.
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
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