microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.26k stars 6.41k forks source link

[usockets] Build failure #34680

Closed D-Freitas closed 11 months ago

D-Freitas commented 1 year ago

Package: usockets:x64-linux -> 0.8.6#1

Host Environment

To Reproduce

vcpkg install uwebsockets Failure logs

CMake Warning at scripts/cmake/vcpkg_common_functions.cmake:3 (message):
  vcpkg_common_functions has been removed and all values are automatically
  provided in all portfile.cmake invocations.  Please remove
  `include(vcpkg_common_functions)`.
Call Stack (most recent call first):
  ports/usockets/portfile.cmake:1 (include)
  scripts/ports.cmake:168 (include)

-- Downloading https://github.com/uNetworking/uSockets/archive/v0.3.3.tar.gz -> uNetworking-uSockets-v0.3.3.tar.gz...
-- Extracting source /home/davi/development/AgarOSS/Run/vcpkg/downloads/uNetworking-uSockets-v0.3.3.tar.gz
-- Using source at /home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/src/v0.3.3-4d2c1f90c8.clean
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake /home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/src/v0.3.3-4d2c1f90c8.clean -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/home/davi/development/AgarOSS/Run/vcpkg/packages/usockets_x64-linux/debug -DCMAKE_USE_OPENSSL=OFF -DLIBUS_USE_LIBUV= -DCMAKE_MAKE_PROGRAM=/home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/home/davi/development/AgarOSS/Run/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/davi/development/AgarOSS/Run/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_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/home/davi/development/AgarOSS/Run/vcpkg -DZ_VCPKG_ROOT_DIR=/home/davi/development/AgarOSS/Run/vcpkg -D_VCPKG_INSTALLED_DIR=/home/davi/development/AgarOSS/Run/vcpkg/installed -DVCPKG_MANIFEST_INSTALL=OFF -DINSTALL_HEADERS=OFF
    Working Directory: /home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/x64-linux-dbg
    Error code: 1
    See logs for more information:
      /home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/config-x64-linux-dbg-CMakeCache.txt.log
      /home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/config-x64-linux-dbg-out.log
      /home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/config-x64-linux-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:330 (vcpkg_execute_required_process)
  ports/usockets/portfile.cmake:19 (vcpkg_configure_cmake)
  scripts/ports.cmake:168 (include)
/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/config-x64-linux-dbg-CMakeCache.txt.log ``` # This is the CMakeCache file. # For build in directory: /home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/x64-linux-dbg # It was generated by CMake: /home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //No help, variable specified on the command line. BUILD_SHARED_LIBS:UNINITIALIZED=OFF //Path to a program. CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line //Path to a program. CMAKE_AR:FILEPATH=/usr/bin/ar //Choose the type of build, options are: None Debug Release RelWithDebInfo // MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Debug CMAKE_CROSSCOMPILING:BOOL=OFF //CXX compiler CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ //A wrapper around 'ar' adding the appropriate '--plugin' option // for the GCC compiler CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11 //A wrapper around 'ranlib' adding the appropriate '--plugin' option // for the GCC compiler CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11 //Flags used by the CXX compiler during all build types. CMAKE_CXX_FLAGS:STRING=-fPIC //Flags used by the CXX compiler during DEBUG builds. CMAKE_CXX_FLAGS_DEBUG:STRING=-g //Flags used by the CXX compiler during MINSIZEREL builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG //Flags used by the CXX compiler during RELEASE builds. CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG //Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG //C compiler CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc //A wrapper around 'ar' adding the appropriate '--plugin' option // for the GCC compiler CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11 //A wrapper around 'ranlib' adding the appropriate '--plugin' option // for the GCC compiler CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11 //Flags used by the C compiler during all build types. CMAKE_C_FLAGS:STRING=-fPIC //Flags used by the C compiler during DEBUG builds. CMAKE_C_FLAGS_DEBUG:STRING=-g //Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG //Flags used by the C compiler during RELEASE builds. CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG //Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG //Path to a program. CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND //No help, variable specified on the command line. CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION:UNINITIALIZED=ON //Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING= //Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= //Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= //Flags used by the linker during RELEASE builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= //Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= //Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= //No help, variable specified on the command line. CMAKE_EXPORT_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY:UNINITIALIZED=ON //No help, variable specified on the command line. CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY:UNINITIALIZED=ON //Value Computed by CMake. CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/x64-linux-dbg/CMakeFiles/pkgRedirects //No help, variable specified on the command line. CMAKE_INSTALL_BINDIR:STRING=bin //No help, variable specified on the command line. CMAKE_INSTALL_LIBDIR:STRING=lib //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=/home/davi/development/AgarOSS/Run/vcpkg/packages/usockets_x64-linux/debug //No help, variable specified on the command line. CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP:UNINITIALIZED=TRUE //Path to a program. CMAKE_LINKER:FILEPATH=/usr/bin/ld //No help, variable specified on the command line. CMAKE_MAKE_PROGRAM:UNINITIALIZED=/home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/ninja/1.10.2-linux/ninja //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING= //Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= //Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= //Flags used by the linker during the creation of modules during // RELEASE builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= //Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= //Path to a program. CMAKE_NM:FILEPATH=/usr/bin/nm //Path to a program. CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy //Path to a program. CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump //Value Computed by CMake CMAKE_PROJECT_DESCRIPTION:STATIC= //Value Computed by CMake CMAKE_PROJECT_HOMEPAGE_URL:STATIC= //Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=uSockets //Path to a program. CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib //Path to a program. CMAKE_READELF:FILEPATH=/usr/bin/readelf //Flags used by the linker during the creation of shared libraries // during all build types. CMAKE_SHARED_LINKER_FLAGS:STRING= //Flags used by the linker during the creation of shared libraries // during DEBUG builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= //Flags used by the linker during the creation of shared libraries // during MINSIZEREL builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= //Flags used by the linker during the creation of shared libraries // during RELEASE builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= //Flags used by the linker during the creation of shared libraries // during RELWITHDEBINFO builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= //If set, runtime paths are not added when installing shared libraries, // but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO //If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO //Flags used by the linker during the creation of static libraries // during all build types. CMAKE_STATIC_LINKER_FLAGS:STRING= //Flags used by the linker during the creation of static libraries // during DEBUG builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= //Flags used by the linker during the creation of static libraries // during MINSIZEREL builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= //Flags used by the linker during the creation of static libraries // during RELEASE builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= //Flags used by the linker during the creation of static libraries // during RELWITHDEBINFO builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= //Path to a program. CMAKE_STRIP:FILEPATH=/usr/bin/strip CMAKE_SYSTEM_NAME:STRING=Linux CMAKE_SYSTEM_PROCESSOR:STRING=x86_64 //Path to a program. CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=/home/davi/development/AgarOSS/Run/vcpkg/scripts/buildsystems/vcpkg.cmake //No help, variable specified on the command line. CMAKE_USE_OPENSSL:UNINITIALIZED=OFF //If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=ON //Install header files INSTALL_HEADERS:BOOL=OFF //No help, variable specified on the command line. LIBUS_USE_LIBUV:UNINITIALIZED= //Automatically copy dependencies into the output directory for // executables. VCPKG_APPLOCAL_DEPS:BOOL=OFF //No help, variable specified on the command line. VCPKG_CHAINLOAD_TOOLCHAIN_FILE:UNINITIALIZED=/home/davi/development/AgarOSS/Run/vcpkg/scripts/toolchains/linux.cmake //No help, variable specified on the command line. VCPKG_CRT_LINKAGE:UNINITIALIZED=dynamic //No help, variable specified on the command line. VCPKG_CXX_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_CXX_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_CXX_FLAGS_RELEASE:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_C_FLAGS_RELEASE:UNINITIALIZED= //The directory which contains the installed libraries for each // triplet VCPKG_INSTALLED_DIR:PATH=/home/davi/development/AgarOSS/Run/vcpkg/installed //No help, variable specified on the command line. VCPKG_LINKER_FLAGS:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_LINKER_FLAGS_DEBUG:UNINITIALIZED= //No help, variable specified on the command line. VCPKG_LINKER_FLAGS_RELEASE:UNINITIALIZED= //The path to the vcpkg manifest directory. VCPKG_MANIFEST_DIR:PATH= //Use manifest mode, as opposed to classic mode. VCPKG_MANIFEST_MODE:BOOL=OFF //No help, variable specified on the command line. VCPKG_PLATFORM_TOOLSET:UNINITIALIZED=external //Appends the vcpkg paths to CMAKE_PREFIX_PATH, CMAKE_LIBRARY_PATH // and CMAKE_FIND_ROOT_PATH so that vcpkg libraries/packages are // found after toolchain/system libraries/packages. VCPKG_PREFER_SYSTEM_LIBS:BOOL=OFF //Enable the setup of CMAKE_PROGRAM_PATH to vcpkg paths VCPKG_SETUP_CMAKE_PROGRAM_PATH:BOOL=ON //No help, variable specified on the command line. VCPKG_SET_CHARSET_FLAG:UNINITIALIZED=ON //No help, variable specified on the command line. VCPKG_TARGET_ARCHITECTURE:UNINITIALIZED=x64 //Vcpkg target triplet (ex. x86-windows) VCPKG_TARGET_TRIPLET:STRING=x64-linux //Trace calls to find_package() VCPKG_TRACE_FIND_PACKAGE:BOOL=OFF //Enables messages from the VCPKG toolchain for debugging purposes. VCPKG_VERBOSE:BOOL=OFF //(experimental) Automatically copy dependencies into the install // target directory for executables. Requires CMake 3.14. X_VCPKG_APPLOCAL_DEPS_INSTALL:BOOL=OFF //(experimental) Add USES_TERMINAL to VCPKG_APPLOCAL_DEPS to force // serialization. X_VCPKG_APPLOCAL_DEPS_SERIALIZED:BOOL=OFF //No help, variable specified on the command line. Z_VCPKG_ROOT_DIR:UNINITIALIZED=/home/davi/development/AgarOSS/Run/vcpkg //The directory which contains the installed libraries for each // triplet _VCPKG_INSTALLED_DIR:PATH=/home/davi/development/AgarOSS/Run/vcpkg/installed //No help, variable specified on the command line. _VCPKG_ROOT_DIR:UNINITIALIZED=/home/davi/development/AgarOSS/Run/vcpkg //Value Computed by CMake uSockets_BINARY_DIR:STATIC=/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/x64-linux-dbg //Value Computed by CMake uSockets_IS_TOP_LEVEL:STATIC=ON //Value Computed by CMake uSockets_SOURCE_DIR:STATIC=/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/src/v0.3.3-4d2c1f90c8.clean //The directory containing a CMake configuration file for unofficial-libuv. unofficial-libuv_DIR:PATH=unofficial-libuv_DIR-NOTFOUND ######################## # INTERNAL cache entries ######################## //ADVANCED property for variable: CMAKE_ADDR2LINE CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_AR CMAKE_AR-ADVANCED:INTERNAL=1 //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/x64-linux-dbg //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=27 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=/home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=/home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cpack //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=/home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/ctest //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_COMPILER_AR CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER_AR CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_DLLTOOL CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 //Path to cache edit program executable. CMAKE_EDIT_COMMAND:INTERNAL=/home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/ccmake //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 //Name of external makefile project generator. CMAKE_EXTRA_GENERATOR:INTERNAL= //Name of generator. CMAKE_GENERATOR:INTERNAL=Ninja //Generator instance identifier. CMAKE_GENERATOR_INSTANCE:INTERNAL= //Name of generator platform. CMAKE_GENERATOR_PLATFORM:INTERNAL= //Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/src/v0.3.3-4d2c1f90c8.clean //Install .so files without execute permission. CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_NM CMAKE_NM-ADVANCED:INTERNAL=1 //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJCOPY CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJDUMP CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 //Platform information initialized CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RANLIB CMAKE_RANLIB-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_READELF CMAKE_READELF-ADVANCED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=/home/davi/development/AgarOSS/Run/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/share/cmake-3.27 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STRIP CMAKE_STRIP-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_TAPI CMAKE_TAPI-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 //uname command CMAKE_UNAME:INTERNAL=/usr/bin/uname //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //Install the dependencies listed in your manifest: //\n If this is off, you will have to manually install your dependencies. //\n See https://github.com/microsoft/vcpkg/tree/master/docs/specifications/manifests.md // for more info. //\n VCPKG_MANIFEST_INSTALL:INTERNAL=OFF //ADVANCED property for variable: VCPKG_VERBOSE VCPKG_VERBOSE-ADVANCED:INTERNAL=1 //Making sure VCPKG_MANIFEST_MODE doesn't change Z_VCPKG_CHECK_MANIFEST_MODE:INTERNAL=OFF //linker supports push/pop state _CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE ```
/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/config-x64-linux-dbg-out.log ``` -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring incomplete, errors occurred! ```
/home/davi/development/AgarOSS/Run/vcpkg/buildtrees/usockets/config-x64-linux-dbg-err.log ``` CMake Error at /home/davi/development/AgarOSS/Run/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package): Could not find a package configuration file provided by "unofficial-libuv" with any of the following names: unofficial-libuvConfig.cmake unofficial-libuv-config.cmake Add the installation prefix of "unofficial-libuv" to CMAKE_PREFIX_PATH or set "unofficial-libuv_DIR" to a directory containing one of the above files. If "unofficial-libuv" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:16 (find_package) ```
MonicaLiu0311 commented 1 year ago
monica@monica003:/mnt/vcpkg$ ./vcpkg install uwebsockets
Computing installation plan...
The following packages will be built and installed:
  * libuv:x64-linux -> 1.46.0
  * usockets:x64-linux -> 0.8.6#1
    uwebsockets:x64-linux -> 20.45.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Restored 0 package(s) from /home/monica/.cache/vcpkg/archives in 506 us. Use --debug to see more details.
Installing 1/3 libuv:x64-linux...
Building libuv:x64-linux...
-- Using cached libuv-libuv-v1.46.0.tar.gz.
-- Cleaning sources at /mnt/vcpkg/buildtrees/libuv/src/v1.46.0-608af35d5c.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/vcpkg/downloads/libuv-libuv-v1.46.0.tar.gz
-- Applying patch fix-build-type.patch
-- Using source at /mnt/vcpkg/buildtrees/libuv/src/v1.46.0-608af35d5c.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Fixing pkgconfig file: /mnt/vcpkg/packages/libuv_x64-linux/lib/pkgconfig/libuv-static.pc
-- Fixing pkgconfig file: /mnt/vcpkg/packages/libuv_x64-linux/debug/lib/pkgconfig/libuv-static.pc
-- Installing: /mnt/vcpkg/packages/libuv_x64-linux/share/libuv/usage
-- Installing: /mnt/vcpkg/packages/libuv_x64-linux/share/libuv/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 103 ms.
Elapsed time to handle libuv:x64-linux: 2.3 s
Installing 2/3 usockets:x64-linux...
Building usockets:x64-linux...
-- Using cached uNetworking-uSockets-v0.8.6.tar.gz.
-- Cleaning sources at /mnt/vcpkg/buildtrees/usockets/src/v0.8.6-52f28e01ae.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/vcpkg/downloads/uNetworking-uSockets-v0.8.6.tar.gz
-- Using source at /mnt/vcpkg/buildtrees/usockets/src/v0.8.6-52f28e01ae.clean
-- Configuring x64-linux
-- Building x64-linux-dbg
-- Building x64-linux-rel
-- Installing: /mnt/vcpkg/packages/usockets_x64-linux/share/usockets/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 14 ms.
Elapsed time to handle usockets:x64-linux: 644 ms
Installing 3/3 uwebsockets:x64-linux...
Building uwebsockets:x64-linux...
-- Using cached uNetworking-uWebSockets-v20.45.0.tar.gz.
-- Cleaning sources at /mnt/vcpkg/buildtrees/uwebsockets/src/v20.45.0-5337ef9b22.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/vcpkg/downloads/uNetworking-uWebSockets-v20.45.0.tar.gz
-- Using source at /mnt/vcpkg/buildtrees/uwebsockets/src/v20.45.0-5337ef9b22.clean
-- Installing: /mnt/vcpkg/packages/uwebsockets_x64-linux/share/uwebsockets/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 11.5 ms.
Elapsed time to handle uwebsockets:x64-linux: 53.2 ms
Total install time: 3 s
uwebsockets is header-only and can be used from CMake via:

    find_path(UWEBSOCKETS_INCLUDE_DIRS "uwebsockets/App.h")
    target_include_directories(main PRIVATE ${UWEBSOCKETS_INCLUDE_DIRS})

Since https://github.com/microsoft/vcpkg/pull/24745, the cmake file has been exported upstream, so currently it is not unofficial-libuvConfig.cmake but libuvConfig.cmake.

Please try these steps:

./vcpkg remove libuv:x64-linux usockets:x64-linux uwebsockets:x64-linux --recurse 
./vcpkg install uwebsockets:x64-linux --binarysource=clear
dg0yt commented 1 year ago

Package: usockets:x64-linux -> 0.8.6#1

What you want is not what you get:


-- Downloading https://github.com/uNetworking/uSockets/archive/v0.3.3.tar.gz -> uNetworking-uSockets-v0.3.3.tar.gz...
-- Extracting source /home/davi/development/AgarOSS/Run/vcpkg/downloads/uNetworking-uSockets-v0.3.3.tar.gz

0.3.3 !

github-actions[bot] commented 11 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.