Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #319827

Bug#1009417: saga: FTBFS: configure: error: cannot import Python module "distutils".

From Adrian Bunk <bunk@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1009417: saga: FTBFS: configure: error: cannot import Python module "distutils".
Date 2022-05-11 19:10 +0200
Message-ID <ElY0x-eNKv-1@gated-at.bofh.it> (permalink)
References <EbtUd-8iFD-55@gated-at.bofh.it> <EbtUd-8iFD-55@gated-at.bofh.it> <EbvVT-8kbn-1@gated-at.bofh.it> <EbtUd-8iFD-55@gated-at.bofh.it> <EbvVT-8kbn-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tags -1 patch

On Tue, Apr 12, 2022 at 10:55:44PM +0200, Sebastiaan Couwenberg wrote:
> On 4/12/22 20:23, Lucas Nussbaum wrote:
> > > checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages
> > > checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages
> > > checking for python3.10... (cached) /usr/bin/python3
> > > checking for a version of Python >= '2.1.0'... yes
> > > checking for the distutils Python package... no
> > > configure: error: cannot import Python module "distutils".
> > > Please check your Python installation. The error was:
> > > <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
> 
> Johan can you fix this (upstream)?
>...

The minimal fix of silencing the deprecation warning is attached.

> Kind Regards,
> 
> Bas

cu
Adrian

Back to linux.debian.bugs.rc | Previous | Next | Find similar | Unroll thread


Thread

Bug#1009417: saga: FTBFS: configure: error: cannot import Python module "distutils". Adrian Bunk <bunk@debian.org> - 2022-05-11 19:10 +0200

csiph-web