Description of problem:
I was getting a weird build error and it was due to unsatisfied package
dependency. It was not shown anywhere, it should be a build error.
Originally postde in Bug 242880 Comment 1.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Type `exclude=rpmdevtools' (or some other essential rpm) into /etc/mock/*.cfg
2. Try to mock-build a package
3. See the build error without any notice the rpm was not found
Build error is shown without any notice the rpm was not found:
/var/tmp/rpm-tmp.20364: line 58: /usr/lib/rpm/check-buildroot: No such file or
error: Bad exit status from /var/tmp/rpm-tmp.20364 (%install)
Error: Unable to find rpm rpmdevtools.
It may be related to suppressing inclusion of i386 packages for x86_64 builds.
The current solution is too general, though.
Some package were building differently if a package was missing, needing the
BuildRequires inclusion; some problems may persist due to this bug.
This is actually a bug in yum.
*** This bug has been marked as a duplicate of 244077 ***