OSGeo / libgeotiff

Official repository of the libgeotiff project
183 stars 70 forks source link

appveyor cmake install trouble #94

Closed schwehr closed 11 months ago

schwehr commented 11 months ago

I'm seeing a CMake install error on the appveyor builds. I tried downloading the zip on my local linux machine and I can and I can do a unzip -l on it, but I don't know what specifically is wrong.

Build started
Fetching repository commit (836[2](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L2)a69)...OK
Total: 4 MB in [3](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L3)25 files
echo build_script
build_script
set "BUILD_FOLDER=%APPVEYOR_BUILD_FOLDER:\=/%"
if "%platform%" == "x6[4](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L4)" SET VS_FULL=%VS_VERSION% Win64
if "%platform%" == "x86" SET VS_FULL=%VS_VERSION%
echo "%VS_FULL%"
"Visual Studio 1[5](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L5) Win[6](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L6)4"
git clone https://github.com/microsoft/vcpkg
Cloning into 'vcpkg'...
Updating files: 100% (10[7](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L7)43/10743), done.
cd vcpkg
bootstrap-vcpkg.bat
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2023-09-15/vcpkg.exe -> C:\projects\libgeotiff\vcpkg\vcpkg.exe... done.
Validating signature... done.
vcpkg package management program version 2023-09-15-ac02a9f660977426b[8](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L8)ec63[9](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L9)2919fbb1d51b[10](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L10)998
See LICENSE.txt for license information.
Telemetry
---------
vcpkg collects usage data in order to help us improve your experience.
The data collected by Microsoft is anonymous.
You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
passing --disable-metrics to vcpkg on the command line,
or by setting the VCPKG_DISABLE_METRICS environment variable.
Read more about vcpkg telemetry at docs/about/privacy.md
set PATH=%CD%;%PATH%
cd ..
vcpkg install tiff:"%platform%"-windows
Computing installation plan...
A suitable version of cmake was not found (required v3.27.1) Downloading portable cmake 3.27.1...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.27.1/cmake-3.27.1-windows-i386.zip->C:\projects\libgeotiff\vcpkg\downloads\cmake-3.27.1-windows-i386.zip
Downloading https://github.com/Kitware/CMake/releases/download/v3.27.1/cmake-3.27.1-windows-i386.zip
Extracting cmake...
'CMake' failed while extracting C:\projects\libgeotiff\vcpkg\downloads\cmake-3.[27](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L27).1-windows-i[38](https://ci.appveyor.com/project/OSGeo/libgeotiff/builds/48299944/job/wolns9jbx3gkjw4g#L38)6.zip.
schwehr commented 11 months ago

I see reference tov vcpkg with the same failure here: https://github.com/microsoft/vcpkg/issues/33904