<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Hi,<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">I think <span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">libmysqlclient-dev</span> is called <span class="font" style="font-family:menlo, consolas, monospace, sans-serif;">default-libmysqlclient-dev</span> on Debian. Unfortunately, you might have to experiment a little with the package names and repository lists.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Laurentiu<br></div><div style="font-family:Arial;"><br></div><div>On Wed, Feb 15, 2023, at 12:51, Dirk Stenger wrote:<br></div><blockquote type="cite" id="qt" style=""><p>Thanks for all the help. Now, the build of ubuntu-full also
      works.<br></p><p>The reason that I am trying to build it is that I need a Debian
      GDAL Image.<br></p><p>Unfortunately, the command which is derived from the readme,
      leads to an error:<br></p><pre class="qt-code-java">~/git/gdal/docker$ BASE_IMAGE=<span class="qt-code-quote">"debian:11"</span> ubuntu-full/build.sh --platform linux/amd64 --gdal v3.5.0
...
E: Package <span class="qt-code-quote">'libmysqlclient-dev'</span> has no installation candidate
The command <span class="qt-code-quote">'/bin/sh -c . /buildscripts/bh-set-envvars.sh     && apt-get update -y     && DEBIAN_FRONTEND=noninteractive apt-get install -y --fix-missing --no-install-recommends        libopenjp2-7-dev${APT_ARCH_SUFFIX} libcairo2-dev${APT_ARCH_SUFFIX}        python3-dev${APT_ARCH_SUFFIX} python3-numpy${APT_ARCH_SUFFIX} python3-setuptools${APT_ARCH_SUFFIX}        libpng-dev${APT_ARCH_SUFFIX} libjpeg-dev${APT_ARCH_SUFFIX} libgif-dev${APT_ARCH_SUFFIX} liblzma-dev${APT_ARCH_SUFFIX} libgeos-dev${APT_ARCH_SUFFIX}        curl libxml2-dev${APT_ARCH_SUFFIX} libexpat-dev${APT_ARCH_SUFFIX} libxerces-c-dev${APT_ARCH_SUFFIX}        libnetcdf-dev${APT_ARCH_SUFFIX} libpoppler-dev${APT_ARCH_SUFFIX} libpoppler-<span class="qt-code-keyword">private</span>-dev${APT_ARCH_SUFFIX}        libspatialite-dev${APT_ARCH_SUFFIX} librasterlite2-dev${APT_ARCH_SUFFIX} swig ant libhdf4-alt-dev${APT_ARCH_SUFFIX} libhdf5-serial-dev${APT_ARCH_SUFFIX}        libfreexl-dev${APT_ARCH_SUFFIX} unixodbc-dev${APT_ARCH_SUFFIX}  mdbtools-dev${APT_ARCH_SUFFIX} libwebp-dev${APT_ARCH_SUFFIX}        liblcms2-2 libpcre3-dev${APT_ARCH_SUFFIX} libcrypto++-dev${APT_ARCH_SUFFIX} libfyba-dev${APT_ARCH_SUFFIX}        libkml-dev${APT_ARCH_SUFFIX} libmysqlclient-dev${APT_ARCH_SUFFIX} libogdi-dev${APT_ARCH_SUFFIX}        libcfitsio-dev${APT_ARCH_SUFFIX} openjdk-<span class="qt-code-quote">"$JAVA_VERSION"</span>-jdk${APT_ARCH_SUFFIX} libzstd-dev${APT_ARCH_SUFFIX}        libpq-dev${APT_ARCH_SUFFIX} libssl-dev${APT_ARCH_SUFFIX} libboost-dev${APT_ARCH_SUFFIX}        autoconf automake bash-completion libarmadillo-dev${APT_ARCH_SUFFIX}        libopenexr-dev${APT_ARCH_SUFFIX} libheif-dev${APT_ARCH_SUFFIX}        libdeflate-dev${APT_ARCH_SUFFIX} libblosc-dev${APT_ARCH_SUFFIX} liblz4-dev${APT_ARCH_SUFFIX} libbz2-dev${APT_ARCH_SUFFIX}        libbrotli-dev${APT_ARCH_SUFFIX}        libarchive-dev${APT_ARCH_SUFFIX}     && rm -rf /<span class="qt-code-keyword">var</span>/lib/apt/lists/*'</span> returned a non-zero code: 100
<br></pre><p>I assume that is the case because the Dockerfile references
      Ubuntu apt repos?<br></p><p>Is there currently a way to build Debian based Images or do I
      have to adjust the apt repos in the Dockerfile?<br></p><p>Kind regards,<br></p><p>Dirk<br></p><p><br></p><p><br></p><p><br></p><div class="qt-moz-cite-prefix">Am 14.02.23 um 23:53 schrieb Even
      Rouault:<br></div><blockquote type="cite" cite="mid:a5dc3a99-8cb1-d837-6995-d49130af8512@spatialys.com"><div><br></div><div>Le 14/02/2023 à 23:45, Dirk Stenger a écrit :<br></div><blockquote type="cite"><div><br></div><div>Thank you for the help. <br></div><div> <br></div><div> Your proposed solution works for ubuntu-small. <br></div><div> <br></div><div> However, when I am trying to build ubuntu-full, I get a new
        error:<br></div></blockquote><div>Did you "git pull" to get the latest state of the repository ? The
      error you get might come from the fact that you run a Docker build
      based on an outdated recipee which drags the new state of master,
      as the Docker build scripts do not use the GDAL sources of the
      working copy but from the latest master (yeah, quite unusual).
      There has been an update regarding pdfium beginning of December.<br></div><div><br></div></blockquote><pre class="qt-moz-signature" cols="72">-- 
l a t / l o n  GmbH
Im Ellig 1                           53343 Wachtberg, Germany
phone ++49 +228 24 333 784
<a class="qt-moz-txt-link-freetext" href="http://www.lat-lon.de">http://www.lat-lon.de</a>                  <a class="qt-moz-txt-link-freetext" href="http://www.deegree.org">http://www.deegree.org</a>

lat/lon gesellschaft für raumbezogene informationssysteme mbH
Registergericht: Amtsgericht Bonn, HRB 13042
Geschäftsführer: Jens Fitzke und Torsten Friebe<br></pre><div>_______________________________________________<br></div><div>gdal-dev mailing list<br></div><div><a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></div><div><br></div></blockquote><div style="font-family:Arial;"><br></div></body></html>