Skip to content

bzip2 build failure #15649

@alhaas

Description

@alhaas

Host Environment

  • OS: Windows
  • Compiler: revision

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

Failure logs
I am having issues with the bzip2 installation. Due to a proxy issue I manually downloaded the file and placed it in the download folder, vcpkg seems to find it and extracts it to the buildtree directory, however from there on the installation fails. Did I miss something when placing files manually in the downloads directory?

Starting package 1/1: bzip2:x86-windows
Building package bzip2[core]:x86-windows...
-- Using cached ***/bzip2-75a94bea3918e612b879d6a11ca64b8689526147.tar.gz
-- Extracting source ***/bzip2-75a94bea3918e612b879d6a11ca64b8689526147.tar.gz
-- Applying patch fix-import-export-macros.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:63 (message):
  Applying patch failed.  Checking patch bzlib.h...

  error: bzlib.h: No such file or directory

Call Stack (most recent call first):
  scripts/cmake/vcpkg_extract_source_archive_ex.cmake:145 (vcpkg_apply_patches)
  scripts/cmake/vcpkg_from_git.cmake:132 (vcpkg_extract_source_archive_ex)
  ports/bzip2/portfile.cmake:1 (vcpkg_from_git)
  scripts/ports.cmake:136 (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: 2020.11.12--unknownhash

Additionally, attach any relevant sections from the log files above.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions