When building a package with the latest mock version, mock-0.7.2-1.fc6.1, rpmbuild errors don't get caught by mock - it exits normally. Version-Release number of selected component (if applicable): mock-0.7.2-1.fc6.1 How reproducible: Always Steps to Reproduce: 1. Create an SRPM which would generate rpmbuild errors (example: installed file not listed in %files) 2. Run mock to build that SRPM Actual results: mock exits with 0 status, no error messages printed out: ---------- init clean prep This may take a while unpack cache setup build ending done Results and/or logs in: /var/lib/mock/fedora-6-i386-core/result $ echo $? 0 $ tail -3 /var/lib/mock/fedora-6-i386-core/result/build.log RPM build errors: Installed (but unpackaged) file(s) found: /etc/yum.repos.d/cs-testing.repo ---------- Expected results: mock should report/display rpmbuild error and exit with some error code.
I'm getting the same problem with mock-0.7.2-1.fc7
*** This bug has been marked as a duplicate of 244596 ***