On 14. 07. 21 11:49, David Sommerseth wrote:

Hi,

So I'm running some builds for the openvpn3-linux project on Fedora Rawhide ...  And we have this little line in configure.ac:

     AM_PATH_PYTHON([3.5],, [:])

When ./configure runs, it reports:

     checking for python3 version... 3.1

As a colleague said, mathematically this is correct.  But that doesn't really help.  Who/what is truncating Python 3.10 to 3.1?  And how can that be fixed? Is someone already looking into this?

Is the configure script regenerated during build? Old consifure scripts tend to do this.

This was fixed e.g. in automake:

https://bugzilla.redhat.com/show_bug.cgi?id=1889732

But depending on how is the configure script created, might require fix in the project itself.

I suggest to grep the configure script for 'sys.version' and see what it does with that value (e.g. sys.version[:3] is usually the problem).

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to