Closed matthewhanson closed 3 years ago
The build fails when building GDAL:
make[3]: Entering directory `/build/gdal/ogr/ogrsf_frmts/elastic'
g++ -std=c++11 -I/build/gdal/port -I/build/gdal/gcore -I/build/gdal/alg -I/build/gdal/ogr -I/build/gdal/ogr/ogrsf_frmts -I/build/gdal/gnm -I/build/gdal/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -O2 -Os -fPIC -fvisibility=hidden -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant -I/build/gdal/ogr/ogrsf_frmts/geojson/libjson -I.. -I../.. -I../geojson -DGNM_ENABLED -I/build/gdal/port -I/usr/local/include -I/usr/local/include -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local/include -DGDAL_COMPILATION -c -o ../o/ogrelasticlayer.o ogrelasticlayer.cpp
In file included from ogr_elastic.h:33:0,
from ogrelasticlayer.cpp:30:
/build/gdal/ogr/ogrsf_frmts/ogrsf_frmts.h: In lambda function:
/build/gdal/ogr/ogrsf_frmts/ogrsf_frmts.h:109:18: error: ‘OGRErr OGRLayer::GetExtentInternal(int, OGREnvelope*, int)’ is protected
OGRErr GetExtentInternal(int iGeomField, OGREnvelope *psExtent, int bForce );
^
ogrelasticlayer.cpp:3513:83: error: within this context
const auto eRet = OGRLayer::GetExtentInternal(iGeomField, psExtent, bForce);
^
make[3]: *** [../o/ogrelasticlayer.o] Error 1
make[3]: Leaving directory `/build/gdal/ogr/ogrsf_frmts/elastic'
Just saw your comment on: https://github.com/OSGeo/gdal/issues/3374
Guess it's an upstream GDAL issue =/
does this help Dockerfile.txt
@danielklim yeah, I was stopped by that GDAL issue and haven't revisited this since. I'll check out the Dockerfile @furick1 posted.
closes #96