Hi, I wonder why are there too few IUSE flags or why so many options are disabled in my case: GRASS is now configured for: x86_64-pc-linux-gnu Source directory: /var/tmp/portage/portage/sci-geosciences/grass-8.2.0-r4/work/grass-8.2.0 Build directory: /var/tmp/portage/portage/sci-geosciences/grass-8.2.0-r4/work/grass-8.2.0 Installation directory: ${prefix}/grass82 Startup script in directory:${exec_prefix}/bin C compiler: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -ftree-vectorize C++ compiler: Building shared libraries: yes OpenGL platform: X11 MacOSX application: no MacOSX architectures: MacOSX SDK: BLAS support: no BZIP2 support: no C++ support: no Cairo support: yes DWG support: no FFTW support: no FreeType support: yes GDAL support: yes GEOS support: yes LAPACK support: yes Large File support (LFS): yes libLAS support: no MySQL support: yes NetCDF support: no NLS support: yes ODBC support: no OGR support: yes OpenCL support: no OpenGL support: yes OpenMP support: yes PDAL support: no PNG support: yes POSIX thread support: yes PostgreSQL support: no Readline support: yes Regex support: yes SQLite support: yes TIFF support: yes X11 support: yes Zstandard support: no using new PROJ 5+ API # emerge -pv grass [ebuild R ] sci-geosciences/grass-8.2.0-r4:0/8.2::gentoo USE="X geos lapack mysql nls opengl openmp pdal* png readline sqlite threads tiff truetype -blas -cxx -fftw -las -netcdf -odbc -opencl -postgres -zstd" PYTHON_SINGLE_TARGET="python3_9 -python3_10" 0 KiB I had to enable the following to get some enabledbut still not all: GRASS is now configured for: x86_64-pc-linux-gnu Source directory: /mnt/nocrypt/var/tmp/portage/portage/sci-geosciences/grass-8.2.0-r4/work/grass-8.2.0 Build directory: /mnt/nocrypt/var/tmp/portage/portage/sci-geosciences/grass-8.2.0-r4/work/grass-8.2.0 Installation directory: ${prefix}/grass82 Startup script in directory:${exec_prefix}/bin C compiler: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -ftree-vectorize C++ compiler: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -ftree-vectorize Building shared libraries: yes OpenGL platform: X11 MacOSX application: no MacOSX architectures: MacOSX SDK: BLAS support: yes BZIP2 support: no C++ support: yes Cairo support: yes DWG support: no FFTW support: yes FreeType support: yes GDAL support: yes GEOS support: yes LAPACK support: yes Large File support (LFS): yes libLAS support: yes MySQL support: yes NetCDF support: yes NLS support: yes ODBC support: yes OGR support: yes OpenCL support: no OpenGL support: yes OpenMP support: yes PDAL support: no PNG support: yes POSIX thread support: yes PostgreSQL support: yes Readline support: yes Regex support: yes SQLite support: yes TIFF support: yes X11 support: yes Zstandard support: yes using new PROJ 5+ API [ebuild R ] sci-geosciences/grass-8.2.0-r4:0/8.2::gentoo USE="X blas* cxx* fftw* geos lapack las* mysql netcdf* nls odbc* opengl openmp png postgres* readline sqlite threads tiff truetype zstd* -opencl -pdal" PYTHON_SINGLE_TARGET="python3_9 -python3_10" 0 KiB I wonder why bzip2 and dwg is not enabled. https://gis.stackexchange.com/questions/32489/converting-from-dgn-to-shp-or-dwg-files-using-qgis claims that GDAL supports DGN v8 from version 2.2.0. More info about the driver. New OGR/vector drivers: ... - DGNv8 driver: read-write support for DGN 8.0 format (using Teigha ODA libraries) checking for location of zlib includes... checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for location of zlib library... checking for deflate in -lz... yes checking whether to use bzlib... "no" checking whether to use zstd... "yes" checking for location of zstd includes... checking zstd.h usability... yes checking zstd.h presence... yes checking for zstd.h... yes checking for location of zstd library... checking for ZSTD_compress in -lzstd... yes checking whether to use GDAL... yes checking for gdal-config... /usr/bin/gdal-config checking whether to use libLAS... yes checking for liblas-config... /usr/bin/liblas-config checking liblas/capi/liblas.h usability... yes checking liblas/capi/liblas.h presence... yes checking for liblas/capi/liblas.h... yes checking whether to use PDAL... yes checking for pdal-config... /usr/bin/pdal-config checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes configure: error: *** Unable to locate suitable (>=1.7.1) PDAL library.
If I understand upstream correctly Grass GIS requires the proprietary OpenDWG toolkit (see https://github.com/OSGeo/grass/blob/main/vector/v.in.dwg/README) for DWG support. It is not available in Gentoo and unlikely to be, because of the licensing policy. Therefore it is currently not possible to enable DWG support in Grass GIS under Gentoo. It would be more promising to move upstream to transition to libredwg, which is available in Gentoo. Feel free to open a feature bug upstream. In my opinion not only the Gentoo folks will profit from it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e79c4852d808c79d435ef0afadd4386a1dfb02 commit 91e79c4852d808c79d435ef0afadd4386a1dfb02 Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> AuthorDate: 2023-02-07 17:04:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-08 04:11:06 +0000 sci-geosciences/grass: add bzip2 use flag Bug: https://bugs.gentoo.org/893134 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/29333 Signed-off-by: Sam James <sam@gentoo.org> sci-geosciences/grass/grass-8.2.1.ebuild | 4 +++- sci-geosciences/grass/grass-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-)
Thank you for your analysis and bzip2 IUSE additon. The grass feature request i now opened at https://github.com/OSGeo/grass/issues/2819