I have a problem installing dependencies with github actions vcpkg, in particular bzip2.
It works fine with the tag from November 2020 (0bf3923) but fails with the May 2021 tag (5568f11).
I reported this as a run-vcpkg issue first, but there I was told it was a vcpkg issue:
lukka/run-vcpkg#85
There is a failure when installing the bzip2 package, which is why I report this as a bzip2 package failure.
Host Environment
To Reproduce
Use the following github actions:
jobs:
all:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- name: checkout
uses: actions/checkout@v2
- name: install dependencies (Windows)
if: ${{ runner.os == 'Windows' }}
uses: lukka/run-vcpkg@v7
id: runvcpkg
with:
vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092
vcpkgTriplet: x64-windows
vcpkgArguments: zlib bzip2 liblzma zstd
(full file at https://github.com/nih-at/libzip/blob/master/.github/workflows/build.yml)
Failure logs
Running 'vcpkg remove --outdated --recurse ' in directory 'D:\a\libzip\libzip\vcpkg' ...
There are no outdated packages.
Using triplet 'x64-windows'.
Set the environment variable 'RUNVCPKG_VCPKG_TRIPLET' to value: x64-windows
Set the output variable 'RUNVCPKG_VCPKG_TRIPLET_OUT' to value: x64-windows
Running 'vcpkg install --recurse zlib bzip2 liblzma zstd --triplet x64-windows --clean-after-build' in directory 'D:\a\libzip\libzip\vcpkg' ...
Computing installation plan...
The following packages will be built and installed:
bzip2[core]:x64-windows -> 1.0.8#1
liblzma[core]:x64-windows -> 5.2.5#2
zlib[core]:x64-windows -> 1.2.11#10
zstd[core]:x64-windows -> 1.4.9
Detecting compiler hash for triplet x64-windows...
Could not locate cached archive: C:\Users\runneradmin\AppData\Local\vcpkg\archives\43\43b505470d324322516cdf2f8f95df303ec4da8e.zip
Could not locate cached archive: C:\Users\runneradmin\AppData\Local\vcpkg\archives\19\19e7a8b72f5b408a7a16139961f88f4430ebd788.zip
Could not locate cached archive: C:\Users\runneradmin\AppData\Local\vcpkg\archives\3d\3dba13f76ad5a5bd7b46fffcb031c1ed46d375be.zip
Could not locate cached archive: C:\Users\runneradmin\AppData\Local\vcpkg\archives\b8\b8ff9a9ecba3ccb5ada59896c90cdaab1a1d472d.zip
Starting package 1/4: bzip2:x64-windows
Building package bzip2[core]:x64-windows...
-- Fetching https://sourceware.org/git/bzip2.git...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:91 (file):
file failed to open for reading (No such file or directory):
D:/a/libzip/libzip/vcpkg/buildtrees/bzip2/git-init-x64-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_from_git.cmake:85 (vcpkg_execute_required_process)
ports/bzip2/portfile.cmake:1 (vcpkg_from_git)
scripts/ports.cmake:142 (include)
Error: Building package bzip2:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: bzip2:x64-windows
Vcpkg version: 2021-05-05-9f849c4c43e50d1b16186ae76681c27b0c1be9d9
Additionally, attach any relevant sections from the log files above.
Additional context
I also tried running a separate 'vcpkg update' before, but that didn't help.
https://github.com/nih-at/libzip/blob/8f535a9a314eff0b6015ef098108e5ca1f8fe649/.github/workflows/build.yml
I have a problem installing dependencies with github actions vcpkg, in particular bzip2.
It works fine with the tag from November 2020 (0bf3923) but fails with the May 2021 tag (5568f11).
I reported this as a run-vcpkg issue first, but there I was told it was a vcpkg issue:
lukka/run-vcpkg#85
There is a failure when installing the bzip2 package, which is why I report this as a bzip2 package failure.
Host Environment
Microsoft Windows Server 2019
10.0.17763
Datacenter
Virtual Environment
Environment: windows-2019
Version: 20210616.0
Included Software: https://github.com/actions/virtual-environments/blob/win19/20210616.0/images/win/Windows2019-Readme.md
Image Release: https://github.com/actions/virtual-environments/releases/tag/win19%2F20210616.0
To Reproduce
Use the following github actions:
(full file at https://github.com/nih-at/libzip/blob/master/.github/workflows/build.yml)
Failure logs
Additional context
I also tried running a separate 'vcpkg update' before, but that didn't help.
https://github.com/nih-at/libzip/blob/8f535a9a314eff0b6015ef098108e5ca1f8fe649/.github/workflows/build.yml