Created attachment 575576 [details] build.log.bz2 'MAKEOPTS=-j1 emerge -v1 gdal' fails with: ... make[3]: Entering directory '/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/ogr/ogrsf_frmts/ogdi' /bin/sh /var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/libtool --mode=compile --silent --tag=CXX x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/port -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/gcore -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/alg -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/ogr -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/ogr/ogrsf_frmts -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/gnm -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -march=broadwell -O2 -pipe -std=c++14 -I/usr/include/tirpc -fvisibility=hidden -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wextra-semi -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant -Wsuggest-override -Wimplicit-fallthrough -I/usr -I/usr/include -DGNM_ENABLED -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/port -I/usr/include/openjpeg-2.3 -I/usr/include -I/usr/ -I/usr//include -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/include -I/usr/include/xercesc -I/var/tmp/portage/sci-libs/gdal-2.4.1/work/gdal-2.4.1/port -I/usr/include/openjpeg-2.3 -I/usr/include -I/usr/ -I/usr//include -DGDAL_COMPILATION -c -o ../o/ogrogdidriver.lo ogrogdidriver.cpp In file included from /usr/include/ecs.h:353, from ogrogdi.h:40, from ogrogdidriver.cpp:30: /usr/include/ecs_util.h:132:10: fatal error: projects.h: No such file or directory 132 | #include "projects.h" | ^~~~~~~~~~~~ compilation terminated. make[3]: *** [../../../GDALmake.opt:678: ../o/ogrogdidriver.lo] Error 1 lynx ~ # emerge -pqv '=sci-libs/gdal-2.4.1::gentoo' [ebuild R ] sci-libs/gdal-2.4.1 USE="armadillo aux_xml curl fits geos gif gml hdf5 java jpeg jpeg2k lzma mysql netcdf odbc ogdi pdf perl png postgres python sqlite threads -debug -doc -mdb -opencl -oracle -spatialite -webp -xls -zstd" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7"
Created attachment 575578 [details] output of `emerge --info '=sci-libs/gdal-2.4.1::gentoo'`
"USE=-ogdi emerge -v1 gdal" worked.
GDAL needs a bump to 3.0.0 to use PROJ.4 >=6.0.0 https://github.com/OSGeo/gdal/releases/tag/v3.0.0
(In reply to Aaron W. Swenson from comment #3) > GDAL needs a bump to 3.0.0 to use PROJ.4 >=6.0.0 > > https://github.com/OSGeo/gdal/releases/tag/v3.0.0 I filed a separate bug about this: https://bugs.gentoo.org/686732 Until this is implemented, could we please have <sci-libs/gdal-3 block >=sci-libs/proj-5?
This is actually a problem in sci-libs/ogdi-3.2.0 headers.
This should be fixed by sci-libs/ogdi-3.2.0-r1 now.
(In reply to Andreas Sturmlechner from comment #6) > This should be fixed by sci-libs/ogdi-3.2.0-r1 now. I think the issue is back: sci-libs/proj:0 (sci-libs/proj-6.2.1:0/15::gentoo, ebuild scheduled for merge) USE="-europe -static-libs -test" ABI_X86="(64)" pulled in by >=sci-libs/proj-6.0.0:= required by (sci-libs/libgeotiff-1.5.1-r1:0/5::gentoo, ebuild scheduled for merge) USE="-debug -doc -static-libs" ABI_X86="(64)" ^^ ^^^^^ (sci-libs/proj-5.2.0:0/13::gentoo, ebuild scheduled for merge) USE="-static-libs" ABI_X86="(64)" pulled in by <sci-libs/proj-6.0.0:= required by (sci-libs/ogdi-3.2.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="-static-libs" ABI_X86="(64)" ^ ^^^^^ ^