Skip to content

[curlpp:x64-windows] build failure #10525

@ghost

Description

Host Environment

  • OS: [Microsoft Windows [Version 10.0.18363.720]]
  • Compiler: Visual Studio 2019 Version: 16.5.0 VS Tools Version: 14.25.28610

To Reproduce
Steps to reproduce the behavior:
'.\vcpkg.exe install curlpp:x64-windows'

Failure logs

  • Console Output:
    -- Using cached D:/Git/vcpkg.downloads/jpbarrette-curlpp-8810334c830faa3b38bcd94f5b1ab695a4f05eb9.tar.gz
    -- Using source at D:/Git/vs2019.prod/buildtrees/curlpp/src/95a4f05eb9-6c154942c9
    -- Configuring x64-windows
    CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: ninja -v
    Working Directory: D:/Git/vs2019.prod/buildtrees/curlpp/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
    D:\Git\vs2019.prod\buildtrees\curlpp\config-x64-windows-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:295 (vcpkg_execute_required_process)
ports/curlpp/portfile.cmake:11 (vcpkg_configure_cmake)
scripts/ports.cmake:90 (include)

Additional context
From the above attached logs it appears the process cannot find ports it depends on:

CMake Error at D:/Git/vs2019.prod/scripts/buildsystems/vcpkg.cmake:217 (_add_library):
Target "curlpp" links to target "OpenSSL::Crypto" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:89 (add_library)

CMake Error at D:/Git/vs2019.prod/scripts/buildsystems/vcpkg.cmake:217 (_add_library):
Target "curlpp" links to target "ZLIB::ZLIB" but the target was not found.
Perhaps a find_package() call is missing for an IMPORTED target, or an
ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:89 (add_library)

CMake Warning (dev) at D:/Git/vs2019.prod/scripts/buildsystems/vcpkg.cmake:217 (_add_library):
Policy CMP0003 should be set before this line. Add code such as

if(COMMAND cmake_policy)
  cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "curlpp" links to some libraries for which the linker must
search:

wldap32, winmm, ws2_32, advapi32, crypt32, advapi32, OpenSSL::SSL
OpenSSL::Crypto, ZLIB::ZLIB, crypt32, OpenSSL::SSL, OpenSSL::Crypto
ZLIB::ZLIB

and other libraries with known full path:

D:/Git/vs2019.prod/installed/x64-windows/debug/lib/libcurl-d.lib
D:/Git/vs2019.prod/installed/x64-windows/lib/cares.lib

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