Description of problem: Mock is unable to build EL7 SRPMs on EL6, due to an xz error. Version-Release number of selected component (if applicable): $ mock --version 1.1.38 How reproducible: 100% Steps to Reproduce: 1. Download a EL7 SRPM. 2. mock -r epel-7-86_64 <SRPM> 3. Actual results: $ mock -r epel-7-x86_64 mock-1.1.38-1.el7.src.rpm INFO: mock.py version 1.1.38 starting... Start: init plugins INFO: selinux enabled Finish: init plugins Start: run INFO: Start(mock-1.1.38-1.el7.src.rpm) Config(epel-7-x86_64) Start: lock buildroot Start: clean chroot INFO: chroot (/var/lib/mock/epel-7-x86_64) unlocked and deleted Finish: clean chroot Finish: lock buildroot Start: chroot init Start: lock buildroot Mock Version: 1.1.38 INFO: Mock Version: 1.1.38 INFO: calling preinit hooks INFO: enabled root cache INFO: enabled yum cache Start: cleaning yum metadata Finish: cleaning yum metadata INFO: enabled ccache Start: device setup Finish: device setup Start: yum update ERROR: Exception(mock-1.1.38-1.el7.src.rpm) Config(epel-7-x86_64) 0 minutes 6 seconds INFO: Results and/or logs in: /var/lib/mock/epel-7-x86_64/result ERROR: Command failed: # ['/usr/bin/yum', '--installroot', '/var/lib/mock/epel-7-x86_64/root/', 'install', '@buildsys-build', '--setopt=tsflags=nocontexts'] Error: xz compression not available Expected results: Successful build. Additional info: Mock on Fedora 19 can build EL7 SRPMS.
yum install pyliblzma That will allow the rhel6 yum to handle the xz repodata in epel7.
Yes, comment #1 is true. Commited as c0346b1 into branch msuchy-work.
*** Bug 1100178 has been marked as a duplicate of this bug. ***
mock-1.1.39-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc19
mock-1.1.39-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.39-1.el6
mock-1.1.39-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc20
Package mock-1.1.39-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing mock-1.1.39-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1506/mock-1.1.39-1.el6 then log in and leave karma (feedback).
mock-1.1.39-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.39-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.40-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc20
mock-1.1.40-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc19
mock-1.1.40-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.40-2.el6
mock-1.1.41-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc20
mock-1.1.41-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc19
mock-1.1.41-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.41-1.el6
mock-1.1.41-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.41-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.41-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-2.fc19
mock-1.1.41-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.41-3.fc19
mock-1.1.41-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.