Bug 657146

Summary: missing build dependency xv
Product: Red Hat Enterprise Linux 6 Reporter: Björn Henkel <bjoern.henkel>
Component: autoconfAssignee: Karsten Hopp <karsten>
Status: CLOSED NOTABUG QA Contact: qe-baseos-tools-bugs
Severity: low Docs Contact:
Priority: low    
Version: 6.3CC: pmatilai
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-25 15:25:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Björn Henkel 2010-11-25 04:17:53 UTC
Description of problem:

rebuilding autoconf-2.63-5.1.el6.src.rpm fails.

Version-Release number of selected component (if applicable):


How reproducible:

Try to build autoconf on a system without xv installed.

Steps to Reproduce:
1. sudo yum remove xz
2. rpmbuild -bb autoconf.spec
Actual results:

> rpmbuild -ba autoconf.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.63939
+ umask 022
+ cd /tmp/rpmbuild/BUILD
+ export LANG
+ unset DISPLAY
+ cd /tmp/rpmbuild/BUILD
+ rm -rf autoconf-2.63
+ tar -xf -
+ /usr/bin/lzma -dc /tmp/rpmbuild/SOURCES/autoconf-2.63.tar.lzma
/var/tmp/rpm-tmp.63939: line 31: /usr/bin/lzma: No such file or directory
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
error: Bad exit status from /var/tmp/rpm-tmp.63939 (%prep)

Expected results:

Create rpms.

Additional info:

Comment 4 Karsten Hopp 2010-11-25 15:25:18 UTC
Yum can't remove xz if rpm-build is installed as rpm-build requires xz and lzma. 
Please check with 'package-cleanup --problems' if there are any package dependency issues on your system. You can find that script in the yum-utils package.