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

[bzip2] build failure #18071

Closed
sonder-joker opened this issue May 23, 2021 · 2 comments
Closed

[bzip2] build failure #18071

sonder-joker opened this issue May 23, 2021 · 2 comments
Assignees
Labels
category:question This issue is a question

Comments

@sonder-joker
Copy link

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.
@sonder-joker sonder-joker changed the title bzip2 build failure [bzip2] build failure May 23, 2021
@NancyLi1013 NancyLi1013 added the category:question This issue is a question label May 24, 2021
@NancyLi1013
Copy link
Contributor

Hi @sonder-joker
Thanks for posting this issue.

Can you help check if C:/vcpkg/downloads/git-tmp/.git/shallow.lock exists on your machine? If yes. please try to remove this file and then rebuild this.

@sonder-joker
Copy link
Author

Hi @sonder-joker
Thanks for posting this issue.

Can you help check if C:/vcpkg/downloads/git-tmp/.git/shallow.lock exists on your machine? If yes. please try to remove this file and then rebuild this.

Thanks for your help!I rebuild it successed!

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
Projects
None yet
Development

No branches or pull requests

2 participants