Hide Forgot
Description of problem: rebuilding autoconf-2.63-5.1.el6.src.rpm fails. Version-Release number of selected component (if applicable): 2.63-5.1.el6 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 + LANG=C + 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:
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.