-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with gdal in docker install #27
Comments
I also have this issue when running it in windows:
|
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 |
While we're waiting for lambdajack/gdal#1 (comment) to be merged, you can give https://github.com/Audiotape-2/sequentially-generate-planet-mbtiles/releases a shot |
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
The text was updated successfully, but these errors were encountered: