Skip to content

libzip build failure - Applying patch failed!! #8896

@ghost

Description

Host Environment

  • OS: Windows 10 Pro 1903 (OS Build 18362.449) x64
  • Compiler: VC 2017 v15.9.17 Toolset v141 and VC 2019 16.3.7 Toolset v142

To Reproduce
Steps to reproduce the behavior:
.\vcpkg install libzip[bzip2,core,openssl]:x64-windows

Failure logs
-Cut and past the appropriate build messages from the console output.

The following packages will be built and installed:
libzip[bzip2,core,openssl]:x64-windows
Starting package 1/1: libzip:x64-windows
Building package libzip[bzip2,core,openssl]:x64-windows...
-- Using cached E:/Git/vcpkg.downloads/nih-at-libzip-rel-1-5-2.tar.gz
-- Extracting source E:/Git/vcpkg.downloads/nih-at-libzip-rel-1-5-2.tar.gz
-- Applying patch avoid_computation_on_void_pointer.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:52 (message):
Applying patch failed. Patch needs to be updated to work with source being
used by vcpkg!

Call Stack (most recent call first):
scripts/cmake/vcpkg_extract_source_archive_ex.cmake:134 (vcpkg_apply_patches)
scripts/cmake/vcpkg_from_github.cmake:114 (vcpkg_extract_source_archive_ex)
ports/libzip/portfile.cmake:2 (vcpkg_from_github)
scripts/ports.cmake:94 (include)

Error: Building package libzip: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: libzip:x64-windows
Vcpkg version: 2019.09.12-nohash

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

-Please attach any additional failure logs mentioned in the console output.
patch-x64-windows-0-err.log

Additional context
No other information.

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions