On 11/10/23 13:30, Matthias Klose wrote:
see
https://launchpadlibrarian.net/696024489/buildlog_ubuntu-noble-amd64.gdal_3.7.3+dfsg-1_BUILDING.txt.gz

That shows:

 for V in 3.12 3.11; do \

-- Found Python: /usr/bin/python3.12 (found suitable exact version "3.12.0") found components: Interpreter Development NumPy Development.Module Development.Embed

-- Found Python: /usr/bin/python3 (found suitable exact version "3.11.6") found components: Interpreter Development NumPy Development.Module Development.Embed

copying build/lib.linux-x86_64-cpython-312/osgeo/_gdal.cpython-312-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-312/osgeo/_gdalconst.cpython-312-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-312/osgeo/_osr.cpython-312-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-312/osgeo/_ogr.cpython-312-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-312/osgeo/_gnm.cpython-312-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-312/osgeo/_gdal_array.cpython-312-x86_64-linux-gnu.so -> osgeo

copying build/lib.linux-x86_64-cpython-311/osgeo/_gdal.cpython-311-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-311/osgeo/_gdalconst.cpython-311-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-311/osgeo/_osr.cpython-311-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-311/osgeo/_ogr.cpython-311-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-311/osgeo/_gnm.cpython-311-x86_64-linux-gnu.so -> osgeo copying build/lib.linux-x86_64-cpython-311/osgeo/_gdal_array.cpython-311-x86_64-linux-gnu.so -> osgeo

The extensions does get built for both.

python3-gdal_3.7.3+dfsg-1_amd64.deb doesn't have any extensions for 3.12.

The installation for 3.12 fails:

 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'

There is an issue with setuptools in your build environment.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Reply via email to