Bug 622544
| Summary: | i586 target no more possible | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Remi Collet <fedora> |
| Component: | mock | Assignee: | Clark Williams <williams> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 13 | CC: | cbrereton1, dcantrell, madko, mebrown, williams |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | mock-1.1.10-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-17 21:33:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I think we can fit this in, since I'm already adding noarch to this table. Hmm, shouldn't we be able to build i586 from i386? It should be possible. I don't see a reason why it can't. Ok, I've added i586 as a legal arch for i386, i686 and x86_64
diff --git a/py/mock.py b/py/mock.py
index 13b56c1..00e87b4 100755
--- a/py/mock.py
+++ b/py/mock.py
@@ -369,9 +369,9 @@ def set_config_opts_per_cmdline(config_opts, options, args):
config_opts['online'] = options.online
legal_arches = {
- 'i386' : ('i386', 'i686', 'noarch'),
- 'i686' : ('i386', 'i686', 'noarch'),
- 'x86_64' : ('i386', 'i686', 'x86_64', 'noarch'),
+ 'i386' : ('i386', 'i586', 'i686', 'noarch'),
+ 'i686' : ('i386', 'i586', 'i686', 'noarch'),
+ 'x86_64' : ('i386', 'i586', 'i686', 'x86_64', 'noarch'),
'ppc' : ('ppc', 'noarch'),
'ppc64' : ('ppc', 'ppc64', 'noarch'),
'sparc' : ('sparc', 'noarch'),
Still not fixed in mock-1.1.3-1.fc13.noarch ? mock-1.1.4-1.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/mock-1.1.4-1.fc14 mock-1.1.4-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/mock-1.1.4-1.fc13 mock-1.0.11-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/mock-1.0.11-1.fc12 mock-1.0.11-1.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/mock-1.0.11-1.el5 Ok this one should fix the issue. mock-1.1.4-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.4-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. mock-1.0.11-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. mock-1.0.12-1.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/mock-1.0.12-1.fc12 mock-1.0.12-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mock-1.0.12-1.el5 mock-1.0.13-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mock-1.0.13-1.el5 mock-1.0.13-1.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/mock-1.0.13-1.fc12 mock-1.0.14-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mock-1.0.14-1.el5 mock-1.0.15-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mock-1.0.15-1.el5 mock-1.1.9-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/mock-1.1.9-1.fc13 mock-1.0.16-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mock-1.0.16-1.el5 mock-1.1.9-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.9-1.el6 mock-1.1.9-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mock-1.1.9-1.fc14 mock-1.1.9-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.9-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.10-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/mock-1.1.10-1.fc15 mock-1.1.10-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/mock-1.1.10-1.fc14 mock-1.0.17-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/mock-1.0.17-1.el5 mock-1.1.10-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/mock-1.1.10-1.fc13 mock-1.1.10-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.10-1.el6 mock-1.1.10-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.10-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.10-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. mock-1.0.17-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. mock-1.1.10-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. |
Description of problem: Cannot build with --arch i586 Ok. This is only usefull for fedora 11 which is now EOL. But it can be usefull to be able to build package for this old version. Version-Release number of selected component (if applicable): 1.1.3 How reproducible: Always Steps to Reproduce: setarch i586 mock -r fedora-11-i386 --arch i586 something.src.rpm Actual results: ERROR: Cannot build target i586 on arch i686 Expected results: Build as with previous version. Additional info: Works again with this simple patch: --- mock.org 2010-08-09 18:50:32.362518253 +0200 +++ mock 2010-08-09 18:51:06.608767619 +0200 @@ -370,8 +370,8 @@ legal_arches = { 'i386' : ('i386', 'i686'), - 'i686' : ('i386', 'i686'), - 'x86_64' : ('i386', 'i686', 'x86_64'), + 'i686' : ('i386', 'i586', 'i686'), + 'x86_64' : ('i386', 'i586', 'i686', 'x86_64'), 'ppc' : ('ppc'), 'ppc64' : ('ppc', 'ppc64'), 'sparc' : ('sparc'),