Bug 1893652
Summary: | libreport fails to build with Python 3.10: configure truncates 3.10 to 3.1 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | libreport | Assignee: | abrt <abrt-devel-list> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | urgent | ||
Version: | rawhide | CC: | abrt-devel-list, abrt-sig, jakub, mgrabovs, mhroncok, michal.toman, mmarusak, msuchy, thrnciar |
Target Milestone: | --- | Keywords: | Triaged |
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: | 2021-02-02 16:42: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: | |||
Bug Depends On: | 1889732 | ||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2020-11-02 10:08:03 UTC
libreport-2.14.0/aclocal.m4 1322: [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) libreport-2.14.0/configure 16385: am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"` $ python3.10 -c "import sys; sys.stdout.write(sys.version[:3])" 3.1 Please use (something like) this instead: $ python3.10 -c "import sys; sys.stdout.write('{}.{}'.format(*sys.version_info[:2]))" 3.10 So this is a bug in automake, right? (aclocal.m4 is generated by /usr/bin/aclocal, which is owned by automake.) I guess this needs to be fixed in automake (see bz1889732) and then the tarball needs to be regenerated in case automake is not run during the build but instead, the package is build from pre-populated aclocal.m4, right? Running autoreconf in %build instead of autoconf seem to get past the problematic point. It builds entirely: https://src.fedoraproject.org/rpms/libreport/pull-request/5 |