Bug 1409923
Summary: | [RFE] Mockchain does not understand `include` statement | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Medic Momcilo <momcilo> |
Component: | mock | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | dominik, gary.buhrmaster, hobbes1069, jdisnard, leamas.alec, mebrown, momcilo, msuchy, pingou, praiskup, sochotni, thofmann, williams |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-17 13:35:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Medic Momcilo
2017-01-03 21:50:41 UTC
Ping... I'm seeing something similar. It looks like RPM Fusion mock config files do not directly specific a config_opts['root'] because it does an include of the fedora version which already specifies it. mock knows how to to use the "include" to create a complete mock config but fedora-review does not. I'll poke around and see if it's easy enough to port over. My python fu is a little too rusty but in: /usr/lib/python3.5/site-packages/mockbuild/util.py there are two functions (starting at line 1088), include and update_config_from_file that look promising. Reassigning to the correct component. Basically mock understands the include option used by RPM Fusion to pull in the base fedora config file but mockchain does not. A simple workaround if you need the mock config before this is fixed: cat /etc/mock/fedora-25-x86_64.cfg /etc/mock/fedora-25-x86_64-rpmfusion_free.cfg | grep -v '^include' > rpmfusion-custom.cfg This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. As far as I know this has not been fixed (I haven't tested lately) so reassigning to rawhide. This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. FWIW, this has been reported upstream: https://github.com/rpm-software-management/mock/issues/65 This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. I am going to close this one as starting from next release the mockchain will be marked as obsoleted and people will be encouraged to start using: mock --chain and this bug will not appear there. |