<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:Aptos;}
@font-face
{font-family:"\@Malgun Gothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hello all,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’m trying to build GDAL python wheels and am having some autotest fails that is preventing the build. I think most if not all of these fails are due to rtree not being available in sqlite. AFAIK I’ve done
everything needed but the build recipe must be missing something.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The dockerfile contents are below and I run it with the command `DOCKER_BUILDKIT=0 docker build -f Dockerfile -t gdal-wheelbuilder`. It gets as far as `ctest -V` then exits with the following test fails:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> 46 - autotest_gdrivers (Failed)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> 48 - autotest_ogr (Failed)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> 50 - autotest_pyscripts (Failed)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Jon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">FROM quay.io/pypa/manylinux_2_28_x86_64<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Arrow install instructions from
<a href="https://arrow.apache.org/install/">https://arrow.apache.org/install/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN dnf update -y \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf groupinstall -y "Development Tools" \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf install -y epel-release \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf install -y <a href="https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(cut">
https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(cut</a> -d: -f5 /etc/system-release-cpe | cut -d. -f1).noarch.rpm \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf install -y <a href="https://packages.apache.org/artifactory/arrow/almalinux/$(cut">
https://packages.apache.org/artifactory/arrow/almalinux/$(cut</a> -d: -f5 /etc/system-release-cpe | cut -d. -f1)/apache-arrow-release-latest.rpm \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf config-manager --set-enabled epel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf config-manager --set-enabled powertools \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf install -y arrow-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf install -y arrow-dataset-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && dnf install -y parquet-devel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN dnf install -y \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> ant \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> autoconf \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> automake \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> bash-completion \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> cmake \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> ca-certificates \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> ccache \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> clang \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> cmake \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> curl-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> doxygen \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> git \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> gnupg \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> gpsbabel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> lcov \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> hdf5-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> json-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> json-c-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libaec-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libdeflate-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libjpeg-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libkml-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libpng-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libpq-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libtiff-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libtool \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libwebp-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libxml2-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> libzstd-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> make \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> minizip-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> numactl \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> openssl-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> openjpeg2-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> pkg-config \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> poppler-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> postgresql \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> postgresql-contrib \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python3-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python38-devel \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python3-lxml \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python3-numpy \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python3-pip \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python3-pytest \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python3-setuptools \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> python3-virtualenv \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> swig \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> unzip \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> wget \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> zip \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> zlib-devel<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Install geos<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN mkdir -p /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && curl -f -L -O <a href="https://download.osgeo.org/geos/geos-3.13.0.tar.bz2">
https://download.osgeo.org/geos/geos-3.13.0.tar.bz2</a> \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && tar jxf geos-3.13.0.tar.bz2 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src/geos-3.13.0 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && mkdir build \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd build \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release .. \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make -j$(nproc) \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make install \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd / \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && rm -rf /src<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Build a SQLite version with -DSQLITE_TRUSTED_SCHEMA=0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN mkdir sqlite \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && wget -q <a href="https://sqlite.org/2023/sqlite-autoconf-3430100.tar.gz">
https://sqlite.org/2023/sqlite-autoconf-3430100.tar.gz</a> -O - \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> | tar xz -C sqlite --strip-components=1 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd sqlite \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && CFLAGS="-O2 -DSQLITE_TRUSTED_SCHEMA=0 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_RTREE" ./configure --prefix=/usr/local/install-sqlite-trusted-schema-off \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make -j$(nproc) \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make -j$(nproc) install \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd .. \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && rm -rf sqlite<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Fix proj version<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN mkdir -p /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && curl -f -L -O <a href="https://download.osgeo.org/proj/proj-9.1.1.tar.gz">
https://download.osgeo.org/proj/proj-9.1.1.tar.gz</a> \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && tar xzf proj-9.1.1.tar.gz \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src/proj-9.1.1 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && mkdir build \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd build \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cmake -DEXE_SQLITE3=/usr/local/install-sqlite-trusted-schema-off/bin/sqlite3 .. \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cmake --build . \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cmake --build . --target install \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && rm -rf /src<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Build libgeotiff (system libgeotiff pulls in system libproj as a dependency)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN mkdir -p /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && curl -f -L -O <a href="https://github.com/OSGeo/libgeotiff/releases/download/1.7.3/libgeotiff-1.7.3.tar.gz">
https://github.com/OSGeo/libgeotiff/releases/download/1.7.3/libgeotiff-1.7.3.tar.gz</a> \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && tar xzf libgeotiff-1.7.3.tar.gz \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd libgeotiff-1.7.3 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && mkdir build_autoconf \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd build_autoconf \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && export LD_LIBRARY_PATH=/usr/local/lib64:/usr/local/lib:/usr/lib:/lib \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && CFLAGS="-Wall -Wextra -Werror" ../configure \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make -j$(nproc) \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make check \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd .. \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && mkdir build_cmake \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd build_cmake \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cmake -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS="-Wall -Wextra -Werror" .. \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make -j$(nproc) \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && rm -rf /src<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Build freexl (spatialite dependency)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN mkdir -p /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && curl -f -L -O <a href="https://www.gaia-gis.it/gaia-sins/freexl-2.0.0.tar.gz">
https://www.gaia-gis.it/gaia-sins/freexl-2.0.0.tar.gz</a> \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && tar xzf freexl-2.0.0.tar.gz \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src/freexl-2.0.0 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && ./configure \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make -j$(nproc) \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make install \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && rm -rf /src<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Build spatialite so it uses correct PROJ and sqlite3<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN mkdir -p /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && curl -f -L -O <a href="https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.1.0.tar.gz">
https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-5.1.0.tar.gz</a> \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && tar xzf libspatialite-5.1.0.tar.gz \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd /src/libspatialite-5.1.0 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && SQLITE3_CFLAGS="-I/usr/local/install-sqlite-trusted-schema-off/include/" SQLITE3_LIBS="-Wl,--enable-new-dtags,-rpath=/usr/local/install-sqlite-trusted-schema-off/lib -L/usr/local/install-sqlite-trusted-schema-off/lib
-lsqlite3" ./configure --disable-rttopo \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make -j$(nproc) \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && make install \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && rm -rf /src<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># configure shared libraries<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN ldconfig -v<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Add GDAL source to container<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># and checkout current branch and commit (see README.md).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Also patch in commits <a href="https://github.com/OSGeo/gdal/commit/b36072fa1539b8ac97ea7864071d3468ac5b49ab">
https://github.com/OSGeo/gdal/commit/b36072fa1539b8ac97ea7864071d3468ac5b49ab</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># and <a href="https://github.com/OSGeo/gdal/commit/222e1c111437f9fd6e43eb384f0903684735750b">
https://github.com/OSGeo/gdal/commit/222e1c111437f9fd6e43eb384f0903684735750b</a> to get rid of<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># arrow/parquet deprecation warnings<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ARG GITHUB_WORKSPACE=/src<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN mkdir -p $GITHUB_WORKSPACE \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd $GITHUB_WORKSPACE \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && git config --global user.email
<a href="mailto:you@example.com">you@example.com</a> \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && git config --global user.name "Your Name" \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && git clone -b release/3.10
<a href="https://github.com/OSGeo/gdal.git">https://github.com/OSGeo/gdal.git</a> superbuild \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd superbuild \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && git checkout 9b7a7c8 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && git cherry-pick b36072fa \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && git cherry-pick 222e1c11<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># Install test requirements<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN python3.8 -m pip install -U pip setuptools numpy importlib_metadata \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && python3.8 -m pip install -r $GITHUB_WORKSPACE/superbuild/autotest/requirements.txt<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">## This section based on build-linux-ubuntu-focal job in .github/workflows/cmake_builds.yml ##<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">ARG CMAKE_UNITY_BUILD=OFF<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># - name: Configure<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN set -eu \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd $GITHUB_WORKSPACE/superbuild \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && export CXXFLAGS="-march=native -O2 -Wodr -flto-odr-type-merging -Werror" \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && export CFLAGS="-O2 -march=native -Werror" \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && mkdir build \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cd build \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && cmake .. \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -Werror=dev \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/install-gdal \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD} \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DGDAL_USE_PUBLICDECOMPWT:BOOL=ON \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DPUBLICDECOMPWT_URL=https://github.com/rouault/PublicDecompWT \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DWERROR_DEV_FLAG="-Werror=dev" \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DPython_LOOKUP_VERSION=3.8 \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DUSE_CCACHE=OFF \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DGDAL_USE_TIFF_INTERNAL=ON \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DGDAL_USE_GEOTIFF_INTERNAL=ON \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DSQLite3_INCLUDE_DIR=/usr/local/install-sqlite-trusted-schema-off/include \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DSQLite3_LIBRARY=/usr/local/install-sqlite-trusted-schema-off/lib/libsqlite3.so \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> -DBUILD_CSHARP_BINDINGS:BOOL=OFF \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && unset CXXFLAGS \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && unset CFLAGS<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># - name: Build<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN GIT_LFS_SKIP_SMUDGE=1 cmake --build $GITHUB_WORKSPACE/superbuild/build -- -j$(nproc)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># - name: test (with command targets)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN cmake --build $GITHUB_WORKSPACE/superbuild/build --target quicktest -- -j$(nproc)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># - name: test (with ctest)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN cd $GITHUB_WORKSPACE/superbuild/build \<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> && ctest -V<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"># - name: install<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">RUN cmake --build $GITHUB_WORKSPACE/superbuild/build --target install -- -j$(nproc)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">## END build-linux-ubuntu-focal job in .github/workflows/cmake_builds.yml ##<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Arial",sans-serif">Jon Morris<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:gray">Software Developer<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:gray">--<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div dir="ltr" style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;font-size:1px;direction:ltr;"><table dir="ltr" cellpadding="0" cellspacing="0" border="0" style="width:100%;direction:ltr;border-collapse:collapse;font-size:1px;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:10px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;color:#4A4A49;font-style:normal;font-weight:700;white-space:nowrap;"><tr style="font-size:14.67px;"><td align="left" style="padding:0;vertical-align:top;font-family:Arial;">e: </td><td align="left" style="padding:0 0 0 4px;vertical-align:top;color:#F6A124;font-family:Arial;font-weight:400;"><a href="mailto:Jon.Morris@jbarisk.com" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#F6A124;">Jon.Morris@jbarisk.com</a></td></tr><tr style="font-size:14.67px;"><td align="left" style="padding:0;vertical-align:top;font-family:Arial;">d:</td><td align="left" style="padding:0 0 0 4px;vertical-align:top;color:#F6A124;font-family:Arial;font-weight:400;">+44 (0)1756 587229<br /></td></tr><tr style="font-size:14.67px;"><td align="left" style="padding:0;vertical-align:top;font-family:Arial;">t: </td><td align="left" style="padding:0 0 0 4px;vertical-align:top;color:#F6A124;font-family:Arial;font-weight:400;"><a href="tel:+44%20(0)1756%20799919" target="_blank" id="LPlnk689713" style="text-decoration:none;color:#F6A124;">+44 (0)1756 799919</a></td></tr><tr style="font-size:0;"><td align="left" style="padding:0;vertical-align:top;"></td><td align="left" style="padding:0 0 0 4px;vertical-align:top;"></td></tr></table></td></tr></table></td></tr><tr style="font-size:14.67px;color:#000001;font-style:normal;font-weight:400;white-space:nowrap;"><td align="left" style="vertical-align:top;font-family:Arial;"><a href="http://www.jbarisk.com/" target="_blank" id="LPlnk689713" title="Click to visit our website" style="text-decoration:none;color:#F6A124;">www.jbarisk.com</a></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:10px 0 0;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td rowspan="3" align="left" style="padding:0 0 5px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:2px 0 14px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;border-collapse:collapse;font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><img src="cid:image958650.png@1D095CB3.16C89895" width="149" height="52" border="0" alt="" style="width:149px;min-width:149px;max-width:149px;height:52px;min-height:52px;max-height:52px;font-size:0;" /></td><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="padding:0 0 0 14px;vertical-align:top;"><img src="cid:image748490.png@E2E2A69A.1E39BBAC" width="31" height="52" border="0" alt="" style="width:31px;min-width:31px;max-width:31px;height:52px;min-height:52px;max-height:52px;font-size:0;" /></td></tr></table></td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:0 0 12px;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="height:30px;border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="padding:0 3px 3px 0;vertical-align:top;"><a href="https://www.linkedin.com/company/jba-risk-management/" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image252124.png@8E9F9841.6955DD45" width="28" height="28" border="0" alt="" style="width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;max-height:28px;font-size:0;" /></a></td></tr></table></td><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;line-height:normal;"><tr style="font-size:0;"><td align="left" style="padding:0 3px 3px 0;vertical-align:top;"><a href="https://www.youtube.com/channel/UC0iatom2jYbW96voW0rlpCw" target="_blank" id="LPlnk689713" style="text-decoration:none;"><img src="cid:image442173.png@312C4418.D54EE6CE" width="28" height="28" border="0" alt="" style="width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;max-height:28px;font-size:0;" /></a></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td><td style="padding:0;"> </td></tr><tr style="font-size:0;"><td style="padding:0;"> </td></tr><tr style="font-size:0;"><td style="padding:0;"> </td></tr></table></td></tr></table></td></tr><tr style="font-size:0;"><td align="left" style="vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;font-size:0;"><tr style="font-size:0;"><td align="left" style="padding:7px 0 5px;border-top:solid 1px #4A4A49;border-right:none;border-bottom:none;border-left:none;vertical-align:top;"><table cellpadding="0" cellspacing="0" border="0" style="white-space:normal;color:#444444;font-size:14.67px;font-family:Calibri,Arial,sans-serif;font-weight:400;font-style:normal;text-align:left;line-height:12px;border-collapse:collapse;"><tr style="font-size:9px;"><td style="font-family:Arial;"><span style="background-color:#FFFFFF;">All JBA Risk Management's email messages contain confidential information and are intended only for the individual(s) named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.</span><br /><span style="background-color:#FFFFFF;">Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system.</span> <br /><span style="background-color:#FFFFFF;">JBA Risk Management Limited is registered in England, company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England</span><span style="color:#000001;">.</span><br /></td></tr></table></td></tr></table></td></tr></table><span style="font-family:remialcxesans;"> <span style="font-family:'template-7e3j9F-6EeuYiSgYeMNe5A';"> </span><span style="font-family:'zone-1';"> </span><span style="font-family:'zones-AQ';"> </span></span></div></body>
</html>