Hi, folks, Please bump sci-libs/gdal to 3.8.3, and allow building against Python 3.12. It was release back in 2024-01-08. I've done it locally, and runs well so far. I've had to disable applying the patches about zlib and libxml2 on my local ebuild; otherwise, I didn't see other problems. Thanks.
(In reply to José de Paula Rodrigues from comment #0) > Hi, folks, > [...] > I've done it locally, and runs well so far. I've had to disable applying the > patches about zlib and libxml2 on my local ebuild; otherwise, I didn't see > other problems. > [...] Could you please retry with 3.8.5 and include the changes from https://github.com/gentoo/gentoo/pull/35165?
(In reply to Volkmar W. Pogatzki from comment #1) > (In reply to José de Paula Rodrigues from comment #0) > > Hi, folks, > > [...] > > I've done it locally, and runs well so far. I've had to disable applying the > > patches about zlib and libxml2 on my local ebuild; otherwise, I didn't see > > other problems. > > [...] > > Could you please retry with 3.8.5 and include the changes from > https://github.com/gentoo/gentoo/pull/35165? Sure. I've downloaded your files/gdal-3.8.0-java21.patch and put it in sci-libs/gdal/files/ directory on my local repo. Downloaded your gdal-3.8.0-r1.ebuild; renamed it to gdal-3.8.5.ebuild; added Python 3.12 to PYTHON_COMPAT; removed the references to the libxml2-2.12* patches (those are, according to the comment in the ebuild itself, related to the bug 917564, a build error, which is no longer present); removed the reference to gdal-3.7.0-zlib-OF.patch (not sure what this corrects, perhaps also a build error) Running like a champ on my system. I will attach the resulting ebuild after the above changes.
Created attachment 890068 [details] gdal-3.8.5.ebuild
I forgot to mention how I USE sci-libs/gdal. Here you go (of note that I can think about, is the lack of java in the USE flags): $ equery uses gdal [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for sci-libs/gdal-3.8.5: U I + + armadillo : Use sci-libs/armadillo for faster TPS transform computation + + cpu_flags_x86_avx : Adds support for Advanced Vector Extensions instructions + + cpu_flags_x86_avx2 : Adds support for Advanced Vector Extensions 2 instructions + + cpu_flags_x86_sse : Use the SSE instruction set + + cpu_flags_x86_sse2 : Use the SSE2 instruction set + + cpu_flags_x86_sse4_1 : Enable SSE4.1 instruction support + + cpu_flags_x86_ssse3 : Use the SSSE3 instruction set (NOT sse3/pni) + + curl : Add support for client-side URL transfer library + + fits : Enable support for NASA's sci-libs/cfitsio library + + geos : Add support for geometry engine (sci-libs/geos) + + gif : Add GIF image support + + gml : Enable support for dev-libs/xerces-c C++ API + + hdf5 : Add support for the Hierarchical Data Format v5 - - heif : Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format - - java : Add support for Java + + jpeg : Add JPEG image support + + jpeg2k : Support for JPEG 2000, a wavelet-based image compression format + + lzma : Support for LZMA compression algorithm - - mysql : Add mySQL Database support + + netcdf : Enable NetCDF data format support - - odbc : Add ODBC Support (Open DataBase Connectivity) - - ogdi : Enable support for the open geographic datastore interface (sci-libs/ogdi) + + opencl : Enable OpenCL support (computation on GPU) - - oracle : Enable Oracle Database support + + pdf : Add general support for PDF (Portable Document Format), this replaces the pdflib and cpdflib flags + + png : Add support for libpng (PNG images) + + postgres : Add support for the postgresql database + + python : Add optional support/bindings for the Python language - - python_single_target_python3_10 : Build for Python 3.10 only - - python_single_target_python3_11 : Build for Python 3.11 only + + python_single_target_python3_12 : Build for Python 3.12 only + + spatialite : Enable Spatial DBMS over sqlite dev-db/spatialite + + sqlite : Add support for sqlite - embedded sql database - - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) + + webp : Add support for the WebP image format - - xls : Add the dev-libs/freexl library for xls import support + + zstd : Enable support for ZSTD compression
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f59752dcba5b4e270757c7f0c137d120c604bf commit 86f59752dcba5b4e270757c7f0c137d120c604bf Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2024-04-11 09:58:57 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-04-11 10:01:34 +0000 sci-libs/gdal: add 3.8.5 Closes: https://bugs.gentoo.org/924742 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-libs/gdal/Manifest | 2 + sci-libs/gdal/gdal-3.8.5.ebuild | 286 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 288 insertions(+)