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

BLD/RLS: update wheels to include GDAL 3.7.2 #298

Merged

Conversation

jorisvandenbossche
Copy link
Member

Closes #295

Like #248, now updating to GDAL 3.7.2 (microsoft/vcpkg@6298859)

@brendan-ward brendan-ward added this to the 0.7.0 milestone Sep 29, 2023
Copy link
Member

@brendan-ward brendan-ward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this @jorisvandenbossche !

Probably a good idea to update the GDAL docker version in release.yml for test-sdist to ghcr.io/osgeo/gdal:ubuntu-small-3.7.2 to match the GDAL version in the wheels.

@jorisvandenbossche
Copy link
Member Author

Reproducing the linux build failure locally, this is the logs vcpkg produces to open an issue about it:

Package: gdal[core,curl,expat,geos,jpeg,lerc,png,qhull,recommended-features,sqlite3]:x64-linux-dynamic -> 3.7.2

Host Environment

  • Host: x64-linux
  • Compiler: GNU 10.2.1
  • vcpkg-tool version: 2023-09-15-ac02a9f660977426b8ec6392919fbb1d51b10998
    vcpkg-scripts version: 62988594d 2023-09-25 (4 days ago)

To Reproduce

vcpkg install
Failure logs

-- Downloading https://github.com/OSGeo/gdal/archive/v3.7.2.tar.gz -> OSGeo-gdal-v3.7.2.tar.gz...
-- Extracting source /opt/vcpkg/downloads/OSGeo-gdal-v3.7.2.tar.gz
-- Applying patch find-link-libraries.patch
-- Applying patch fix-gdal-target-interfaces.patch
-- Applying patch libkml.patch
-- Applying patch fix-jpeg.patch
-- Using source at /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean
-- Configuring x64-linux-dynamic
-- Building x64-linux-dynamic-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /opt/_internal/pipx/venvs/cmake/lib/python3.10/site-packages/cmake/data/bin/cmake --build . --config Release --target install -- -v -j9
    Working Directory: /opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel
    See logs for more information:
      /opt/vcpkg/buildtrees/gdal/install-x64-linux-dynamic-rel-out.log

Call Stack (most recent call first):
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/portfile.cmake:104 (vcpkg_cmake_install)
  scripts/ports.cmake:147 (include)



/opt/vcpkg/buildtrees/gdal/install-x64-linux-dynamic-rel-out.log
Change Dir: '/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel'

Run Build Command(s): /opt/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -v -v -j9 install
[1/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_atomic_ops.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_atomic_ops.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_atomic_ops.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_atomic_ops.cpp
[2/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_xml_validate.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_xml_validate.cpp
...
Skipped 16 lines
...
[19/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsil_tar.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_vsil_tar.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_vsil_tar.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_vsil_tar.cpp
[20/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_virtualmem.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_virtualmem.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_virtualmem.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_virtualmem.cpp
[21/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_worker_thread_pool.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_worker_thread_pool.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_worker_thread_pool.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_worker_thread_pool.cpp
[22/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_time.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_time.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_time.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_time.cpp
[23/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_hash_set.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_hash_set.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_hash_set.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_hash_set.cpp
[24/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsil_curl_streaming.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_vsil_curl_streaming.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_vsil_curl_streaming.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_vsil_curl_streaming.cpp
[25/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsisimple.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_vsisimple.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_vsisimple.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_vsisimple.cpp
[26/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_getexecpath.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_getexecpath.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_getexecpath.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_getexecpath.cpp
[27/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cplstring.cpp.o -MF port/CMakeFiles/cpl.dir/cplstring.cpp.o.d -o port/CMakeFiles/cpl.dir/cplstring.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cplstring.cpp
[28/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_list.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_list.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_list.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_list.cpp
[29/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_findfile.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_findfile.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_findfile.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_findfile.cpp
[30/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_multiproc.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_multiproc.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_multiproc.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_multiproc.cpp
[31/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_strtod.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_strtod.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_strtod.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_strtod.cpp
[32/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_minixml.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_minixml.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_minixml.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_minixml.cpp
[33/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_csv.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_csv.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_csv.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_csv.cpp
[34/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsi_mem.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_vsi_mem.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_vsi_mem.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_vsi_mem.cpp
[35/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_http.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_http.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_http.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_http.cpp
[36/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cplgetsymbol.cpp.o -MF port/CMakeFiles/cpl.dir/cplgetsymbol.cpp.o.d -o port/CMakeFiles/cpl.dir/cplgetsymbol.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cplgetsymbol.cpp
[37/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_path.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_path.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_path.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_path.cpp
[38/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cplstringlist.cpp.o -MF port/CMakeFiles/cpl.dir/cplstringlist.cpp.o.d -o port/CMakeFiles/cpl.dir/cplstringlist.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cplstringlist.cpp
[39/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsil.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_vsil.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_vsil.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_vsil.cpp
[40/1030] /opt/rh/devtoolset-10/root/usr/bin/cc -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu99 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wfloat-conversion -MD -MT frmts/zlib/contrib/infback9/CMakeFiles/infback9.dir/minified_zutil.c.o -MF frmts/zlib/contrib/infback9/CMakeFiles/infback9.dir/minified_zutil.c.o.d -o frmts/zlib/contrib/infback9/CMakeFiles/infback9.dir/minified_zutil.c.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9/minified_zutil.c
FAILED: frmts/zlib/contrib/infback9/CMakeFiles/infback9.dir/minified_zutil.c.o 
/opt/rh/devtoolset-10/root/usr/bin/cc -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu99 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wfloat-conversion -MD -MT frmts/zlib/contrib/infback9/CMakeFiles/infback9.dir/minified_zutil.c.o -MF frmts/zlib/contrib/infback9/CMakeFiles/infback9.dir/minified_zutil.c.o.d -o frmts/zlib/contrib/infback9/CMakeFiles/infback9.dir/minified_zutil.c.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9/minified_zutil.c
In file included from /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9/minified_zutil.c:8:
/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9/minified_zutil.h:62:15: error: expected ‘;’ before ‘char’
   62 | extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
      |               ^~~~~
      |               ;
[41/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cplkeywordparser.cpp.o -MF port/CMakeFiles/cpl.dir/cplkeywordparser.cpp.o.d -o port/CMakeFiles/cpl.dir/cplkeywordparser.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cplkeywordparser.cpp
[42/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_string.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_string.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_string.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_string.cpp
[43/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_error.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_error.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_error.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_error.cpp
[44/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_conv.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_conv.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_conv.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_conv.cpp
[45/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_alibaba_oss.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_alibaba_oss.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_alibaba_oss.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_alibaba_oss.cpp
[46/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_azure.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_azure.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_azure.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_azure.cpp
[47/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsil_curl.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_vsil_curl.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_vsil_curl.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_vsil_curl.cpp
[48/1030] /opt/rh/devtoolset-10/root/usr/bin/c++ -DCURL_STATICLIB -DDONT_DEPRECATE_SPRINTF -DENABLE_DEFLATE64 -DENABLE_UFFD -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_CURL -DHAVE_LIBZ -DHAVE_PREAD64 -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_ZLIB -DHAVE_ZLIB_H -DINST_DATA=\"/opt/vcpkg/packages/gdal_x64-linux-dynamic/share/gdal\" -DSYSCONFDIR=\"/etc/opt/vcpkg/packages/gdal_x64-linux-dynamic\" -DZIP_SUPPORT -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port -I/opt/vcpkg/buildtrees/gdal/x64-linux-dynamic-rel/port -I/opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/frmts/zlib/contrib/infback9 -I/opt/vcpkg/installed/x64-linux-dynamic/include/json-c -I/opt/vcpkg/installed/x64-linux-dynamic/include -fPIC -fvisibility=hidden -O3 -DNDEBUG -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT port/CMakeFiles/cpl.dir/cpl_vsil_s3.cpp.o -MF port/CMakeFiles/cpl.dir/cpl_vsil_s3.cpp.o.d -o port/CMakeFiles/cpl.dir/cpl_vsil_s3.cpp.o -c /opt/vcpkg/buildtrees/gdal/src/v3.7.2-79e9b709aa.clean/port/cpl_vsil_s3.cpp
ninja: build stopped: subcommand failed.

Additional context

vcpkg.json
{
  "name": "pyogrio",
  "version": "0.4.0",
  "dependencies": [
    {
      "name": "gdal",
      "default-features": false,
      "features": [
        "recommended-features",
        "curl",
        "geos"
      ]
    }
  ],
  "builtin-baseline": "62988594de235334bc83609a060773eb2c8a8478"
}

@jorisvandenbossche
Copy link
Member Author

The build error happens in frmts/zlib/contrib/infback9/minified_zutil.c:8, which was added to GDAL in 3.7 to support deflate64 zip files (OSGeo/gdal#7014).
My current understanding of the problem: this vendored code assumes a more recent zlib version than what we are using here to build with (it uses z_const, which was added in madler/zlib@5ab9f47, which maps to zlib 1.2.5.2).
The custom port for zlib we use (#57) is set to 1.2.5, but we can maybe try to "just" update that to 1.2.5.2 (that should be fine for manylinux, as that's the max version for manylinux2014 policy: https://github.com/pypa/auditwheel/blob/3636dad88d6168aa745684db9ea6a7c6df4d4484/src/auditwheel/policy/manylinux-policy.json#L83)

(another option would be to let GDAL use its internal zlib copy, but that is not enabled in vcpkg, so that would require finding a way to override that, and not sure if that's possible without a custom port of gdal where we just override that one option)

@jorisvandenbossche
Copy link
Member Author

That seems to have worked! The only failures are two windows wheel test builds that regularly fail (segfault at cleanup, #213)

@jorisvandenbossche jorisvandenbossche merged commit 716f2c7 into geopandas:main Sep 30, 2023
@jorisvandenbossche jorisvandenbossche deleted the wheels-gdal-3.7.2 branch September 30, 2023 12:51
@brendan-ward
Copy link
Member

Thanks @jorisvandenbossche ! 💯

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

Successfully merging this pull request may close these issues.

MNT: use latest version of GDAL on vcpkg
2 participants