Describe the bug
unable to finish the install on both ubuntu 24.04 or Debian 12. ends with this error.
containers.go:53: failed to build gdal container: exit status 1
To Reproduce
Steps to reproduce the behavior:
- Fresh install of Ubuntu 24.04 server or Debian 12
- install docker:
Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
Add the repository to Apt sources:
echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- Run sudo ./sequentially-generate-planet-mbtiles--unix-amd64-v3.1.0 -s
Expected behavior
should have set up the environment to produce mbtiles.
Screenshots
ERROR: failed to solve: process "/bin/sh -c if test "${GDAL_VERSION}" = "master"; then export GDAL_VERSION=$(curl -Ls https://api.github.com/repos/${GDAL_REPOSITORY}/commits/HEAD -H "Accept: application/vnd.github.VERSION.sha"); export GDAL_RELEASE_DATE=$(date "+%Y%m%d"); fi && apk add --no-cache cmake && if test "x${GDAL_BUILD_IS_RELEASE}" = "x"; then export GDAL_SHA1SUM=${GDAL_VERSION}; fi && if test "${RSYNC_REMOTE}" != ""; then echo "Downloading cache..."; rsync -ra ${RSYNC_REMOTE}/gdal/$(uname -m)/ $HOME/; echo "Finished"; export CC="ccache gcc"; export CXX="ccache g++"; mkdir -p "$HOME/.ccache"; ccache -M 1G; fi && mkdir gdal && wget -q https://github.com/${GDAL_REPOSITORY}/archive/${GDAL_VERSION}.tar.gz -O - | tar xz -C gdal --strip-components=1 && cd gdal && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGDAL_USE_TIFF_INTERNAL=ON -DGDAL_USE_GEOTIFF_INTERNAL=ON && make -j$(nproc) && make install DESTDIR="/build" && cd .. && if test "${RSYNC_REMOTE}" != ""; then ccache -s; echo "Uploading cache..."; rsync -ra --delete $HOME/.ccache ${RSYNC_REMOTE}/gdal/$(uname -m)/; echo "Finished"; rm -rf $HOME/.ccache; unset CC; unset CXX; fi && cd .. && rm -rf gdal && mkdir -p /build_gdal_version_changing/usr/include && mv /build/usr/lib /build_gdal_version_changing/usr && mv /build/usr/include/gdal_version.h /build_gdal_version_changing/usr/include && mv /build/usr/bin /build_gdal_version_changing/usr && for i in /build_gdal_version_changing/usr/lib/; do strip -s $i 2>/dev/null || /bin/true; done && for i in /build_gdal_version_changing/usr/bin/; do strip -s $i 2>/dev/null || /bin/true; done && (for i in /build/usr/share/gdal/bag*.xml /build/usr/share/gdal/.svg /build/usr/share/gdal/.png /build/usr/share/gdal/gmlas* /build/usr/share/gdal/netcdf_config.xsd ;do rm $i; done) && apk del cmake" did not complete successfully: exit code: 1
2024/05/18 08:41:02 containers.go:53: failed to build gdal container: exit status 1
Describe the bug
unable to finish the install on both ubuntu 24.04 or Debian 12. ends with this error.
containers.go:53: failed to build gdal container: exit status 1
To Reproduce
Steps to reproduce the behavior:
Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
Add the repository to Apt sources:
echo
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" |
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Expected behavior
should have set up the environment to produce mbtiles.
Screenshots${RSYNC_REMOTE}/gdal/$ (uname -m)/ $HOME/; echo "Finished"; export CC="ccache gcc"; export CXX="ccache g++"; mkdir -p "$HOME/.ccache"; ccache -M 1G; fi && mkdir gdal && wget -q https://github.com/${GDAL_REPOSITORY}/archive/${GDAL_VERSION}.tar.gz -O - | tar xz -C gdal --strip-components=1 && cd gdal && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DGDAL_USE_TIFF_INTERNAL=ON -DGDAL_USE_GEOTIFF_INTERNAL=ON && make -j$(nproc) && make install DESTDIR="/build" && cd .. && if test "${RSYNC_REMOTE}" != ""; then ccache -s; echo "Uploading cache..."; rsync -ra --delete $HOME/.ccache $ {RSYNC_REMOTE}/gdal/$(uname -m)/; echo "Finished"; rm -rf $HOME/.ccache; unset CC; unset CXX; fi && cd .. && rm -rf gdal && mkdir -p /build_gdal_version_changing/usr/include && mv /build/usr/lib /build_gdal_version_changing/usr && mv /build/usr/include/gdal_version.h /build_gdal_version_changing/usr/include && mv /build/usr/bin /build_gdal_version_changing/usr && for i in /build_gdal_version_changing/usr/lib/; do strip -s $i 2>/dev/null || /bin/true; done && for i in /build_gdal_version_changing/usr/bin/; do strip -s $i 2>/dev/null || /bin/true; done && (for i in /build/usr/share/gdal/bag*.xml /build/usr/share/gdal/.svg /build/usr/share/gdal/.png /build/usr/share/gdal/gmlas* /build/usr/share/gdal/netcdf_config.xsd ;do rm $i; done) && apk del cmake" did not complete successfully: exit code: 1
ERROR: failed to solve: process "/bin/sh -c if test "${GDAL_VERSION}" = "master"; then export GDAL_VERSION=$(curl -Ls https://api.github.com/repos/${GDAL_REPOSITORY}/commits/HEAD -H "Accept: application/vnd.github.VERSION.sha"); export GDAL_RELEASE_DATE=$(date "+%Y%m%d"); fi && apk add --no-cache cmake && if test "x${GDAL_BUILD_IS_RELEASE}" = "x"; then export GDAL_SHA1SUM=${GDAL_VERSION}; fi && if test "${RSYNC_REMOTE}" != ""; then echo "Downloading cache..."; rsync -ra
2024/05/18 08:41:02 containers.go:53: failed to build gdal container: exit status 1