Bug#1055682: gdal b-d's on python3-all-dev, but only builds for the default python version

Matthias Klose doko at debian.org
Fri Nov 10 12:42:34 GMT 2023


On 10.11.23 13:30, Matthias Klose wrote:
> see
> https://launchpadlibrarian.net/696024489/buildlog_ubuntu-noble-amd64.gdal_3.7.3+dfsg-1_BUILDING.txt.gz
> 
> python3-gdal_3.7.3+dfsg-1_amd64.deb doesn't have any extensions for 3.12.

[...]
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/build-py3.12/swig/python/setup.py", line 14, 
in <module>
     from setuptools.command.build_ext import build_ext
   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 9, 
in <module>
     import distutils.core
ModuleNotFoundError: No module named 'distutils'


so this fails because distutils is removed in 3.12.  And the build 
system ignores the build failure.



More information about the Pkg-grass-devel mailing list