Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1377240
Summary: | python3: Regenerate `configure` and other files before building | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomas Orsava <torsava> |
Component: | python3 | Assignee: | Miro Hrončok <mhroncok> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | carl, cstratak, mhroncok, pviktori, rkuska, tomspur, torsava, vstinner |
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-26 01:03:57 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: | |||
Bug Depends On: | 1686977 | ||
Bug Blocks: |
Description
Tomas Orsava
2016-09-19 09:38:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. Other generated files include: Python/importlib*.h Include/graminit.[ch] Include/Python-ast.[ch] Include/opcode.h Python/opcode_targets.h Objects/typeslots.inc However, these need Python to be regenerated, which would lead to bootstrapping issues. (In reply to Petr Viktorin from comment #2) > However, these need Python to be regenerated, which would lead to > bootstrapping issues. Since we're already bootstrapping Python 3, you can regenerate these only when not bootstrapping. Or is there some problem with this approach? I don't see any big problems. It's just that this rabbit hole turns out to be deeper than I want to go right now, so I'm noting what I found :) This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. 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 '26'. 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 26 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 bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'. Setting this to low priority. It would be great if someone else would get to this earlier than we can. If that's your case, please assign the bug to yourself (and adjust priority accordingly). python3.spec now regenerates configure and pyconfig.h using autoconf and autoheader. Python 3 now has a "make regen-all" rule to regenerate (almost) all generated files. configure and pyconfig.h are not regenerated by "make regen-all", I created an issue upstream to discuss that: https://bugs.python.org/issue36194 > However, these need Python to be regenerated, which would lead to bootstrapping issues. Right, "make regen-all" requires a working Python 3 on the host building Python. Python 3 isn't in the base root image using to build python3.spec? > Python 3 isn't in the base root image using to build python3.spec?
It is. But that is a side effect, not a documented feature.
Can we try to run "make regen-all" only if it is there?
Perhaps we can conditionalize this using a general bootstrapping bcond. The bootstrap sequence will need to be changed for Python 3.8 anyway. I'll do this together with the 3.8 update. python38-3.8.0~a4-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9f29193907 python38-3.8.0~a4-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fd2bf1edf3 python38-3.8.0~a4-1.fc30 has been pushed to the Fedora 30 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-2019-9f29193907 python38-3.8.0~a4-1.fc29 has been pushed to the Fedora 29 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-2019-fd2bf1edf3 python38-3.8.0~a4-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9f29193907 python38-3.8.0~a4-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fd2bf1edf3 python38-3.8.0~a4-2.fc30 has been pushed to the Fedora 30 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-2019-9f29193907 python38-3.8.0~a4-2.fc29 has been pushed to the Fedora 29 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-2019-fd2bf1edf3 python38-3.8.0~a4-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. python38-3.8.0~a4-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |