Skip to content
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

hub.docker.com pdal/pdal:1.8 build passes but GDAL is missing #2278

Closed
adamsteer opened this issue Nov 18, 2018 · 4 comments
Closed

hub.docker.com pdal/pdal:1.8 build passes but GDAL is missing #2278

adamsteer opened this issue Nov 18, 2018 · 4 comments

Comments

@adamsteer
Copy link
Contributor

pdal/pdal:1.8 is passing builds on hub.docker.com, but PDAL itself doesn’t appear to be built in the image. Logs here:

https://hub.docker.com/r/pdal/pdal/builds/b29fvgpjsdjc9tnq75aktrd/

report that building PDAL failed:

[91mFindGDAL.cmake: gdal-config not found. Please set it manually: GDAL_CONFIG=GDAL_CONFIG-NOTFOUND
CMake Error at cmake/gdal.cmake:12 (message):
  GDAL support is required
Call Stack (most recent call first):
  CMakeLists.txt:117 (include)

[0m
-- Could NOT find GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR) (Required is at least version "1.9.0”)
-- Configuring incomplete, errors occurred!
See also "/pdal/build/CMakeFiles/CMakeOutput.log".

[91mninja: error: loading 'build.ninja': No such file or directory
[0m

Attempting to run the image results in:

docker run -it pdal/pdal:1.8 pdal --version
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"pdal\": executable file not found in $PATH": unknown.
@adamsteer
Copy link
Contributor Author

in PDAL/scripts:

docker build - < docker/Dockerfile

results in:

..
..
ERROR: 'libressl2.7-libcrypto@edgecommunity' is not a valid child dependency, format is name([<>~=]version)
..
..
ERROR: unsatisfiable constraints:
  libcrypto1.1-1.1.1-r5:
    masked in: @edgemain
    satisfies: gdal-2.3.2-r1[so:libcrypto.so.1.1]
Connecting to download.osgeo.org (140.211.15.132:80)

…everything seems to cascade from there. unpacking the geoid files complains that /usr/share/proj doesn’t exist, then git/cmake/make are not found.

docker build docker does the same. libcrypto seems unhappy :/.

…and my docker-alpine-fu is not yet mojolicious enough to pin the cause down in an instant - working on it.

@abellgithub
Copy link
Contributor

Not sure why this didn't run on docker hub. I built/tested locally right before it got pushed.

I'm not sure you're running the correct Dockerfile locally.

You can use pdal/ubuntu if you need a 1.8 image.

@adamsteer
Copy link
Contributor Author

adamsteer commented Nov 18, 2018

OK. pdal/ubuntu:1.8 runs!

I’m trying to build locally:

PDAL-git-repo/scripts/docker/Dockerfile

thanks!

@adamsteer
Copy link
Contributor Author

closing, the standard docker build is working now. many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants