Version-Release number of selected component (if applicable): mock-1.2.0-1.fc22.noarch Steps to Reproduce: 1. curl -O https://kojipkgs.fedoraproject.org//packages/mock/1.1.41/1.el6/src/mock-1.1.41-1.el6.src.rpm 2. mock -r epel-6-x86_64 --rebuild ./mock-1.1.41-1.el6.src.rpm Actual results: INFO: mock.py version 1.2.0 starting (python version = 2.7.8)... Start: init plugins INFO: selinux enabled Finish: init plugins Start: run INFO: Start(./mock-1.1.41-1.el6.src.rpm) Config(epel-6-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled yum cache Start: cleaning yum metadata Finish: cleaning yum metadata INFO: enabled ccache Mock Version: 1.2.0 INFO: Mock Version: 1.2.0 Start: yum update base | 3.7 kB 00:00 epel | 4.4 kB 00:00 updates | 3.4 kB 00:00 No packages marked for update Finish: yum update Finish: chroot init Start: build phase for mock-1.1.41-1.el6.src.rpm Start: build setup for mock-1.1.41-1.el6.src.rpm bash: /bin/rpmbuild: No such file or directory ERROR: Exception(./mock-1.1.41-1.el6.src.rpm) Config(epel-6-x86_64) 0 minutes 7 seconds INFO: Results and/or logs in: /var/lib/mock/epel-6-x86_64/result ERROR: Command failed. See logs for output. # bash --login -c /bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mock.spec Additional info: Downgrade to mock-1.1.41-3.fc21.noarch fixes the bug.
I could not reproduce this on F21. I will try to install rawhide and try it there.
I can reproduce it easily on both F21 and rawhide. Fell free to ask details!
This is strange, it work when run from git checkout, but does not work from rpm. I really do not know why. Because it should not work from checkout :) rpmbuild was always (even on el5) in /usr/bin. Therefore I set the path in config to /usr/bin/rpmbuild, which works. Fixed in commit f922798
mock-1.2.1-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mock-1.2.1-1.fc21
mock-1.2.1-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.2.1-1.fc20
mock-1.2.1-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mock-1.2.1-1.el7
mock-1.2.1-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.2.1-1.el6
Package mock-1.2.1-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mock-1.2.1-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-15217/mock-1.2.1-1.fc20 then log in and leave karma (feedback).
mock-1.2.3-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc21
mock-1.2.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mock-1.2.3-1.fc20
mock-1.2.3-1.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/mock-1.2.3-1.el7
mock-1.2.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.3-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.2.3-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.