Bug 2026571
Summary: | Unable to build the root for centos-stream-8-x86_64 | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Frank Büttner <bugzilla> |
Component: | mock | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel7 | CC: | copr-team, dave.love, david.ward, jkeating, mebrown, msuchy, philip.wyett, praiskup, williams |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | mock-2.16-1.fc35 mock-2.16-1.fc34 mock-2.16-1.el7 mock-2.16-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-12 01:18:02 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
Frank Büttner
2021-11-25 07:16:48 UTC
I can reproduce. Hmm, when I replace mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=BaseOS&infra=$infra in config with mirrorlist=http://mirrorlist.centos.org/?release=8&arch=$basearch&repo=BaseOS&infra=$infra i.e. expand the $stream variable, it starts working. Centos Stream 9 does not have this problem as it does not use $stream When I replace $stream with $releasever, it will work. Will do a PR. The culprit is in config_opts['dnf_vars'] = { 'stream': '8-stream', 'contentdir': 'centos', } This creates dnf variables, but not yum variables. > /usr/bin/yum --installroot /var/lib/mock/centos-stream-8-x86_64-bootstrap/root/ --releasever 8 install dnf dnf-plugins-core --setopt=tsflags=nocontexts
Why /usr/bin/yum?
Ah, we are on EL7. FEDORA-EPEL-2021-82ccb8f2b7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-82ccb8f2b7 FEDORA-2021-0947974f0a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0947974f0a FEDORA-2021-a7d4aaa6fe has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe FEDORA-2021-0947974f0a has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0947974f0a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0947974f0a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2021-2d0f959e00 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-2d0f959e00 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2021-82ccb8f2b7 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-82ccb8f2b7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-a7d4aaa6fe has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a7d4aaa6fe` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. (In reply to Miroslav Suchý from comment #7) > https://github.com/rpm-software-management/mock/pull/809 This doesn't fix the real issue; mock should be configuring extended variables for yum just like it does for dnf. It is actually straightforward: https://github.com/rpm-software-management/mock/pull/847 Thanks for the update, but the request for using YUM variables is an orthogonal thing. This bug is about real life build failures, and the updated mock + mock-core-configs (currently stuck in Bodhi) fixes this. *** Bug 2035507 has been marked as a duplicate of this bug. *** For me mock-2.16-1.el7 and mock-core-configs-36.4-1.el7 , will work again on CentOS7. FEDORA-EPEL-2021-82ccb8f2b7 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-82ccb8f2b7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2021-2d0f959e00 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-2d0f959e00 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-0947974f0a has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0947974f0a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0947974f0a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-a7d4aaa6fe has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a7d4aaa6fe` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2021-82ccb8f2b7 has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-82ccb8f2b7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2021-2d0f959e00 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-2d0f959e00 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-0947974f0a has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0947974f0a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0947974f0a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-a7d4aaa6fe has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a7d4aaa6fe` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a7d4aaa6fe See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-a7d4aaa6fe has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-0947974f0a has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2021-82ccb8f2b7 has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2021-2d0f959e00 has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report. |