[arch-dev-public] Python 3.10 rebuilds

Jelle van der Waa jelle at vdwaa.nl
Fri Dec 3 15:28:13 UTC 2021


Hi All,

On 03/12/2021 12:33, Evangelos Foutras via arch-dev-public wrote:
> I created a todo for the remaining ~150 packages. Just to emphasize
> that if a package appears as incomplete on the todo but exists in
> staging, that's most likely the first package built with --nocheck in
> order to satisfy other packages' checkdeps. Therefore, it still needs
> its tests to be fixed probably. 🐱

For ./configure failing with:

checking for the distutils Python package... no
configure: error: cannot import Python module "distutils".
<string>:1: DeprecationWarning: The distutils package is deprecated and 
slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
potential alternatives

The m4/python-devel.whatever file checks if the output `python -c 
'distutils'` is not empty which makes it fail as it shows a deprecation 
warning. A quick workaround is calling ./configure with:

PYTHONWARNINGS=ignore ./configure

Good luck with the rebuilds!

Jelle van der Waa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20211203/70ad60b4/attachment.sig>


More information about the arch-dev-public mailing list