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

[drogon] build failure #12760

Closed
rustatian opened this issue Aug 5, 2020 · 2 comments · Fixed by #12931
Closed

[drogon] build failure #12760

rustatian opened this issue Aug 5, 2020 · 2 comments · Fixed by #12931
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@rustatian
Copy link

Host Environment

  • OS: ArchLinux
  • Compiler: gcc (GCC) 10.1.0

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

Failure logs

Computing installation plan...
The following packages will be built and installed:
    drogon[core]:x64-linux
Detecting compiler hash for triplet x64-linux...
Starting package 1/1: drogon:x64-linux
Building package drogon[core]:x64-linux...
Could not locate cached archive: /home/valery/.cache/vcpkg/archives/81/81616a4c99a9d142fa1a9c55acfe4bfe0e8fc4e1.zip
-- Using cached /home/valery/Cache/vcpkg/downloads/an-tao-drogon-v1.0.0-beta18.tar.gz
-- Cleaning sources at /home/valery/Cache/vcpkg/buildtrees/drogon/src/0.0-beta18-aa4dfb0262.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/valery/Cache/vcpkg/downloads/an-tao-drogon-v1.0.0-beta18.tar.gz
-- Applying patch vcpkg.patch
-- Applying patch drogon_ctl_install.patch
-- Using source at /home/valery/Cache/vcpkg/buildtrees/drogon/src/0.0-beta18-aa4dfb0262.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: /home/valery/Cache/vcpkg/downloads/tools/cmake-3.17.2-linux/cmake-3.17.2-Linux-x86_64/bin/cmake /home/valery/Cache/vcpkg/buildtrees/drogon/src/0.0-beta18-aa4dfb0262.clean -DBUILD_EXAMPLES=OFF -DCMAKE_MAKE_PROGRAM=/home/valery/Cache/vcpkg/downloads/tools/ninja-1.10.0-linux/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/valery/Cache/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/home/valery/Cache/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/home/valery/Cache/vcpkg -D_VCPKG_INSTALLED_DIR=/home/valery/Cache/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/valery/Cache/vcpkg/packages/drogon_x64-linux
    Working Directory: /home/valery/Cache/vcpkg/buildtrees/drogon/x64-linux-rel
    Error code: 1
    See logs for more information:
      /home/valery/Cache/vcpkg/buildtrees/drogon/config-x64-linux-rel-out.log
      /home/valery/Cache/vcpkg/buildtrees/drogon/config-x64-linux-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:319 (vcpkg_execute_required_process)
  ports/drogon/portfile.cmake:12 (vcpkg_configure_cmake)
  scripts/ports.cmake:79 (include)


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

In the config-x64-linux-rel-err.log

CMake Error at cmake_modules/Findpg.cmake:16 (set_target_properties):
  Property INTERFACE_LINK_LIBRARIES may not contain link-type keyword
  "optimized".  The INTERFACE_LINK_LIBRARIES property may contain
  configuration-sensitive generator-expressions which may be used to specify
  per-configuration rules.
Call Stack (most recent call first):
  /home/valery/Cache/vcpkg/scripts/buildsystems/vcpkg.cmake:455 (_find_package)
  CMakeLists.txt:164 (find_package
@JonLiu1993 JonLiu1993 added the category:port-bug The issue is with a library, which is something the port should already support label Aug 6, 2020
@yay
Copy link

yay commented Aug 13, 2020

Same issue on macOS Catalina 10.15.6, Xcode 11.6.

@yay
Copy link

yay commented Aug 13, 2020

I created a related issue here: drogonframework/drogon#536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants