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 #14974

Closed
trangtv57 opened this issue Dec 7, 2020 · 1 comment
Closed

bzip2 build failure #14974

trangtv57 opened this issue Dec 7, 2020 · 1 comment
Assignees
Labels
category:question This issue is a question

Comments

@trangtv57
Copy link

Host Environment

  • OS: ubuntu 16.04

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

Failure logs
Building package bzip2[core]:x64-linux...
-- Fetching https://sourceware.org/git/bzip2.git...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:108 (message):
Command failed: /usr/bin/git fetch https://sourceware.org/git/bzip2.git 75a94bea3918e612b879d6a11ca64b8689526147 --depth 1 -n
Working Directory:/vcpkg/downloads/git-tmp
Error code: 128
See logs for more information:
../vcpkg/buildtrees/bzip2/git-fetch-x64-linux-err.log

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

Error: Building package bzip2:x64-linux 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-linux
Vcpkg version: 2020.11.12-unknownhash

@JonLiu1993 JonLiu1993 self-assigned this Dec 7, 2020
@JonLiu1993 JonLiu1993 added the category:port-bug The issue is with a library, which is something the port should already support label Dec 7, 2020
@StarGate-One
Copy link
Contributor

@trangtv57 cc: @JonLiu1993

  • You may wish to read issue [vcpkg_from_git] fetching explicit ref using old gits fails [vcpkg_from_git] fetching explicit ref using old gits fails #14424 for background information
    • What version of git is installed?
    • Open a terminal and type git --version
  • We have found older versions of git (at least 2.7.x and older) do not work with some modern created git repositories.
  • An interim fix would be to upgrade the version of git... as Ubuntu 16.04 LTS has an older version of git installed by default.
  • You most likely will have to go outside the normal package manager.

@JonLiu1993 JonLiu1993 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 Dec 21, 2020
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

3 participants