From 9c5836b192d11d126e8b7c2163402a7722cd3436 Mon Sep 17 00:00:00 2001 From: Pavel Tomanek Date: Wed, 18 Dec 2024 17:01:03 +0100 Subject: [PATCH] #476 debug GRASS failing build (2h) --- 476_QGIS/grass.eb | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/476_QGIS/grass.eb b/476_QGIS/grass.eb index 5069685..16a1792 100644 --- a/476_QGIS/grass.eb +++ b/476_QGIS/grass.eb @@ -41,14 +41,17 @@ dependencies = [ ('X11', '20230603'), ('Mesa', '23.1.4'), ('libGLU', '9.0.3'), - ('wxPython', '4.2.1'), # UPDATE -> https://github.com/easybuilders/easybuild-easyconfigs/pull/21949 + # ('wxPython', '4.2.1'), # UPDATE -> https://github.com/easybuilders/easybuild-easyconfigs/pull/21949 ('zstd', '1.5.5'), ('PDAL', '2.8.2'), ] +parallel = 1 + preconfigopts = "sed -e 's/-lblas/$LIBBLAS/g' -e 's/-llapack/$LIBLAPACK/g' -i configure && " configopts = '--enable-largefile=yes ' +configopts += '--enable-64bit ' configopts += '--with-cairo=yes ' configopts += '--with-cxx ' configopts += '--with-fftw --with-fftw-libs=$EBROOTFFTW/lib --with-fftw-includes=$EBROOTFFTW/include ' @@ -65,8 +68,8 @@ configopts += '--with-netcdf=$EBROOTNETCDF/bin/nc-config ' configopts += '--without-odbc ' configopts += '--with-opengl ' configopts += '--with-openmp ' -configopts += '--with-png ' -configopts += '--with-png-libs="$EBROOTLIBPNG/lib $EBROOTZLIB/lib" --with-png-includes=$EBROOTLIBPNG/include ' +# configopts += '--with-png ' +# configopts += '--with-png-libs="$EBROOTLIBPNG/lib $EBROOTZLIB/lib" --with-png-includes=$EBROOTLIBPNG/include ' configopts += '--without-postgres ' configopts += '--with-proj-libs=$EBROOTPROJ/lib ' configopts += '--with-proj-includes=$EBROOTPROJ/include --with-proj-share=$EBROOTPROJ/share/proj ' @@ -75,7 +78,7 @@ configopts += '--with-readline ' configopts += '--with-readline-libs=$EBROOTLIBREADLINE/lib --with-readline-includes=$EBROOTLIBREADLINE/include ' configopts += '--with-sqlite ' configopts += '--with-tiff-libs=$EBROOTLIBTIFF/lib --with-tiff-includes=$EBROOTLIBTIFF/include ' -configopts += '--with-wxwidgets=$EBROOTWXWIDGET/bin/wx-config ' +# configopts += '--with-wxwidgets=$EBROOTWXWIDGET/bin/wx-config ' configopts += '--with-x ' configopts += '--with-zlib-libs=$EBROOTZLIB/lib --with-zlib-includes=$EBROOTZLIB/include ' configopts += '--with-bzlib --with-bzlib-libs=$EBROOTBZIP2/lib --with-bzlib-includes=$EBROOTBZIP2/include ' @@ -92,7 +95,13 @@ sanity_check_paths = { moduleclass = 'geo' -# E1: +# E2: + # <- build step failed + # No such file or directory: 'g.parser' + # /bin/sh: g.parser: command not found + # ModuleNotFoundError: No module named 'wx' + +# E1: OK # checking whether to use PDAL... yes # Package pdal was not found in the pkg-config search path. # Perhaps you should add the directory containing `pdal.pc'