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

[gdal] build failure #38168

Closed
Bzz2745 opened this issue Apr 13, 2024 · 3 comments
Closed

[gdal] build failure #38168

Bzz2745 opened this issue Apr 13, 2024 · 3 comments
Assignees
Labels
category:question This issue is a question Stale

Comments

@Bzz2745
Copy link

Bzz2745 commented Apr 13, 2024

Operating system

Windows

Compiler

MSVC vs143

Steps to reproduce the behavior

`./vcpkg install gdal[aws-ec2-windows,cfitsio,core,curl,default-features,expat,freexl,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,poppler,postgresql,qhull,recommended-features,sqlite3,supported-default-features,system-libraries,tools,webp,zstd]:x64-windows`

Failure logs

Installing 1/91 gdal[aws-ec2-windows,cfitsio,core,curl,default-features,expat,freexl,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,poppler,postgresql,qhull,recommended-features,sqlite3,supported-default-features,system-libraries,tools,webp,zstd]:[email protected]...
Building gdal[aws-ec2-windows,cfitsio,core,curl,default-features,expat,freexl,geos,gif,hdf5,iconv,jpeg,lerc,libkml,libspatialite,libxml2,lzma,netcdf,openjpeg,openssl,pcre2,png,poppler,postgresql,qhull,recommended-features,sqlite3,supported-default-features,system-libraries,tools,webp,zstd]:[email protected]...
-- Using cached OSGeo-gdal-v3.8.4.tar.gz.
-- Extracting source C:/Users/bazunzhi/opt/vcpkg/downloads/OSGeo-gdal-v3.8.4.tar.gz
-- Applying patch find-link-libraries.patch
-- Applying patch fix-gdal-target-interfaces.patch
-- Applying patch libkml.patch
-- Applying patch target-is-valid.patch
-- Using source at C:/Users/bazunzhi/opt/vcpkg/buildtrees/gdal/src/v3.8.4-21e5819874.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
Working Directory: C:/Users/bazunzhi/opt/vcpkg/buildtrees/gdal/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\Users\bazunzhi\opt\vcpkg\buildtrees\gdal\config-x64-windows-dbg-CMakeCache.txt.log
C:\Users\bazunzhi\opt\vcpkg\buildtrees\gdal\config-x64-windows-rel-CMakeCache.txt.log
C:\Users\bazunzhi\opt\vcpkg\buildtrees\gdal\config-x64-windows-out.log

Additional context

config-x64-windows-rel-CMakeCache.txt.log
config-x64-windows-dbg-CMakeCache.txt.log
config-x64-windows-out.log

@Bzz2745 Bzz2745 added the category:port-bug The issue is with a library, which is something the port should already support label Apr 13, 2024
@dg0yt
Copy link
Contributor

dg0yt commented Apr 13, 2024

Don't use CMake 3.29.1: #37968
Replace CMake, and reinstall all packages that were built with this version.

@MonicaLiu0311 MonicaLiu0311 added category:question This issue is a question and removed category:port-bug The issue is with a library, which is something the port should already support labels Apr 15, 2024
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label May 14, 2024
@MonicaLiu0311
Copy link
Contributor

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question Stale
Projects
None yet
Development

No branches or pull requests

3 participants