Bug 1254634 - Buldroot prepared by DNF is significantly larger
Buldroot prepared by DNF is significantly larger
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: mock (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Suchý
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-18 10:21 EDT by Vít Ondruch
Modified: 2015-10-07 00:06 EDT (History)
15 users (show)

See Also:
Fixed In Version: 1.2.13-2.fc22 mock-1.2.13-2.fc21 mock-1.2.13-2.el7 mock-1.2.13-2.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-23 00:10:48 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
mock output using YUM (94.67 KB, text/plain)
2015-08-18 10:21 EDT, Vít Ondruch
no flags Details
mock output using DNF (94.67 KB, text/plain)
2015-08-18 10:22 EDT, Vít Ondruch
no flags Details
mock output using YUM (111.54 KB, text/plain)
2015-08-18 10:31 EDT, Vít Ondruch
no flags Details

  None (edit)
Description Vít Ondruch 2015-08-18 10:21:19 EDT
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:
Comment 1 Vít Ondruch 2015-08-18 10:21:51 EDT
Created attachment 1064332 [details]
mock output using YUM
Comment 2 Vít Ondruch 2015-08-18 10:22:24 EDT
Created attachment 1064333 [details]
mock output using DNF
Comment 3 Vít Ondruch 2015-08-18 10:31:38 EDT
Created attachment 1064336 [details]
mock output using YUM
Comment 4 Radek Holy 2015-08-18 10:54:41 EDT
Or maybe the Mock maintainers "'d like probably to investigate"... :-D

OK, I can give them a hint: "install_weak_deps=".
Comment 5 Miroslav Suchý 2015-08-18 10:56:19 EDT
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?
Comment 6 Radek Holy 2015-08-18 11:03:56 EDT
That's a good question. I guess something requires DNF's repoquery since dnf-plugins-core are installed as well?
Comment 7 Radek Holy 2015-08-18 11:05:37 EDT
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.
Comment 8 Miroslav Suchý 2015-08-18 11:08:01 EDT
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.
Comment 9 Radek Holy 2015-08-18 11:09:35 EDT
Interesting... It's 171 on my system...
Comment 10 Miroslav Suchý 2015-08-18 11:16:45 EDT
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]
Comment 11 Miroslav Suchý 2015-08-18 11:22:47 EDT
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.
Comment 12 Miroslav Suchý 2015-08-24 05:58:41 EDT
*** Bug 1256011 has been marked as a duplicate of this bug. ***
Comment 13 Fedora Update System 2015-09-16 16:01:58 EDT
mock-1.2.13-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16053
Comment 14 Fedora Update System 2015-09-16 16:04:56 EDT
mock-1.2.13-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16054
Comment 15 Fedora Update System 2015-09-16 16:06:55 EDT
mock-1.2.13-2.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16056
Comment 16 Fedora Update System 2015-09-16 16:08:39 EDT
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
Comment 17 Fedora Update System 2015-09-16 16:09:45 EDT
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
Comment 18 Fedora Update System 2015-09-17 17:30:07 EDT
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
Comment 19 Fedora Update System 2015-09-18 01:21:02 EDT
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
Comment 20 Fedora Update System 2015-09-18 12:24:25 EDT
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
Comment 21 Fedora Update System 2015-09-18 23:19:56 EDT
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
Comment 22 Fedora Update System 2015-09-18 23:21:46 EDT
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
Comment 23 Fedora Update System 2015-09-23 00:09:42 EDT
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.
Comment 24 Fedora Update System 2015-09-24 04:22:41 EDT
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.
Comment 25 Fedora Update System 2015-10-05 18:50:37 EDT
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.
Comment 26 Fedora Update System 2015-10-06 23:05:06 EDT
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.
Comment 27 Fedora Update System 2015-10-07 00:05:03 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.