Skip to content

[bzip2] build failure #18071

@sonder-joker

Description

@sonder-joker

Host Environment

  • OS: Windows
  • Compiler: MSVC

To Reproduce
Steps to reproduce the behavior:
./vcpkg install libzippp

Failure logs

Computing installation plan...
The following packages will be built and installed:
  * bzip2[core]:x86-windows -> 1.0.8#1
  * libzip[bzip2,core,default-aes,wincrypto]:x86-windows -> 1.7.3#2
    libzippp[core]:x86-windows -> 4.0-1.7.3#3
  * zlib[core]:x86-windows -> 1.2.11#10
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x86-windows...
-- Automatically setting HTTP(S)_PROXY environment variables to 127.0.0.1:7890
Could not locate cached archive: C:\Users\younger\AppData\Local\vcpkg\archives\12\12b87d13637e912eb6e824e3fb111b660b2704b7.zip
Could not locate cached archive: C:\Users\younger\AppData\Local\vcpkg\archives\a7\a7fd78968d20dec36534d8eec2c917c06c05ee4b.zip
Could not locate cached archive: C:\Users\younger\AppData\Local\vcpkg\archives\ac\ac2be0be243580d14d2d83ce9897c3388fc6cffa.zip
Could not locate cached archive: C:\Users\younger\AppData\Local\vcpkg\archives\36\36bb81e7b885e475b1dc36f010027f228590abdf.zip
Starting package 1/4: bzip2:x86-windows
Building package bzip2[core]:x86-windows...
-- Fetching https://sourceware.org/git/bzip2.git...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
    Command failed: "C:/Program Files/Git/cmd/git.exe" fetch https://sourceware.org/git/bzip2.git 75a94bea3918e612b879d6a11ca64b8689526147 --depth 1 -n
    Working Directory: C:/vcpkg/downloads/git-tmp
    Error code: 128
    See logs for more information:
      C:\vcpkg\buildtrees\bzip2\git-fetch-x86-windows-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_from_git.cmake:91 (vcpkg_execute_required_process)
  ports/bzip2/portfile.cmake:1 (vcpkg_from_git)
  scripts/ports.cmake:141 (include)


Error: Building package bzip2:x86-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:x86-windows
  Vcpkg version: 2021-05-05-9f849c4c43e50d1b16186ae76681c27b0c1be9d9

log content:

fatal: Unable to create 'C:/vcpkg/downloads/git-tmp/.git/shallow.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions