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


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

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

Started byAdrian Bunk <bunk@debian.org>
First post2022-05-11 19:10 +0200
Last post2022-05-11 19:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.rc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromAdrian Bunk <bunk@debian.org>
Date2022-05-11 19:10 +0200
SubjectBug#1009417: saga: FTBFS: configure: error: cannot import Python module "distutils".
Message-ID<ElY0x-eNKv-1@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web