Open Mikec78660 opened 5 months ago
I also have this issue when running it in windows:
executor failed running [/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]: exit code: 1
2024/06/08 14:31:24 containers.go:53: failed to build gdal container: exit status 1
Did you ever find a workaround/fix for this @Mikec78660 ?
Nope.
I have same Issue .. didn't manage to fix it yet..
That's unfortunate. Makes this project completely useless...
same issue also for me
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 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