defaultbranch / pdal-debian-package

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

PDAL-2.7.2 does not compile with Debian's gdal 3.6.2 #1

Closed defaultbranch closed 2 months ago

defaultbranch commented 2 months ago

It seems that Debian's gdal-3.6.2 is not sufficient to compile PDAL-2.7.2.

When building, a test failes with gdalinfo: not found.

Rerunning the test in the container:

$ podman run --rm -it 713215ee8ab
root@421e727ecf5f:/PDAL# ./build/bin/pdal_filters_shell_test
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ShellFilterTest
[ RUN      ] ShellFilterTest.test_shell_filter
sh: 1: gdalinfo: not found
unknown file: Failure
C++ exception with description "Command 'gdalinfo -json /PDAL/test/data/gdal/int16.tif' failed to execute with output ''" thrown in the test body.
[  FAILED  ] ShellFilterTest.test_shell_filter (42 ms)
[----------] 1 test from ShellFilterTest (42 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (42 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ShellFilterTest.test_shell_filter

 1 FAILED TEST
defaultbranch commented 2 months ago

Turns out gdalinfo is shipped in another Debian package, gdal-bin.

defaultbranch commented 2 months ago

This test passes when package gdal-bin is installed.