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 1948439
Summary: | python-calcephpy fails to build with Python 3.10: configure: error: cannot import Python module "distutils". | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-calcephpy | Assignee: | Mattia Verga <mattia.verga> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | astro-sig, mattia.verga, mhroncok, pviktori, thrnciar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-calcephpy-3.4.7-4.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-18 08:20:12 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: | |||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2021-04-12 07:42:50 UTC
config/ax_python_devel.m4 is outdated, it needs to contain this fix from 2017: http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=883a2abd5a and configure needs to be regenerated I tried to apply the patch pointed out by Miro, but I get the same error. I do not understand: why a deprecation warning prevents distutils package from being imported? Does Python 3.10 removes distutils or not? Did you regenerate configure?
> I do not understand: why a deprecation warning prevents distutils package from being imported? Does Python 3.10 removes distutils or not?
Distutils is stuill usable in 3.10. But without the patch, autoconf essentially treats warnings as errors.
(In reply to Petr Viktorin from comment #3) > Did you regenerate configure? > I tried with 'autoreconf -fvi', but it fails because there's no config.in in sources. Upstream maintainer has provided me some modified sources, so a patched version of python-calcephpy is now building in Rawhide. FEDORA-2021-32e91fcaa8 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. |