Description of problem: If the buildrequires of a package itself has a dependency problem, mock still winds up with "No uninstalled build requires", which is incorrect. In fact, none of the buildrequires packages will have been installed into the chroot. This leads the build to start, and fail when its BRs are not present, leading to confusion as to the root cause of the failure. For example: mock-results/x86_64/clamav-0.97.1-1600.fc16.src.rpm/result/root.log: DEBUG util.py:250: sendmail-8.14.5-1.fc16.x86_64 requires: libdb-5.1.so()(64bit) DEBUG util.py:250: --> Processing Dependency: libdb-5.1.so()(64bit) for package: sendmail-8.14.5-1.fc16.x86_64 DEBUG util.py:250: Searching pkgSack for dep: libdb-5.1.so()(64bit) DEBUG util.py:250: --> Finished Dependency Resolution DEBUG util.py:250: Dependency Process ending DEBUG util.py:250: SKIPBROKEN: sendmail-8.14.5-1.fc16.x86_64 from ftbfs has depsolving problems DEBUG util.py:250: SKIPBROKEN: --> Package: sendmail-8.14.5-1.fc16.x86_64 (ftbfs) DEBUG util.py:250: --> Requires: libdb-5.1.so()(64bit) DEBUG util.py:250: Depsolve time: 0.644 DEBUG util.py:250: Error: Package: sendmail-8.14.5-1.fc16.x86_64 (ftbfs) DEBUG util.py:250: Requires: libdb-5.1.so()(64bit) DEBUG util.py:250: You could try using --skip-broken to work around the problem DEBUG util.py:250: You could try running: rpm -Va --nofiles --nodigest DEBUG util.py:250: Reading Local RPMDB DEBUG util.py:250: rpmdb time: 0.000 DEBUG util.py:250: No uninstalled build requires Version-Release number of selected component (if applicable): mock-1.1.11 How reproducible: easy Steps to Reproduce: 1. build clamav with mock 1.1.11 Actual results: build fails, reportedly due to bad BRs on clamav, when it's really a problem with sendmail. Expected results: build fails, reportedly due to problems with one of the BR packages. Additional info:
*** Bug 716438 has been marked as a duplicate of this bug. ***
*** Bug 709043 has been marked as a duplicate of this bug. ***
the real problem here why yum-builddep return with 0 when it's fail?! as i wrote in #709043 it's a serious bug and should have to fix asap.
Changing this to yum-utils component, which is what contains the yum-builddep command
Fixed upstream: http://yum.baseurl.org/gitweb?p=yum-utils.git;a=patch;h=32ec621
and is there anybody who can push it to the rhel-6 too? should i've to open another bz for rhel-6?
This is causing issues for the builder systems. We need to get yum-builddep updated so that the builders can move to 1.1.12+ for correct pty handling.
Building yum-utils-1.1.30-3.fc17 for dist-rawhide Created task: 3236023 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3236023 Building yum-utils-1.1.30-3.fc15 for f15-candidate Created task: 3236056 Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3236056
yum-utils-1.1.30-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/yum-utils-1.1.30-3.fc15
what about el6? it's and issue on rhel6 too!
Package yum-utils-1.1.30-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing yum-utils-1.1.30-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/yum-utils-1.1.30-3.fc15 then log in and leave karma (feedback).
yum-utils-1.1.30-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
yum-utils-1.1.31-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-1.fc16
yum-utils-1.1.31-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-1.fc15
yum-utils-1.1.31-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-2.fc16
yum-utils-1.1.31-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/yum-utils-1.1.31-2.fc15
yum-utils-1.1.31-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
yum-utils-1.1.31-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 718857 has been marked as a duplicate of this bug. ***