Skip to content

[<libarchive[core] or libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]>]:x64-windows build failure #11481

@ghost

Description

Host Environment

  • OS: [Microsoft Windows [Version 10.0.18363.836]]
  • Compiler: Visual Studio 2019 Version: 16.6.0 VS Tools Version: 14.26.28801

To Reproduce
Steps to reproduce the behavior:
.\vcpkg install libarchive

Failure logs

  • Cut and past the appropriate build messages from the console output.
    Computing installation plan...
    The following packages will be built and installed:
    libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-windows
    Starting package 1/1: libarchive:x64-windows
    Building package libarchive[bzip2,core,libxml2,lz4,lzma,lzo,openssl,zstd]:x64-windows...
    -- Using cached D:/Git/vcpkg.downloads/libarchive-libarchive-cce09646b566c61c2debff58a70da780b8457883.tar.gz
    -- Using source at D:/Git/vs2019.prod/buildtrees/libarchive/src/80b8457883-1ab8492808
    -- Configuring x64-windows
    -- Building x64-windows-dbg
    CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v
    Working Directory: D:/Git/vs2019.prod/buildtrees/libarchive/x64-windows-dbg
    See logs for more information:
    D:\Git\vs2019.prod\buildtrees\libarchive\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/libarchive/portfile.cmake:67 (vcpkg_install_cmake)
scripts/ports.cmake:90 (include)

Error: Building package libarchive: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: libarchive:x64-windows
Vcpkg version: 2020.02.04-nohash-external

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

Additional context

  1. Note: I only entered vcpkg install libarchive which should have only tried to install the core feature
  2. No matter which port features selected it always wants to install all features - reference vcpkg upgrade always installs default features #11479
  3. libarchive with all features installs fine with VS2017

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