Description of problem: Mock Rawhide build root prepared by DNF is way larger then build root prepared by Yum (210 vs 171) packages. This speaks against DNF, so I guess you'd like probably to investigate and suggest some fixes to some packages. Version-Release number of selected component (if applicable): $ rpm -q mock mock-1.2.12-1.fc22.noarch $ rpm -q dnf dnf-1.0.2-3.fc22.noarch $ rpm -q yum yum-3.4.3-505.fc22.noarch How reproducible: Always Steps to Reproduce: 1. $ mock -r fedora-rawhide-x86_64 --init 2. # sed -i '/package_manager/ s/^/#/' /etc/mock/fedora-rawhide-x86_64.cfg 3. $ mock -r fedora-rawhide-x86_64 --init Actual results: YUM: 171 packages DNF: 210 packages Expected results: YUM: 171 packages DNF: similar or smaller number of packages Additional info:
Created attachment 1064332 [details] mock output using YUM
Created attachment 1064333 [details] mock output using DNF
Created attachment 1064336 [details] mock output using YUM
Or maybe the Mock maintainers "'d like probably to investigate"... :-D OK, I can give them a hint: "install_weak_deps=".
I wonder why DNF output have there python3-dnf (and basically all those DNF packages)? Mock does not install it. Whose deps take the DNF in?
That's a good question. I guess something requires DNF's repoquery since dnf-plugins-core are installed as well?
Anyway, it's pulled in only if the weak dependencies are enabled. I guess it's pulled in by gdb. See the bug I referenced above.
With install_weak_deps=0 in config it is only 185 packages. This is still more then 171 with yum. But still lower then 210 without this option.
Interesting... It's 171 on my system...
install_weak_deps=0 added to all config where DNF is used by default Commit: * 7601fe2 (origin/devel) do not install weak deps in chroot [RHBZ#1254634]
It is 185 even with yum on my system (for fedora-23-x86_64 target). We are probably using different targets. Anyway - we are on par with yum now. I rest my case.
*** Bug 1256011 has been marked as a duplicate of this bug. ***
mock-1.2.13-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16053
mock-1.2.13-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16054
mock-1.2.13-2.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16056
mock-1.2.13-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8114
mock-1.2.13-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8115
mock-1.2.13-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16054
mock-1.2.13-2.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16056
mock-1.2.13-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16053
mock-1.2.13-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8115
mock-1.2.13-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update mock'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-8114
mock-1.2.13-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.13-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.13-2.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.13-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.2.13-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.