<div dir="ltr"><div><span style="font-family:monospace">Even, <br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Now I'm getting build errors<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">git fetch origin pull/6079/head:test</span></div><div><span style="font-family:monospace">git checkout test<br></span></div><div><span style="font-family:monospace">
<span style="font-family:monospace">Edit 
docker/ubuntu-full/Dockerfile; set 
ARG WITH_FILEGDB=yes</span>

</span></div><div><b><span style="font-family:monospace">ubuntu-full/build.sh --release --gdal v3.5.1 --proj master</span></b></div><div><span style="font-family:monospace">...<br></span></div><div><span style="font-family:monospace">#26 179.4 copying build/lib.linux-x86_64-3.10/osgeo/_<a href="http://gdal.cpython-310-x86_64-linux-gnu.so" target="_blank">gdal.cpython-310-x86_64-linux-gnu.so</a> -> osgeo<br>#26 179.4 copying build/lib.linux-x86_64-3.10/osgeo/_<a href="http://gdalconst.cpython-310-x86_64-linux-gnu.so" target="_blank">gdalconst.cpython-310-x86_64-linux-gnu.so</a> -> osgeo<br>#26 179.4 copying build/lib.linux-x86_64-3.10/osgeo/_<a href="http://osr.cpython-310-x86_64-linux-gnu.so" target="_blank">osr.cpython-310-x86_64-linux-gnu.so</a> -> osgeo<br>#26 179.4 copying build/lib.linux-x86_64-3.10/osgeo/_<a href="http://ogr.cpython-310-x86_64-linux-gnu.so" target="_blank">ogr.cpython-310-x86_64-linux-gnu.so</a> -> osgeo<br>#26 179.4 copying build/lib.linux-x86_64-3.10/osgeo/_<a href="http://gnm.cpython-310-x86_64-linux-gnu.so" target="_blank">gnm.cpython-310-x86_64-linux-gnu.so</a> -> osgeo<br>#26 179.4 copying build/lib.linux-x86_64-3.10/osgeo/_<a href="http://gdal_array.cpython-310-x86_64-linux-gnu.so" target="_blank">gdal_array.cpython-310-x86_64-linux-gnu.so</a> -> osgeo<br>#26 179.4 [ 93%] Built target python_binding<br>#26 179.4 make: *** [Makefile:146: all] Error 2<br>------<br><b>executor failed running [/bin/sh -c . /buildscripts/bh-set-envvars.</b><b>sh     && /buildscripts/bh-gdal.sh]: exit code: 2</b></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">If I try a non release master build I get something totally different<br></span></div><div><span style="font-family:monospace">ubuntu-full/build.sh --gdal master --proj master</span></div><div><span style="font-family:monospace">or</span></div><div><span style="font-family:monospace">
<span style="font-family:monospace">ubuntu-full/build.sh </span>

</span></div><div><span style="font-family:monospace">Error response from daemon: network mode "docker_build_gdal" not supported by buildkit</span></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 14, 2022 at 2:00 AM Even Rouault <<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Travis,</p>
    <p>Can you try the patch at <a href="https://github.com/OSGeo/gdal/pull/6079" target="_blank">https://github.com/OSGeo/gdal/pull/6079</a>
      ? (the FileGDB part wasn't correctly ported when the Docker images
      have been ported to CMake builds)</p>
    <p>Even<br>
    </p>
    <div>Le 14/07/2022 à 02:20, Travis
      Featherston a écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div><span>I'm unable to see the ESRI FileGDB driver after
            enabling it in the Dockerfile<br>
          </span></div>
        <div><span><br>
          </span></div>
        <div><span>Steps</span></div>
        <div><span>1) git clone <a href="https://github.com/OSGeo/gdal.git" target="_blank">https://github.com/OSGeo/gdal.git</a></span></div>
        <div><span>2) Edit docker/ubuntu-full/Dockerfile; set ARG
            WITH_FILEGDB=yes<br>
          </span></div>
        <div><span>3) ubuntu-full/build.sh --release --gdal v3.5.1
            --proj master</span></div>
        <div><span>4) docker run --rm osgeo/gdal:ubuntu-full-v3.5.1
            ogr2ogr --formats |grep -i gdb</span></div>
        <div><span><br>
          </span></div>
        <div><span>Result</span></div>
        <div><span>It seems to build successfully without any
            warning/errors but only the Open driver is available.<br>
          </span></div>
        <div><span>OpenFileGDB -vector- (rov): ESRI FileGDB</span></div>
        <div><span><br>
          </span></div>
        <div><span>Digging into the dockerfile and images ...<br>
          </span></div>
        <div><span><br>
          </span></div>
        <div><span>osgeo/gdal:ubuntu-full-v3.5.1_builder</span></div>
        <div><span>  /usr/local/FileGDB_API/lib/</span></div>
        <div><span>    libFileGDBAPI.so  libfgdbunixrtl.a
             libfgdbunixrtl.so</span></div>
        <div><span><br>
          </span></div>
        <div><span>  /build_thirdparty/usr/lib/</span></div>
        <div><span>    libFileGDBAPI.so  libfgdbunixrtl.a
             libfgdbunixrtl.so<br>
          </span></div>
        <div><span><br>
          </span></div>
        <div><span>  /usr/local/FileGDB_API/include/</span></div>
        <div><span>    FileGDBAPI.h  FileGDBCore.h  Geodatabase.h
             GeodatabaseManagement.h  Raster.h  Row.h  Table.h  Util.h
             make.include</span></div>
        <div><span>  <br>
          </span></div>
        <div><span>  /usr/include/</span></div>
        <div><span>    FileGDBAPI.h  FileGDBCore.h  Geodatabase.h
             GeodatabaseManagement.h  Raster.h  Row.h  Table.h  Util.h
             make.include</span>
        </div>
        <div><span><br>
          </span></div>
        <div><span>osgeo/gdal:ubuntu-full-v3.5.1 <br>
          </span></div>
        <div><span>  /usr/lib</span></div>
        <div><span>    libFileGDBAPI.so  libfgdbunixrtl.a
             libfgdbunixrtl.so <br>
          </span></div>
        <div><span>  <br>
          </span></div>
        <div><span>  /usr/include/</span></div>
        <div><span>    <none of the header files are here, were they
            only needed during the gdal compile?></span></div>
        <div><span><br>
          </span></div>
        <div><span>Is there a disconnect between these two lines in the
            docker file?<br>
          </span></div>
        <div><span>Line #175 && cp
            /usr/local/FileGDB_API/include/* /usr/include \ <br>
          </span></div>
        <div><span>Line #319 <span>COPY</span>
            --from=builder /build/usr/include/ /usr/include/ <br>
          </span></div>
        <div><span><br>
          </span></div>
        <div><span><br>
          </span></div>
        <div><span>Any thoughts? <br>
          </span></div>
        <div><span></span></div>
        <div><span><br>
          </span></div>
        <div><span>My local env is wsl2 Ubuntu 22.04, with buildkit
            enabled<br>
          </span></div>
        <div><span><br>
          </span></div>
        <div><span>Thanks,</span></div>
        <div><span>Travis<br>
          </span></div>
        <div><span><span><br>
            </span></span></div>
        <div><span><span><br>
            </span></span></div>
        <div><span><span><br>
            </span>
          </span></div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </div>

</blockquote></div>