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.
Description of problem:
Unable to rebuild this SRPM. Commands used:
[root@hostname RHEV]# rpmbuild --rebuild rhev-hypervisor6-6.2-20120209.0.el6_2.src.rpm
Installing rhev-hypervisor6-6.2-20120209.0.el6_2.src.rpm
warning: InstallSourcePackage at: psm.c:244: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MmTWg8
+ umask 022
+ cd /root/rpmbuild/BUILD
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZtklWd
+ umask 022
+ cd /root/rpmbuild/BUILD
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GOL5Bj
+ umask 022
+ cd /root/rpmbuild/BUILD
+ /bin/rm -rf /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64
+ mkdir /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64
+ /usr/bin/install -d -m0755 /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64/usr/share/rhev-hypervisor
+ /usr/bin/install -p -m0644 /root/rpmbuild/SOURCES/rhev-hypervisor6-6.2-20120209.0.el6.iso /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64/usr/share/rhev-hypervisor/rhevh-6.2-20120209.0.el6.iso
/usr/bin/install: cannot stat `/root/rpmbuild/SOURCES/rhev-hypervisor6-6.2-20120209.0.el6.iso': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.GOL5Bj (%install)
RPM build errors:
InstallSourcePackage at: psm.c:244: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
user mockbuild does not exist - using root
group mockbuild does not exist - using root
user mockbuild does not exist - using root
group mockbuild does not exist - using root
user mockbuild does not exist - using root
group mockbuild does not exist - using root
user mockbuild does not exist - using root
group mockbuild does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.GOL5Bj (%install)
[root@hostname RHEV]#
Based on the contents of the SRPM, I believe the %install script should be looking for "rhev-hypervisor6-6.2-20120209.0.el6_2.iso" instead of "rhev-hypervisor6-6.2-20120209.0.el6.iso"
Version-Release number of selected component (if applicable):
6.2 (RHEL) / 3.0 (RHEV) ?
How reproducible:
Always
Steps to Reproduce:
1. rpmbuild --rebuild rhev-hypervisor6-6.2-20120209.0.el6_2.src.rpm
2.
3.
Actual results:
Build error
Expected results:
Successful build
Additional info:
This is due to the fact that the SOURCE1 contains %dist so rebuild will only work on a machine where %dist is defined as .el6_2
Overall, this is not a high prio bug since there is nothing overly useful in the srpm and there is little to nothing to be gained by rebuilding the srpm since it contains only an iso file (other scripts included in the srpm have been removed in 6.3) and the spec file.
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/RHBA-2012-0742.html
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:
An install script pointed to an incorrect hypervisor rpm. The install script has been updated to point to the correct rpm.
Description of problem: Unable to rebuild this SRPM. Commands used: [root@hostname RHEV]# rpmbuild --rebuild rhev-hypervisor6-6.2-20120209.0.el6_2.src.rpm Installing rhev-hypervisor6-6.2-20120209.0.el6_2.src.rpm warning: InstallSourcePackage at: psm.c:244: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root warning: user mockbuild does not exist - using root warning: group mockbuild does not exist - using root Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MmTWg8 + umask 022 + cd /root/rpmbuild/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZtklWd + umask 022 + cd /root/rpmbuild/BUILD + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GOL5Bj + umask 022 + cd /root/rpmbuild/BUILD + /bin/rm -rf /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64 + mkdir /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64 + /usr/bin/install -d -m0755 /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64/usr/share/rhev-hypervisor + /usr/bin/install -p -m0644 /root/rpmbuild/SOURCES/rhev-hypervisor6-6.2-20120209.0.el6.iso /root/rpmbuild/BUILDROOT/rhev-hypervisor6-6.2-20120209.0.el6.x86_64/usr/share/rhev-hypervisor/rhevh-6.2-20120209.0.el6.iso /usr/bin/install: cannot stat `/root/rpmbuild/SOURCES/rhev-hypervisor6-6.2-20120209.0.el6.iso': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.GOL5Bj (%install) RPM build errors: InstallSourcePackage at: psm.c:244: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root Bad exit status from /var/tmp/rpm-tmp.GOL5Bj (%install) [root@hostname RHEV]# Based on the contents of the SRPM, I believe the %install script should be looking for "rhev-hypervisor6-6.2-20120209.0.el6_2.iso" instead of "rhev-hypervisor6-6.2-20120209.0.el6.iso" Version-Release number of selected component (if applicable): 6.2 (RHEL) / 3.0 (RHEV) ? How reproducible: Always Steps to Reproduce: 1. rpmbuild --rebuild rhev-hypervisor6-6.2-20120209.0.el6_2.src.rpm 2. 3. Actual results: Build error Expected results: Successful build Additional info: