Bug 1409734 - Provide an easy way to install debuginfo into mock chroot
Summary: Provide an easy way to install debuginfo into mock chroot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Simacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-03 07:53 UTC by Pavel Raiskup
Modified: 2017-04-13 00:16 UTC (History)
6 users (show)

Fixed In Version: mock-1.3.4-1.fc25 mock-1.3.4-1.fc24 mock-1.3.4-1.el7 mock-1.3.5-1.el6
Clone Of:
Environment:
Last Closed: 2017-03-08 13:28:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2017-01-03 07:53:18 UTC
There's 'dnf debuginfo-install PKGNAME', but that's at least _non-trivial_
to make it work say within 'fedora-rawhide-x86_64' mock chroot.

It would be nice to have '--install-debuginfo PKGNAME' option.

Comment 1 Miroslav Suchý 2017-01-03 10:28:26 UTC
You can use:
  mock --dnf-cmd debuginfo-install PKGNAME

Comment 2 Pavel Raiskup 2017-01-03 12:18:13 UTC
Cool, thanks!  Well, there's some (configuration?) bug however:

$  mock -r fedora-rawhide-x86_64 --dnf-cmd debuginfo-install xz
INFO: mock.py version 1.3.2 starting (python version = 3.5.2)...
Start: init plugins
INFO: selinux enabled
Finish: init plugins
Start: run
INFO: Running /usr/bin/dnf debuginfo-install xz
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
Mock Version: 1.3.2
INFO: Mock Version: 1.3.2
Finish: chroot init
Dependencies resolved.
Nothing to do.
Complete!
Finish: run

Comment 3 Pavel Raiskup 2017-01-03 16:53:19 UTC
Similar results with:
$ mock --dnf-cmd debuginfo-install coreutils
(.. that is without '-r' option as we discussed offline)

I tested both mock-1.3.3-1.fc25.noarch and 1.3.2-1.fc25.

Comment 4 Michael Simacek 2017-01-04 10:21:33 UTC
That's because the debuginfo repo is not detected as debuginfo by dnf. It is named "debug", it needs to be renamed to "fedora-debuginfo" (or ${repo}-debuginfo for given main $repo).

Comment 5 Michael Simacek 2017-01-04 12:02:34 UTC
Submitted PR [1] to fix the configuration.

[1] https://github.com/rpm-software-management/mock/pull/30

Comment 6 Fedora Update System 2017-02-27 17:55:51 UTC
mock-1.3.4-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1c433a692a

Comment 7 Fedora Update System 2017-02-27 17:56:14 UTC
mock-1.3.4-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-2c7e8574bf

Comment 8 Fedora Update System 2017-02-27 17:56:35 UTC
mock-1.3.4-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3cb1bb5aa5

Comment 9 Fedora Update System 2017-02-27 17:56:57 UTC
mock-1.3.4-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-89e17056c0

Comment 10 Fedora Update System 2017-03-01 01:48:51 UTC
mock-1.3.4-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-89e17056c0

Comment 11 Fedora Update System 2017-03-01 02:50:47 UTC
mock-1.3.4-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-1c433a692a

Comment 12 Fedora Update System 2017-03-01 02:53:38 UTC
mock-1.3.4-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3cb1bb5aa5

Comment 13 Fedora Update System 2017-03-01 17:17:47 UTC
mock-1.3.4-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-2c7e8574bf

Comment 14 Fedora Update System 2017-03-02 10:21:54 UTC
mock-1.3.5-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-2c7e8574bf

Comment 15 Fedora Update System 2017-03-03 03:55:04 UTC
mock-1.3.4-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-03-03 04:17:22 UTC
mock-1.3.5-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-2c7e8574bf

Comment 17 Fedora Update System 2017-03-08 13:28:41 UTC
mock-1.3.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2017-03-15 13:48:24 UTC
mock-1.3.4-1.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 19 Fedora Update System 2017-04-13 00:16:48 UTC
mock-1.3.5-1.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.