[curl] Build error

Package: curl[brotli,c-ares,core,http2,idn,idn2,mbedtls,non-http,openssl,schannel,ssh,ssl,sspi,tool,websockets,winidn,winldap]:x64-windows -> 8.1.2
Host Environment

Host: x64-windows
Compiler: MSVC 19.36.32535.0
vcpkg-tool version: 2023-06-15-8c254a5fb6c503615834fc66bd0717664a339a2e
vcpkg-scripts version: 8be970aae 2023-06-26 (2 hours ago)

To Reproduce
vcpkg install --clean-buildtrees-after-build curl[brotli,c-ares,http2,idn,idn2,mbedtls,non-http,openssl,schannel,ssh,ssl,sspi,tool,websockets,winidn,winldap]:x64-windows libssh2[zlib]:x64-windows
Failure logs
-- Using cached curl-curl-curl-8_1_2.tar.gz.
-- Extracting source K:/data/depot/git/vcpkg/downloads/curl-curl-curl-8_1_2.tar.gz
-- Applying patch 0002_fix_uwp.patch
-- Applying patch 0005_remove_imp_suffix.patch
-- Applying patch 0012-fix-dependency-idn2.patch
-- Applying patch 0020-fix-pc-file.patch
-- Applying patch 0022-deduplicate-libs.patch
-- Applying patch mbedtls-ws2_32.patch
-- Applying patch export-components.patch
-- Applying patch 0023-fix-find-cares.patch
-- Using source at K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean
-- Using cached mingw-w64-i686-pkgconf-1~1.8.0-2-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
-- Using msys root at K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
    Working Directory: K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-rel/vcpkg-parallel-configure
    Error code: 1
    See logs for more information:
      K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-dbg-CMakeCache.txt.log
      K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-rel-CMakeCache.txt.log
      K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
  ports/curl/portfile.cmake:65 (vcpkg_cmake_configure)
  scripts/ports.cmake:147 (include)

K:\data\depot\git\vcpkg\buildtrees\curl\config-x64-windows-out.log
[1/2] "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=K:/data/depot/git/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=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt
"K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir ".." "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=K:/data/depot/git/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=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The C compiler identification is MSVC 19.36.32535.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake:75 (get_target_property):
  get_target_property() called with non-existent target "Libssh2::libssh2".
Call Stack (most recent call first):
  CMakeLists.txt:72 (project)

-- Found PkgConfig: K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe (found version "1.8.0")
-- Checking for module 'libidn2'
--   Found libidn2, version 2.3.4
-- curl version=[8.1.2-DEV]
-- Looking for getch in ws2_32;c-ares::cares
-- Looking for getch in ws2_32;c-ares::cares - found
-- Looking for getch in winmm;ws2_32;c-ares::cares
-- Looking for getch in winmm;ws2_32;c-ares::cares - found
-- Found OpenSSL: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/libcrypto.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/libcrypto.lib (found version "3.1.1")
-- Looking for OPENSSL_IS_BORINGSSL
-- Looking for OPENSSL_IS_BORINGSSL - not found
-- Looking for OPENSSL_IS_AWSLC
-- Looking for OPENSSL_IS_AWSLC - not found
-- Found PThreads4W: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib
-- PThreads4W_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../bin
-- PThreads4W_DEBUG_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../debug/bin
-- Found mbedTLS: K:/data/depot/git/vcpkg/installed/x64-windows/include (found version "2.28.1")
-- Found ZLIB: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/zlib.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.13")
-- Found NGHTTP2: K:/data/depot/git/vcpkg/installed/x64-windows/lib/nghttp2.lib
-- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/nghttp2.lib
-- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/lib/nghttp2.lib - found
-- Looking for include file winldap.h
-- Looking for include file winldap.h - not found
-- Looking for include file ldap_ssl.h
-- Looking for include file ldap_ssl.h - not found
-- Found LibSSH2: Libssh2::libssh2 (found version "1.11.0")
-- Looking for include file windows.h
-- Looking for include file windows.h - found
-- Looking for include files windows.h, ws2tcpip.h
-- Looking for include files windows.h, ws2tcpip.h - found
-- Looking for 3 include files windows.h, ..., winsock2.h
-- Looking for 3 include files windows.h, ..., winsock2.h - found
-- Looking for 4 include files windows.h, ..., wincrypt.h
-- Looking for 4 include files windows.h, ..., wincrypt.h - found
-- Looking for 5 include files windows.h, ..., inttypes.h
-- Looking for 5 include files windows.h, ..., inttypes.h - found
-- Looking for 6 include files windows.h, ..., sys/filio.h
-- Looking for 6 include files windows.h, ..., sys/filio.h - not found
-- Looking for 6 include files windows.h, ..., sys/ioctl.h
-- Looking for 6 include files windows.h, ..., sys/ioctl.h - not found
-- Looking for 6 include files windows.h, ..., sys/resource.h
-- Looking for 6 include files windows.h, ..., sys/resource.h - not found
-- Looking for 8 include files windows.h, ..., sys/un.h
-- Looking for 8 include files windows.h, ..., sys/un.h - not found
-- Looking for 9 include files windows.h, ..., sys/xattr.h
-- Looking for 9 include files windows.h, ..., sys/xattr.h - not found
-- Looking for 9 include files windows.h, ..., arpa/tftp.h
-- Looking for 9 include files windows.h, ..., arpa/tftp.h - not found
-- Looking for 10 include files windows.h, ..., idn2.h
-- Looking for 10 include files windows.h, ..., idn2.h - found
-- Looking for 11 include files windows.h, ..., ifaddrs.h
-- Looking for 11 include files windows.h, ..., ifaddrs.h - not found
-- Looking for 12 include files windows.h, ..., libgen.h
-- Looking for 12 include files windows.h, ..., libgen.h - not found
-- Looking for 12 include files windows.h, ..., locale.h
-- Looking for 12 include files windows.h, ..., locale.h - found
-- Looking for 13 include files windows.h, ..., netinet/tcp.h
-- Looking for 13 include files windows.h, ..., netinet/tcp.h - not found
-- Looking for linux/tcp.h
-- Looking for linux/tcp.h - not found
-- Looking for 13 include files windows.h, ..., poll.h
-- Looking for 13 include files windows.h, ..., poll.h - not found
-- Looking for 15 include files windows.h, ..., ssl.h
-- Looking for 15 include files windows.h, ..., ssl.h - not found
-- Looking for 15 include files windows.h, ..., stdatomic.h
-- Looking for 15 include files windows.h, ..., stdatomic.h - not found
-- Looking for 15 include files windows.h, ..., stdbool.h
-- Looking for 15 include files windows.h, ..., stdbool.h - found
-- Looking for 16 include files windows.h, ..., stdint.h
-- Looking for 16 include files windows.h, ..., stdint.h - found
-- Looking for 19 include files windows.h, ..., stropts.h
-- Looking for 19 include files windows.h, ..., stropts.h - not found
-- Looking for 20 include files windows.h, ..., unistd.h
-- Looking for 20 include files windows.h, ..., unistd.h - not found
-- Looking for 20 include files windows.h, ..., stddef.h
-- Looking for 20 include files windows.h, ..., stddef.h - found
-- Looking for 21 include files windows.h, ..., sys/utsname.h
-- Looking for 21 include files windows.h, ..., sys/utsname.h - not found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - failed
-- Check size of long long
-- Check size of long long - done
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of __int64
-- Check size of __int64 - done
-- Check size of time_t
-- Check size of time_t - done
-- Looking for fchmod
-- Looking for fchmod - not found
-- Looking for basename
-- Looking for basename - not found
-- Looking for socketpair
-- Looking for socketpair - not found
-- Looking for recv
-- Looking for recv - found
-- Looking for send
-- Looking for send - found
-- Looking for sendmsg
-- Looking for sendmsg - not found
-- Looking for strtok_r
-- Looking for strtok_r - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - not found
-- Looking for alarm
-- Looking for alarm - not found
-- Looking for getppid
-- Looking for getppid - not found
-- Looking for utimes
-- Looking for utimes - not found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - not found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strerror_r
-- Looking for strerror_r - not found
-- Looking for siginterrupt
-- Looking for siginterrupt - not found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for freeaddrinfo
-- Looking for freeaddrinfo - found
-- Looking for pipe
-- Looking for pipe - not found
-- Looking for ftruncate
-- Looking for ftruncate - not found
-- Looking for getpeername
-- Looking for getpeername - found
-- Looking for getsockname
-- Looking for getsockname - found
-- Looking for if_nametoindex
-- Looking for if_nametoindex - not found
-- Looking for getrlimit
-- Looking for getrlimit - not found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for setmode
-- Looking for setmode - found
-- Looking for setrlimit
-- Looking for setrlimit - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for mach_absolute_time
-- Looking for mach_absolute_time - not found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for fsetxattr
-- Looking for fsetxattr - not found
-- Check size of sa_family_t
-- Check size of sa_family_t - failed
-- Check size of ADDRESS_FAMILY
-- Check size of ADDRESS_FAMILY - failed
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET
-- Performing Curl Test HAVE_IOCTLSOCKET - Success
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Success
-- Performing Curl Test HAVE_IOCTL_FIONBIO
-- Performing Curl Test HAVE_IOCTL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Failed
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed
-- Performing Curl Test HAVE_BOOL_T
-- Performing Curl Test HAVE_BOOL_T - Success
-- Performing Curl Test HAVE_FILE_OFFSET_BITS
-- Performing Curl Test HAVE_FILE_OFFSET_BITS - Failed
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99 - Success
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC - Failed
-- Performing Curl Test HAVE_ATOMIC
-- Performing Curl Test HAVE_ATOMIC - Failed
-- Check size of off_t
-- Check size of off_t - done
-- Check size of curl_off_t
-- Check size of curl_off_t - done
-- Check size of curl_socket_t
-- Check size of curl_socket_t - failed
-- Performing Curl Test HAVE_WIN32_WINNT
-- Performing Curl Test HAVE_WIN32_WINNT - Success
-- Found _WIN32_WINNT=0x0A00
-- Performing Curl Test HAVE_GLIBC_STRERROR_R
-- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed
-- Performing Curl Test HAVE_POSIX_STRERROR_R
-- Performing Curl Test HAVE_POSIX_STRERROR_R - Failed
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC - Failed
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE - Failed
-- Performing Test HAVE_MSG_NOSIGNAL
-- Performing Test HAVE_MSG_NOSIGNAL - Failed
-- Performing Test HAVE_STRUCT_TIMEVAL
-- Performing Test HAVE_STRUCT_TIMEVAL - Success
-- Check size of struct sockaddr_storage
-- Check size of struct sockaddr_storage - done
-- Performing Test HAVE_POLL_FINE
-- Performing Test HAVE_POLL_FINE - Failed
-- Looking for CryptAcquireContext
-- Looking for CryptAcquireContext - found
-- Enabled features: SSL IPv6 unixsockets libz brotli AsynchDNS IDN Largefile SSPI alt-svc HSTS SPNEGO Kerberos NTLM HTTP2 MultiSSL HTTPS-proxy unicode threadsafe
-- Enabled protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP LDAPS MQTT POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP WS WSS
-- Enabled SSL backends: OpenSSL Schannel mbedTLS
-- Configuring incomplete, errors occurred!
See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-rel/CMakeFiles/CMakeOutput.log".
See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-rel/CMakeFiles/CMakeError.log".
[2/2] "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=K:/data/depot/git/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=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DENABLE_DEBUG=ON"
FAILED: ../../x64-windows-dbg/CMakeCache.txt
"K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "K:/data/depot/git/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe" "K:/data/depot/git/vcpkg/buildtrees/curl/src/curl-8_1_2-48a3152245.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=K:/data/depot/git/vcpkg/packages/curl_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DCMAKE_PROJECT_INCLUDE=K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake" "-DUSE_NGHTTP2=ON" "-DCURL_USE_WOLFSSL=OFF" "-DCURL_USE_OPENSSL=ON" "-DCURL_USE_MBEDTLS=ON" "-DCURL_USE_LIBSSH2=ON" "-DBUILD_CURL_EXE=ON" "-DENABLE_ARES=ON" "-DCURL_WINDOWS_SSPI=ON" "-DCURL_BROTLI=ON" "-DCURL_USE_SCHANNEL=ON" "-DCURL_USE_SECTRANSP=OFF" "-DUSE_LIBIDN2=ON" "-DUSE_WIN32_IDN=ON" "-DUSE_WIN32_LDAP=ON" "-DENABLE_WEBSOCKETS=ON" "-DHTTP_ONLY=OFF" "-DCURL_DISABLE_LDAP=OFF" "-DPKG_CONFIG_EXECUTABLE=K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe" "-DENABLE_UNICODE=ON" "-DBUILD_TESTING=OFF" "-DENABLE_MANUAL=OFF" "-DCURL_CA_FALLBACK=ON" "-DCURL_USE_LIBPSL=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_Perl=ON" "-DCMAKE_MAKE_PROGRAM=C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=K:/data/depot/git/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-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=K:/data/depot/git/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=K:/data/depot/git/vcpkg" "-D_VCPKG_INSTALLED_DIR=K:/data/depot/git/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DENABLE_DEBUG=ON"
-- The C compiler identification is MSVC 19.36.32535.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at K:/data/depot/git/vcpkg/ports/curl/cmake-project-include.cmake:75 (get_target_property):
  get_target_property() called with non-existent target "Libssh2::libssh2".
Call Stack (most recent call first):
  CMakeLists.txt:72 (project)

-- Found PkgConfig: K:/data/depot/git/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/pkg-config.exe (found version "1.8.0")
-- Checking for module 'libidn2'
--   Found libidn2, version 2.3.4
-- curl version=[8.1.2-DEV]
-- Looking for getch in ws2_32;c-ares::cares
-- Looking for getch in ws2_32;c-ares::cares - found
-- Looking for getch in winmm;ws2_32;c-ares::cares
-- Looking for getch in winmm;ws2_32;c-ares::cares - found
-- Found OpenSSL: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/libcrypto.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/libcrypto.lib (found version "3.1.1")
-- Looking for OPENSSL_IS_BORINGSSL
-- Looking for OPENSSL_IS_BORINGSSL - not found
-- Looking for OPENSSL_IS_AWSLC
-- Looking for OPENSSL_IS_AWSLC - not found
-- Found PThreads4W: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib
-- PThreads4W_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../bin
-- PThreads4W_DEBUG_DLL_DIR: K:/data/depot/git/vcpkg/installed/x64-windows/include/../debug/bin
-- Found mbedTLS: K:/data/depot/git/vcpkg/installed/x64-windows/include (found version "2.28.1")
-- Found ZLIB: optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/zlib.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/zlibd.lib (found version "1.2.13")
-- Found NGHTTP2: K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/nghttp2.lib
-- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/nghttp2.lib
-- Looking for cldap_open in wldap32;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;winmm;ws2_32;c-ares::cares;OpenSSL::SSL;OpenSSL::Crypto;ws2_32;bcrypt;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedcrypto.lib;optimized;K:/data/depot/git/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedx509.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/mbedtls.lib;ZLIB::ZLIB;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlicommon.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/brotlidec.lib;K:/data/depot/git/vcpkg/installed/x64-windows/debug/lib/nghttp2.lib - found
-- Looking for include file winldap.h
-- Looking for include file winldap.h - not found
-- Looking for include file ldap_ssl.h
-- Looking for include file ldap_ssl.h - not found
-- Found LibSSH2: Libssh2::libssh2 (found version "1.11.0")
-- Looking for include file windows.h
-- Looking for include file windows.h - found
-- Looking for include files windows.h, ws2tcpip.h
-- Looking for include files windows.h, ws2tcpip.h - found
-- Looking for 3 include files windows.h, ..., winsock2.h
-- Looking for 3 include files windows.h, ..., winsock2.h - found
-- Looking for 4 include files windows.h, ..., wincrypt.h
-- Looking for 4 include files windows.h, ..., wincrypt.h - found
-- Looking for 5 include files windows.h, ..., inttypes.h
-- Looking for 5 include files windows.h, ..., inttypes.h - found
-- Looking for 6 include files windows.h, ..., sys/filio.h
-- Looking for 6 include files windows.h, ..., sys/filio.h - not found
-- Looking for 6 include files windows.h, ..., sys/ioctl.h
-- Looking for 6 include files windows.h, ..., sys/ioctl.h - not found
-- Looking for 6 include files windows.h, ..., sys/resource.h
-- Looking for 6 include files windows.h, ..., sys/resource.h - not found
-- Looking for 8 include files windows.h, ..., sys/un.h
-- Looking for 8 include files windows.h, ..., sys/un.h - not found
-- Looking for 9 include files windows.h, ..., sys/xattr.h
-- Looking for 9 include files windows.h, ..., sys/xattr.h - not found
-- Looking for 9 include files windows.h, ..., arpa/tftp.h
-- Looking for 9 include files windows.h, ..., arpa/tftp.h - not found
-- Looking for 10 include files windows.h, ..., idn2.h
-- Looking for 10 include files windows.h, ..., idn2.h - found
-- Looking for 11 include files windows.h, ..., ifaddrs.h
-- Looking for 11 include files windows.h, ..., ifaddrs.h - not found
-- Looking for 12 include files windows.h, ..., libgen.h
-- Looking for 12 include files windows.h, ..., libgen.h - not found
-- Looking for 12 include files windows.h, ..., locale.h
-- Looking for 12 include files windows.h, ..., locale.h - found
-- Looking for 13 include files windows.h, ..., netinet/tcp.h
-- Looking for 13 include files windows.h, ..., netinet/tcp.h - not found
-- Looking for linux/tcp.h
-- Looking for linux/tcp.h - not found
-- Looking for 13 include files windows.h, ..., poll.h
-- Looking for 13 include files windows.h, ..., poll.h - not found
-- Looking for 15 include files windows.h, ..., ssl.h
-- Looking for 15 include files windows.h, ..., ssl.h - not found
-- Looking for 15 include files windows.h, ..., stdatomic.h
-- Looking for 15 include files windows.h, ..., stdatomic.h - not found
-- Looking for 15 include files windows.h, ..., stdbool.h
-- Looking for 15 include files windows.h, ..., stdbool.h - found
-- Looking for 16 include files windows.h, ..., stdint.h
-- Looking for 16 include files windows.h, ..., stdint.h - found
-- Looking for 19 include files windows.h, ..., stropts.h
-- Looking for 19 include files windows.h, ..., stropts.h - not found
-- Looking for 20 include files windows.h, ..., unistd.h
-- Looking for 20 include files windows.h, ..., unistd.h - not found
-- Looking for 20 include files windows.h, ..., stddef.h
-- Looking for 20 include files windows.h, ..., stddef.h - found
-- Looking for 21 include files windows.h, ..., sys/utsname.h
-- Looking for 21 include files windows.h, ..., sys/utsname.h - not found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of ssize_t
-- Check size of ssize_t - failed
-- Check size of long long
-- Check size of long long - done
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of __int64
-- Check size of __int64 - done
-- Check size of time_t
-- Check size of time_t - done
-- Looking for fchmod
-- Looking for fchmod - not found
-- Looking for basename
-- Looking for basename - not found
-- Looking for socketpair
-- Looking for socketpair - not found
-- Looking for recv
-- Looking for recv - found
-- Looking for send
-- Looking for send - found
-- Looking for sendmsg
-- Looking for sendmsg - not found
-- Looking for strtok_r
-- Looking for strtok_r - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - not found
-- Looking for alarm
-- Looking for alarm - not found
-- Looking for getppid
-- Looking for getppid - not found
-- Looking for utimes
-- Looking for utimes - not found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - not found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strerror_r
-- Looking for strerror_r - not found
-- Looking for siginterrupt
-- Looking for siginterrupt - not found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for freeaddrinfo
-- Looking for freeaddrinfo - found
-- Looking for pipe
-- Looking for pipe - not found
-- Looking for ftruncate
-- Looking for ftruncate - not found
-- Looking for getpeername
-- Looking for getpeername - found
-- Looking for getsockname
-- Looking for getsockname - found
-- Looking for if_nametoindex
-- Looking for if_nametoindex - not found
-- Looking for getrlimit
-- Looking for getrlimit - not found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for setmode
-- Looking for setmode - found
-- Looking for setrlimit
-- Looking for setrlimit - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for mach_absolute_time
-- Looking for mach_absolute_time - not found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for fsetxattr
-- Looking for fsetxattr - not found
-- Check size of sa_family_t
-- Check size of sa_family_t - failed
-- Check size of ADDRESS_FAMILY
-- Check size of ADDRESS_FAMILY - failed
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK
-- Performing Curl Test HAVE_FCNTL_O_NONBLOCK - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET
-- Performing Curl Test HAVE_IOCTLSOCKET - Success
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_CAMEL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO
-- Performing Curl Test HAVE_IOCTLSOCKET_FIONBIO - Success
-- Performing Curl Test HAVE_IOCTL_FIONBIO
-- Performing Curl Test HAVE_IOCTL_FIONBIO - Failed
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR
-- Performing Curl Test HAVE_IOCTL_SIOCGIFADDR - Failed
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK
-- Performing Curl Test HAVE_SETSOCKOPT_SO_NONBLOCK - Failed
-- Performing Curl Test HAVE_BOOL_T
-- Performing Curl Test HAVE_BOOL_T - Success
-- Performing Curl Test HAVE_FILE_OFFSET_BITS
-- Performing Curl Test HAVE_FILE_OFFSET_BITS - Failed
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99
-- Performing Curl Test HAVE_VARIADIC_MACROS_C99 - Success
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC
-- Performing Curl Test HAVE_VARIADIC_MACROS_GCC - Failed
-- Performing Curl Test HAVE_ATOMIC
-- Performing Curl Test HAVE_ATOMIC - Failed
-- Check size of off_t
-- Check size of off_t - done
-- Check size of curl_off_t
-- Check size of curl_off_t - done
-- Check size of curl_socket_t
-- Check size of curl_socket_t - failed
-- Performing Curl Test HAVE_WIN32_WINNT
-- Performing Curl Test HAVE_WIN32_WINNT - Success
-- Found _WIN32_WINNT=0x0A00
-- Performing Curl Test HAVE_GLIBC_STRERROR_R
-- Performing Curl Test HAVE_GLIBC_STRERROR_R - Failed
-- Performing Curl Test HAVE_POSIX_STRERROR_R
-- Performing Curl Test HAVE_POSIX_STRERROR_R - Failed
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC
-- Performing Curl Test HAVE_CLOCK_GETTIME_MONOTONIC - Failed
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE
-- Performing Curl Test HAVE_BUILTIN_AVAILABLE - Failed
-- Performing Test HAVE_MSG_NOSIGNAL
-- Performing Test HAVE_MSG_NOSIGNAL - Failed
-- Performing Test HAVE_STRUCT_TIMEVAL
-- Performing Test HAVE_STRUCT_TIMEVAL - Success
-- Check size of struct sockaddr_storage
-- Check size of struct sockaddr_storage - done
-- Performing Test HAVE_POLL_FINE
-- Performing Test HAVE_POLL_FINE - Failed
-- Looking for CryptAcquireContext
-- Looking for CryptAcquireContext - found
-- Enabled features: SSL IPv6 unixsockets libz brotli AsynchDNS IDN Largefile SSPI alt-svc HSTS SPNEGO Kerberos NTLM HTTP2 MultiSSL HTTPS-proxy unicode threadsafe
-- Enabled protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP LDAPS MQTT POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP WS WSS
-- Enabled SSL backends: OpenSSL Schannel mbedTLS
-- Configuring incomplete, errors occurred!
See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-dbg/CMakeFiles/CMakeOutput.log".
See also "K:/data/depot/git/vcpkg/buildtrees/curl/x64-windows-dbg/CMakeFiles/CMakeError.log".
ninja: build stopped: subcommand failed.

Additional context
it seems to be introduced by libssh2 upgrade, #32232 / https://github.com/microsoft/vcpkg/pull/32232/files#diff-68dce3e42b6ee6f7365b52ac7fa8f31b6d7aa21d56d0e740893ba62f6f20f4b7
I cut some logs from this issue, because I got "Comment is too long (maximum is 65536 characters)

get_target_property() called with non-existent target "Libssh2::libssh2".

The official targets have different names depending on linkage. I even added a usage file to libssh2 to cover it.
By git grep ::libssh, it seems that in addition to curl, port cppfs needs an update, too.

I can't get success with the generator expression, but I rewrite with if command and it seems to work:
    set(LIBSSH2_FOUND TRUE)
    if(TARGET Libssh2::libssh2_shared)
        set(LIBSSH2_LIBRARY Libssh2::libssh2_shared)
    else()
        set(LIBSSH2_LIBRARY Libssh2::libssh2_static)
    endif()
    get_target_property(LIBSSH2_INCLUDE_DIR "${LIBSSH2_LIBRARY}" INTERFACE_INCLUDE_DIRECTORIES)


Add check service status

(there's a pull request already for the ms change, apologies for not splitting this out)
the other change here is an upstart check

@abridgett would this be implemented? I would love to use this check for services.

@mattyjones I couldn't find any checks under https://github.com/sensu-plugins that would give me a service check for any service, any pointers for something similar?


API request - connection refused in CLI

when using the CLI, it finds the correct score ID and metadata but the download request fails with a connection refused error.

url?

https://musescore.com/user/34804253/scores/6264241

looks like my firewall was blocking the request. sorry for the trouble!


vim-airlines has no colors

environment

vim:  8.0.86
vim-airline: git clone yesterday
OS: Linux AntonsArchBook 4.8.10-1-ARCH #1 SMP PREEMPT Mon Nov 21 11:55:43 CET 2016 x86_64 GNU/Linux
What is your airline configuration:

source ~/.vim/vim-airline-themes/plugin/airline-themes.vim
:set laststatus=2
let g:airline_powerline_fonts = 1
let g:airline_theme='dark'
" let g:airline"extensions"tabline"enabled = 1
" let g:airline"extensions"tagbar"enabled = 1
" let g:airline"extensions"syntastic"enabled =1
" let g:airline"extensions"synstastic"enabled =1
" => Backups ausschalten
set nobackup
" => Zeile und Spalte anzeigen
set ruler
" => nicht im Kompatiblitätsmdus arbeiten, d.h. Vim-spezifische Erweiterungen nutzen
set nocompatible
" =>  ~/.exrc nicht benutzen
set noexrc
" => nicht piepsen, wenn man an Textbegrenzungen anstößt o.ä.
set noerrorbells
" => den aktuellen Mode anzeigen
set showmode
" =>           lange Zeilen nicht umbrechen
set nowrap
" => Zeilennummern anzeigen
set nu
if you are using terminal:

terminal: lxterm

actual behavior

expected behavior

What terminal? What is your $TERM variable? What is the output of :set term? t_Co? termguicolors?

have you tried a different terminal? Doest it work with the gui version?

have you tried a different terminal? Doest it work with the gui version?
I tried a different terminals. There the colors and everything are
working. It seem that this is an special failure or wrong settings - i
do not know.

Am 2016-11-29 14:35, schrieb Anton:

have you tried a different terminal? Doest it work with the gui
version?
I tried a different terminals. There the colors and everything are
working. It seem that this is an special failure or wrong settings - i
do not know.

It would be great if you could also answer the other questions.

I think this is a terminal problem rather then an airline problem. Closing.


LibLog performance

Following discussion in https://github.com/npgsql/npgsql/issues/1438, I've whipped up a minimal benchmark with BenchmarkDotNet that compares raw NLog logging to LibLog+NLog, with a null target. The idea is to compare performance when logging to an enabled and a disabled loglevel (results at the bottom) - feel free to look at my scenarios.
As always with performance, whether the results are acceptable or not is going to depend on the consuming application. However, 16us for a single logging call seems like a lot. A likely culprit is the stack frame walk discussed in #97. In addition, while the use of dynamic makes the code elegant, it likely adds another unnecessary performance hit vs. using only reflection.
Again, I'm not sure what the performance goals of this library is, so you might choose to disregard this entirely.

BenchmarkDotNet=v0.10.1, OS=Microsoft Windows NT 6.2.9200.0
Processor=Intel(R) Core(TM) i7-6700HQ CPU 2.60GHz, ProcessorCount=8
Frequency=2531248 Hz, Resolution=395.0620 ns, Timer=TSC
  [Host]     : Clr 4.0.30319.42000, 32bit LegacyJIT-v4.6.1586.0
  DefaultJob : Clr 4.0.30319.42000, 32bit LegacyJIT-v4.6.1586.0

Method
IsDisabled
Mean
StdDev
Scaled
Scaled-StdDev
Gen 0
Allocated

NLog
False
193.1667 ns
1.9550 ns
1.00
0.00
0.0386
160 B

LibLog
False
16,002.9138 ns
177.6954 ns
82.85
1.20
0.4232
3.87 kB

NLog
True
2.3487 ns
0.0220 ns
1.00
0.00
-
0 B

LibLog
True
52.7087 ns
0.6893 ns
22.44
0.35
0.0135
52 B

One additional comment...
Even with the removal of the stack frame stuff (which probably is the main culprit behind this bad performance) and dynamic, there are some tricks/best practices about dynamically accessing types in an efficient way. I suggest you look at Matt Warren's excellent article about this.
Basically doing this whole thing right from a performance perspective would enable lots more consumers to use LibLog.

May I ask you to include async wrapper too (even using a null target)?
Because I'm using liblog in my serial application and I was having sincronization troubles until I set all my targets with async wrapper...

@caverna, are you referring to NLog's async wrapper? If so I'm not sure what relevance that has here, the point of these benchmarks is to measure the additional overhead of LibLog over direct Npgsql usage, and not various different setups within NLog itself...
(regardless, you can always fork my repo and add whatever tests you want)

I did download your code and you're right, it doesn't make any difference...
Thanks for the tips!

Thanks for the benchmark figures @roji :)
In the coming weeks, around VS2017 RTM when I'll be preparing for NetStandard, I will roll this in at same time.

@damianh, I've received other complaints from Npgsql users about the added dependencies because of the use of Microsoft.Extensions.Logging, and am considering moving away from it. If I end up doing so, I would be happy to switch to LibLog instead, but the lack of netstandard support and the performance issues are blocking for me.
Would you accept PRs from me on both these issues? VS2017 RTMs in 4 days, so it seems like a good time to work on netstandard. Regarding the performance issues, I can replace the expensive dynamic usage with much more optimized delegates as detailed in the article linked to above.
So the question is basically if you would be willing to (quickly) review some PRs if I get to work on thngs :)

Hi, @roji lack of netstardard support is blocking me too. I will be sorting this out this week. A PR to replace the expensive dynamic usage would certainly be appreciated :)

NetStandard work is in progress. Having great fun with getting ContentFiles working, not.

Related pull request for .Net standard https://github.com/damianh/LibLog/pull/125
Maybe roji can help with this?

Just wanted to see plans were in the works to address the perf issues that @roji documented. We are evaluating this library at my org and we have some (relatively minor) concerns about the performance. Thanks.

Since this could become a blocker for us using this library (great idea), I had a quick look at this, primarily from the NLog provider angle - given the similarities, I suspect log4net will be similar.  My findings are below.
I believe the dynamic use can be optimized fairly aggressively so I will ignore this for now.
The big performance penalty originates from StackTrace use for each enabled log call.  This done to correctly implement the NLog wrapper behaviour (see https://github.com/NLog/NLog/tree/master/examples/ExtendingLoggers).  This provided type is used to enable correct ${callsite} output when used in NLog target templates.  NLog only generates and attaches a stack trace to the log entry if one or more of it's targets requires callsite information (see https://github.com/NLog/NLog/blob/master/src/NLog/LoggerImpl.cs#L66).  In an ideal world we could use the same mechanism to evaluate the need to look up this wrapper type but this feels like NLog internals and probably should be avoided.  Therefore, I looked at various options to optimize this process.

Ensure there is only one public type that can be used within LibLog - this means the stack frame could be cached up front in a field when the logger was created.  We can avoid inlining method complications by using [MethodImpl(MethodImplOptions.NoInlining)] on any methods.  For example, if we make all LogExtensions methods MethodImplOptions.NoInlining then we have partially solved the issue and could assume that the NLog wrapper type is always LogExtensions - only exception here being LoggerExecutionWrapper but how often will this be used?  Might be other considerations here.
Being unable to use the same mechanism as NLog does to lazily look up stack traces, we could add configuration to LibLog to enable stack frame look ups optionally.  If you add ${callsite} to your target template then you need to enable this lookup in LibLog as well.  This option is the easiest but not very easy and will cause surprise results if people forget to change it (which they will).
use [CallerFilePath] and [CallerLineNumber] and flow that down into the ILog interface so we can cache each call site - create an entry in a dictionary for each call site and cache the wrapper type associated with that call site (using the current stack trace traversal technique).  Each call site has a warm up cost and memory overhead could be reasonably large but removes any stack trace generation from the hot path when warm.

I believe another potential performance issue that is ripe for optimization is the SimulateStructuredLogging method but that's for another day.

Good feedback all.
Going to tackle this for v5.0.0 for NetStandard 2.0 release timeframe.

I'm struck by the slowness. WampSharp uses LibLog - and in my case spending 90% of the time there (with serilog), with disabled loglevel...
Maybe there should be a word of warning for potential used: LibLog may be fine for an application, but not suitable for libraries/frameworks, i.e. all cases when then direct users of LibLog can't predict the scenario in which LibLog will actually be used.

I recently fixed up a local copy to use some faster code paths, especially for NLog but also some enhancements in the serilog provider.  I can push a PR if wanted.

That would be good. I'd take that and try to improve Serilog provider as well as I can. Maybe we can get this improved faster then.

In my case (using WampSharp) the code in the PR improves perf by factor of 10.

Working on a PR now but here's what it looks like currently, mainly focusing on NLog now.  This has the currently has the caveat that ${callsite} does not work correctly under RevisedLibLog
         Method |                 Layout |           Mean |      StdDev | Scaled | Scaled-StdDev |  Gen 0 | Allocated |
--------------- |----------------------- |--------------- |------------ |------- |-------------- |------- |---------- |
           NLog | ${callsite} ${message} | 17,716.7684 ns | 133.5503 ns |   1.00 |          0.00 | 0.5859 |   5.26 kB |
 OriginalLibLog | ${callsite} ${message} | 33,322.9539 ns | 910.9674 ns |   1.88 |          0.05 | 1.1149 |  10.11 kB |
  RevisedLibLog | ${callsite} ${message} | 20,030.7325 ns | 213.7729 ns |   1.13 |          0.01 | 0.8586 |   6.61 kB |
           NLog |             ${message} |    413.0363 ns |   3.1330 ns |   1.00 |          0.00 | 0.0609 |     368 B |
 OriginalLibLog |             ${message} | 12,998.1171 ns | 123.3643 ns |  31.47 |          0.37 | 0.2279 |   4.33 kB |
  RevisedLibLog |             ${message} |  1,042.9463 ns |   7.3871 ns |   2.53 |          0.03 | 0.1841 |     976 B |


MQTT_EVENT_ERROR event missed when use mqtt to connect mqtts broker (IDFGH-3786)

Environment
Module or chip used: ESP32-WROOM-32D
IDF version: v4.3-dev-771-gc77c4ccf6c43
Build System: idf.py
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2020r2) 8.2.0
Operating System: Linux
Power Supply: USB
Problem Description
When use mqtt to connect mqtts broker, the mqtt connect will fail as expect.
I expect to get MQTT_EVENT_ERROR event but it does not happen.
E (33429) MQTT_CLIENT: mqtt_message_receive: transport_read() error: errno=128
E (33430) MQTT_CLIENT: esp_mqtt_connect: mqtt_message_receive() returned -1
E (33434) MQTT_CLIENT: MQTT connect failed
Expected Behavior
Should get MQTT_EVENT_ERROR if connect failed.
Actual Behavior
No MQTT_EVENT_ERROR in such test case.
Steps to reproduce
Just use mqtt to connect mqtts broker.

Hi @AxelLin
I agree, the error reporting/handling in the MQTT client could need some cleanup. We'll take a look at it.

A side-effect of this commit is now I got MQTT_EVENT_ERROR but the error_type is always MQTT_ERROR_TYPE_ESP_TLS even though I connect to mqtt 1883 port.
see https://github.com/espressif/esp-idf/issues/5906

@AxelLin There is an in-progress MR to fix #5906, which will also add better reporting of the underlying socket errors. So that should take care of the issue mentioned here as well.


MM-36490 Add github shortcodes for backwards compatibility for emoji aliases

Summary
This will fix emojis where the name changed by adding the old GitHub shortcodes as aliases. For example :woman_facepalming: should work again now that it is aliased to :woman-facepalming:.
Ticket Link
https://mattermost.atlassian.net/browse/MM-36490
Release Note

NONE

Waiting on https://github.com/mattermost/mattermost-server/pull/17741 then I need to submit a server PR to update model/emoji_data.go

@Willyfrog do we want to add all those aliases for the skin tones? I think we only need this aliases for backwards compatibility reasons, right?

@Willyfrog do we want to add all those aliases for the skin tones? I think we only need these aliases for backwards compatibility reasons, right?

We have those in community (stable), they doesn't show in the emoji picker, but there are skin tones available if you know the shortcode.

Oh, so we shipped some emoji skin tones in a release already? Ok I'll update it per your suggestion then

Are we supporting both hyphens and underscores in this case? I'd rather just keep the old aliases and not add new ones

That's a good question. I was under the impression that we wanted to use hyphens because that's the new default for emoji 13. If that's not the case and we can stick with underscores then I think that's what we should do. I'll schedule us a quick call to chat about it today
cc @Willyfrog

That's a good question. I was under the impression that we wanted to use hyphens because that's the new default for emoji 13. If that's not the case and we can stick with underscores then I think that's what we should do. I'll schedule us a quick call to chat about it today
cc @Willyfrog

The original library didn't give a choice, but now with the mapping, we can choose one, the other or both, but let's meet later and discuss it.

Closing this PR as @hmhealey is going to look into switching us to a more backwards compatible emoji standard


Do release through pip

Just to simplify deploy & update.

We need something similar to https://github.com/codecov/codecov-python/blob/master/setup.py because you can run this package just as "codecov" from command line, without mentioning python or anything.

Are you talking about shebang or what? :)

It's actually compiles codecov.exe on win and puts in a PATH so you can just run "codecov" from cmd


Missing date information from the title page

The date information is missing from the title page when using the  EAFIT Beamer theme:
test.tex:
\documentclass[presentation]{beamer}

\usetheme[language=EN]{EAFIT}%
% \usetheme{default}%

% My title
\title[]{My Title}
\author{Author}
\date{February 13, 2018}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

% First slide: Inspira Crea Transforma
\begin{frame}
\end{frame}

\begin{frame}
\titlepage
\end{frame}

\end{document}

Note that February 13, 2018 is missing in the test.pdf file. I have no this problem when using the default theme.

@asr  Check the commit https://github.com/alejogm0520/latexEAFIT/commit/2b664c7dcb90baaaca137ff0a3ecfa249cb522f7?diff=unified
Thanks

Well, I can see the date now, but it isn't centred.

@asr  Please check:
https://github.com/alejogm0520/latexEAFIT/commit/fdf6bb3fdeba92ea0cd6ebad9d5026165bcd35f3

Using the default theme (and some themes from here the author and the date are both with/without bold face. Is some reason the author is in bold face but the date isn't?

@asr Could you confirm the official guidelines for the title page?

Status: Waiting the templates from Paulina.

After seeing the templates there are no any guidelines, so it's up to you. Thanks!


[Peek] Merge main, self-contained .NET and fix WebView2 user data dir issue

Summary of the Pull Request
As we install in Program files, WebView2 by default sets user data folder to that location, which doesn't work as it doesn't have permissions to write there. So user data folder has to be set manually

PR Checklist

[ ] Closes: #xxx
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

for easy review, only review top 4 commits


[SPARK-37546][SQL] V2 ReplaceTableAsSelect command should qualify location

What changes were proposed in this pull request?
Currently, v2 RTAS command doesn't qualify the location:
spark.sql("REPLACE TABLE testcat.t USING foo LOCATION '/tmp/foo' AS SELECT id FROM source")
spark.sql("DESCRIBE EXTENDED testcat.t").filter("col_name = 'Location'").show

+--------+-------------+-------+
|col_name|    data_type|comment|
+--------+-------------+-------+
|Location|/tmp/foo     |       |
+--------+-------------+-------+

, whereas v1 command qualifies the location as file:/tmp/foo which is the correct behavior since the default filesystem can change for different sessions.
Why are the changes needed?
This PR proposes to store the qualified location in order to prevent the issue where default filesystem changes for different sessions.
Does this PR introduce any user-facing change?
Yes, now, v2 RTAS command will store qualified location:
+--------+-------------+-------+
|col_name|    data_type|comment|
+--------+-------------+-------+
|Location|file:/tmp/foo|       |
+--------+-------------+-------+

How was this patch tested?
new test

cc @imback82

Test build #145923 has started for PR 34807 at commit 19b656a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50399/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50399/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50399/

Test build #145923 has finished for PR 34807 at commit 19b656a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145923/

Test build #145926 has started for PR 34807 at commit b065e18.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50402/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50402/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50402/

Test build #145926 has finished for PR 34807 at commit b065e18.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145926/

@cloud-fan

Test build #145943 has started for PR 34807 at commit 5ff0c26.

Test build #145944 has started for PR 34807 at commit e1104a0.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50419/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50419/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50419/

thanks, merging to master!

Test build #145944 has finished for PR 34807 at commit e1104a0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #145943 has finished for PR 34807 at commit 5ff0c26.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145944/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/145943/

Thanks! @cloud-fan @imback82


Deleting a user should log them out

If a user is connected (private mode), even though lounge remove <user> says User <test> disconnected and removed, user is being disconnected from the IRC networks but not from the app.
User should be logged out and therefore sent to login page when their config file is removed.

Does this not work? https://github.com/thelounge/lounge/blob/master/src/clientManager.js#L40-L47

It does remove the config file and disconnects from the IRC networks but it did not log me out of the app.

Are you not losing connecting in browser? It should be killing all existing websocket connections for the client here: https://github.com/thelounge/lounge/blob/213a4b0f13b9a56493761aba4a1d4960f87f4d1a/src/client.js#L458-L465

I don't completely remember now, need more testing.


Fix: Remove expected error message

This PR

[x] fixes the build by removing an expected error message

Follows 1ed86a5.
💁♂ Not sure if instead the CallToDeprecatedStaticMethodRule should be fixed. What do you think?

Ah, I didn't realize deprecatedFoo() was overwritten. Since 0.11 phpDoc annotations are implicitly inherited. Since the method itself is now deprecated the error message goes away. I think this is ok.
@ondrejmirtes Do you agree?

Thanks 🙂

Thank you, @iluuu1994!


gosub_html5 and gosub_testing crates depend on eachother

There is a cyclic dependency between gosub_html and gosub_testing. We should see if we can remove this, otherwise we cannot use the crates in our own custom registry.

Fixed


documentHighlight is wrong for variable declared via lambda capture [regression]

Consider this piece of code:
struct S { int m; };
void f(S foo) {
    auto l = [bar = foo] { return bar.m; };
}

Doing textDocument/documentHighlight on the first occurrence of bar (in the lambda capture) returns the occurrences of S instead.
This used to work fine until https://reviews.llvm.org/D116630.

Thanks for the report, yeah, this is a regression issue of selection tree (particularly, related to removal of the early-claim hack...)
For  auto l = [b^ar = foo] { return bar.m; };, the selection debug log:
D[12:34:22.634]  push: FunctionDecl </tmp/t2.cpp:2:1, line:4:1>
D[12:34:22.634]   push: NestedNameSpecifierLoc <<invalid sloc>>
D[12:34:22.634]   pop: NestedNameSpecifierLoc <<invalid sloc>>
D[12:34:22.634]   skip: FunctionProtoTypeLoc </tmp/t2.cpp:2:1, col:13>
D[12:34:22.634]    skipped range = </tmp/t2.cpp:2:1, col:13>
D[12:34:22.634]   push: CompoundStmt </tmp/t2.cpp:2:15, line:4:1>
D[12:34:22.634]    push: DeclStmt </tmp/t2.cpp:3:5, col:43>
D[12:34:22.634]     push: VarDecl </tmp/t2.cpp:3:5, col:42>
D[12:34:22.634]      push: NestedNameSpecifierLoc <<invalid sloc>>
D[12:34:22.634]      pop: NestedNameSpecifierLoc <<invalid sloc>>
D[12:34:22.634]      skip: AutoTypeLoc </tmp/t2.cpp:3:5>
D[12:34:22.634]       skipped range = </tmp/t2.cpp:3:5>
D[12:34:22.634]      push: LambdaExpr </tmp/t2.cpp:3:14, col:42>
D[12:34:22.634]       push: VarDecl </tmp/t2.cpp:3:15, col:21>
D[12:34:22.634]        push: NestedNameSpecifierLoc <<invalid sloc>>
D[12:34:22.634]        pop: NestedNameSpecifierLoc <<invalid sloc>>
D[12:34:22.634]        push: AutoTypeLoc </tmp/t2.cpp:3:15>
D[12:34:22.634]        pop: AutoTypeLoc </tmp/t2.cpp:3:15>
D[12:34:22.634]         hit selection: </tmp/t2.cpp:3:15>
D[12:34:22.634]        skip: CXXConstructExpr </tmp/t2.cpp:3:21>
D[12:34:22.634]         skipped range = </tmp/t2.cpp:3:21>
D[12:34:22.634]       pop: VarDecl </tmp/t2.cpp:3:15, col:21>
D[12:34:22.634]       skip: CompoundStmt </tmp/t2.cpp:3:26, col:42>
D[12:34:22.634]        skipped range = </tmp/t2.cpp:3:26, col:42>
D[12:34:22.634]      pop: LambdaExpr </tmp/t2.cpp:3:14, col:42>
D[12:34:22.634]     pop: VarDecl </tmp/t2.cpp:3:5, col:42>
D[12:34:22.634]    pop: DeclStmt </tmp/t2.cpp:3:5, col:43>
D[12:34:22.634]   pop: CompoundStmt </tmp/t2.cpp:2:15, line:4:1>
D[12:34:22.634]  pop: FunctionDecl </tmp/t2.cpp:2:1, line:4:1>
D[12:34:22.634] Built selection tree
 TranslationUnitDecl
   FunctionDecl void f(S foo)
     CompoundStmt { …
       DeclStmt auto l = [bar = foo] {};
         VarDecl auto l = [bar = foo] {}
           LambdaExpr [bar = foo] {}
             VarDecl auto S bar = foo
              *AutoTypeLoc S

The trick is that the lambda captured bar VarDecl doesn't have a written auto in the source code, and the source location of AutoTypeLoc points to the bar token (which is not corresponding to the written source code), so the VarDecl's child node AutoTypeLoc claims the bar token, rather than leaving the bar token to be claimed by the parent node (bar VarDecl).
One fix is to make the source location of AutoTypeLoc AST node invalid for this case, it seems risky and invasive, probably will break something. Another safer fix is to bring back the early-claim hack in clangd. As we're close to 14 release, I'd prefer the early-claim approach.

One fix is to make the source location of AutoTypeLoc AST node invalid for this case, it seems risky and invasive, probably will break something

Yeah, I guess it would degrade diagnostics attached to that typeloc.
Seems sad to bring the early claim hack back, but I don't see a great alternative. Even overriding TraverseVarDecl isn't obvious: I don't see how to detect this case without exactly checking nameloc == autotypeloc, and the early-claim hack seems more principled.


Add an property to contract H on load

It would make sense to have a new prop that would contract the H when loading the molfile.

This would solve issue:

https://github.com/cheminfo/nmrium/issues/2280


Add Windows support

Ponyup should work on Windows.
As part of this, I think we want to move from our current Makefile to something CMake based that can support all platforms (like we are currently doing with ponyc).
@kulibali I'm going to ping you about what a switch to Cmake would entail.

@kulibali this feels like an important step towards getting all our major platforms normalize in how we install etc. are you feeling up to taking this one on?

Yeah it's next on my list.

Kulibali has implemented this.


Scalafmt - pure refactoring

Applying scalafmt from sbt

I wonder why it hasn't been done earlier. Or what has changed recently.

I'm sure the codebase was formatted previously, but it looks like there's been a bunch of changes in 2.5, so perhaps some configuration has changed which forces it to be reformatted again.

@mwz, would you want to double check or should I proceed with merging?
I am fine with either formatting styles. Just trying to limit down the changes, esp. that the formatting happens by itself.

Codecov Report

Merging #360 into master will increase coverage by 0.10%.
The diff coverage is 94.70%.

@@            Coverage Diff             @@
##           master     #360      +/-   ##
==========================================
+ Coverage   86.49%   86.59%   +0.10%
==========================================
  Files         135      135
  Lines        1474     1485      +11
  Branches       36       36
==========================================
+ Hits         1275     1286      +11
  Misses        199      199

Impacted Files
Coverage Δ

src/main/scala/com/sksamuel/scapegoat/Level.scala
0.00% <0.00%> (ø)

...t/inspections/collections/JavaConversionsUse.scala
0.00% <0.00%> (ø)

...t/inspections/collections/PredefSeqIsMutable.scala
14.28% <0.00%> (ø)

src/main/scala/com/sksamuel/scapegoat/plugin.scala
34.37% <36.66%> (ø)

...tions/matching/PartialFunctionInsteadOfMatch.scala
60.00% <60.00%> (ø)

...t/inspections/string/EmptyInterpolatedString.scala
75.00% <75.00%> (ø)

...amuel/scapegoat/inspections/math/DivideByOne.scala
81.81% <81.81%> (ø)

...tions/collections/PredefTraversableIsMutable.scala
83.33% <83.33%> (ø)

...ections/collections/CollectionPromotionToAny.scala
87.50% <87.50%> (+0.83%)
:arrow_up:

.../sksamuel/scapegoat/inspections/NoOpOverride.scala
90.00% <90.00%> (ø)

... and 118 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb7041e...fef3821. Read the comment docs.

Ah. Not sure if it's because of #361, but I do have changes after running scalafmt from latest master again.


A small fix to GetVisibleProperties

This code was returning null for the trivial case. No beta4 impact because
we're not using this anywhere yet.

:shipit:


fix: Remove check for specific branches for signing

Diff might be hard to read, but I moved the check for a cosign priv/pub key to the top of the match statement so that it is the first thing that is tried everywhere. I also removed all checks for which branch it is building on so that we can sign for any branch build.


Add subpath entry points + CommonJS types fix

Hello 👋
We're using JSDoc types in CommonJS and looked like the types "require" entry got left behind recently?

https://github.com/alphagov/govuk-frontend/pull/3351

I've added a fix and included a few other things:
CommonJS types
The types "require" entry doesn't export types GlobOptions, Result, Results etc
       "require": {
-        "types": "./dist/cjs/index-cjs.d.ts",
+        "types": "./dist/cjs/index.d.ts",
         "default": "./dist/cjs/index.js"
       }

This fixes type declarations in CommonJS such as:
/**
 * @param {import('glob').GlobOptions} [options] - Glob options
 */

Subpath package exports
I've added both "./*.js" (extensionless) and "./*" subpath exports to enable:
ES modules
import { hasMagic } from 'glob/has-magic.js'

CommonJS modules
const { hasMagic } = require('glob/has-magic')

But also in JSDoc comments:
/**
 * @param {import('glob/pattern').GlobList} globList - Glob list
 */

Declaration maps
The compiler option { "declarationMap": true } lets "Go to definition" jump to the TypeScript source

I'd personally rather not expose the internal structure of the library by exporting all the *.js files.  But yes, the type should be index.d.ts rather than index-cjs.d.ts, it seems.

Oh, snap, I accidentally changed the export to index.js, and left the type as index-cjs.d.ts.  That's 100% wrong, lol.

Just to clarify why I don't want to export the internal modules, it makes things a lot less flexible when there's a need to move things into a submodule, but still re-export it.  As a very recent example, I just in 9.1.0 started to add escape/unescape to Glob, and then realized it would also be valuable in Minimatch.  So if I'd supported import { escape } from 'glob/escape', then I would have had to have a src/escape.ts that just contains export { escape } from 'minimatch' hanging around forever.  Easier to just leave it as import { escape } from 'glob', imo, and then crafting the export only happens in one place.
I realize there are ways to do similar things in package.json exports, but it's a place I never think to look, so I prefer to mostly just treat package.json as npm's property, and not touch it with my meat fingers, because as evidenced by this bug, I can't be trusted to do that correctly :joy:

Pulled in the declarationMap (TIL, adding to my project init scripts, thanks!) and the fixed export/types for CommonJS.
Going to close this, but happy to reopen if there's another reason I'm missing that would be a strong argument to allow submodule exports.

@isaacs Brilliant, appreciate the quick types fix and glad the declarationMap was useful
Don't worry, happy to help 😊
Yeah that makes total sense to prevent access. No strong argument in particular, just a few unreachable types in JSDoc where TypeScript utilities like ReturnType<Type> or Type['property'] can't dig them out.
It's nice not to break Node.js require.resolve('package-name/package.json') but that's another subpath anyway!

Ah, ok.  I'm happy to export those from the main module, if there's something that would be useful.  I agree, it's a pita to have to do a ton of Awaited<ReturnType<(typeof obj)['method']>> type stuff.


Dec 315 add react fields

Update to have a select box to add 5 new meta data fields to item.
The things I want to say about this branch are more informational since I am leaving.  I think I would like to get it merged in while I am gone so that master does not drift so much.  There are several unpolished parts that I have added tickets for.

It is a select box and it should probably be a drop button.
The select box does not disappear when there are no items in it.
new fields appear in the order they are listed in the additionalFieldConfiguration hash and not at the bottom of the form.
I also think the mechanism for doing this needs some refactoring but I am expecting that to happen with the other tickets revolving around the metadata display.

Coverage remained the same at 94.39% when pulling aee718f598f6f84351588d8dcc966250373715d3 on dec-315-add-react-fields into a6f8232b379ec6cefdaa441b2507503917c537cb on master.

Coverage remained the same at 94.39% when pulling aee718f598f6f84351588d8dcc966250373715d3 on dec-315-add-react-fields into a6f8232b379ec6cefdaa441b2507503917c537cb on master.

:+1:

:+1:


embed  pdf through iframe, but the embed pdf is fuzzy

I want to embed a pdf in my representation. The iframe of html tag was used
<iframe width="100%" height="80%" src="PhysRevB.67.085311.pdf" frameborder="0">
</iframe>

Not only the marp-vscode but also the marp-cli  generates the html with  fuzzy embedded pdf

when disable marp and exporting html by Markdown PDF in VSCode , it works well.
May some one give me some support. Thanks

PDF within <iframe> is rasterized based on the original slide page size (1280x720), and the browser shows the enlarged slide to fit to the screen.
If you were using a screen larger than actual page size, PDF may be obscure due to insufficient renderd pixels.

Define and use the custom theme CSS, that has the same or larger slide size than the actual display size.
In Chrome/Chromium, try to force x2 and upper rendering scale factor through --force-device-scale-factor=2 command line option.
Use an alternative browser that has better upscaling render, such as Firefox.

Marp has a correct behavior about making slide in reality, so we would not take any action for this.

Thanks, and is there any better method for embedding pdfs?


Update check-for-build-warnings.yml

Enable the reading of H1s to use in place of the file name for the generated preview table.

@IEvangelist  thanks for the update.


Feature/neba 16

This is the initial implementation of custom field mapper support in NEBA. Please review with a focus on the impact on architectural risk, performance and simplicity

Coverage increased (+0.27%) to 90.97% when pulling 87e53f225e02db6e4fc8f868c68127bf3687c57c on feature/neba-16 into 64697f68321999823ba98eb694e885182a0e36ed on develop.

Coverage increased (+0.27%) to 90.97% when pulling 3c0ccbcc667da47bb5e06707600b068a15b33db5 on feature/neba-16 into 64697f68321999823ba98eb694e885182a0e36ed on develop.

Coverage increased (+0.27%) to 90.97% when pulling 833f5dbcdbae3263efbd99259fc82135b2746508 on feature/neba-16 into 64697f68321999823ba98eb694e885182a0e36ed on develop.

In my project, we previously had two PostProcessors:

One was checking for annotations @Parameter and @Suffix. "Parameter" fields were injected with the field name's parameter value, "Suffix" fields were injected with the suffix value, or if the field type was other than String it was tried to map it to a resource, which is then adapted to the field type.
Another processor tried to resolve tags by field IDs given by the resolved property value. Then these tags were adapted to the field type, if needed.

With this NEBA improvement I refactored the processors into field mappers:

The first maps request params into @Parameter fields
The second maps suffixes into @Suffix fields
The third maps tag ids into @TagReference fields

So the functionality is basically the same, but the implementation is much easier now and less error-prone. LoC decreased by over 50%. Even though this complicates things in NEBA, I think it will be a great feature :)

Allright! Wile this does increase complexity, I agree it could be an asset for complex projects and the architecture of the implementation is quite acceptable, as is the test coverage.

Coverage increased (+0.33%) to 90.9% when pulling 257f34a022ff3011dd4be37cd42ec53aae9a3d35 on feature/neba-16 into 97ba263f831bcb7c02f6769900303f432d380e49 on develop.

Coverage increased (+0.33%) to 90.9% when pulling 257f34a022ff3011dd4be37cd42ec53aae9a3d35 on feature/neba-16 into 97ba263f831bcb7c02f6769900303f432d380e49 on develop.


print out url when running locally.

Not sure where to navigate to after executing npm run watch!

npm run watch is responsible only for compiling the js files incrementally. You need to serve the files using a simple server e.g. python -m SimpleHTTPServer to view the index.html.
I should update the README with this info.

Ah, okay. I thought you might the using node to run the server.
On Apr 29, 2015, at 10:36 PM, Prakhar Srivastav<EMAIL_ADDRESS>wrote:

npm run watch is responsible only for compiling the js files incrementally. You need to serve the files using a simple server e.g. python -m SimpleHTTPServer to view the index.html.
I should update the README with this info.
—
Reply to this email directly or view it on GitHub.

Updated readme with instructions. Fixed in https://github.com/prakhar1989/react-surveyman/commit/5b10e2532cc1fbdd5f515e46b68ce381aa3a70fa


Superscript text representing exponents is not copy-paste safe

Elements such as <sup> in data copied from spec content are replaced with their textContent when pasting as plain text, which can result in semantically inappropriate transformations such as (plucking real-word cases from Number.prototype.toFixed) "If x ≥ 1021" → "If x ≥ 1021" and "n / 10f - x" → "n / 10f - x".
This is a common need when writing test262 tests (cf. https://github.com/tc39/test262/blob/main/CONTRIBUTING.md#info ), so we should try to improve the experience similarly to what was done for step labels in #290.

What's the thing you think it should copy as? For digits I can map to the Unicode subscripts/superscripts, but obviously that doesn't generalize.

I'm thinking up-arrow notation for elements that can't be translated directly. PR incoming.


press/highlights ends in 2019

main/content/press/highlights.md has no entries for 2020 (successfully moving to an all-virtual ApacheCon would be a big one) or 2021.

Please ask press@

The page also looks quite unreadable. Not sure if huge paragraphs was how it was intended to look.


TypeError: Cannot read properties of null (reading 'get')

Describe the bug
When re-starting homebridge, occasionally the following fatal error appears, making automatic homebridge-camera-ui auto-respawn harder to automate:
(...)
[7/31/2022, 6:06:59 PM] TypeError: Cannot read properties of null (reading 'get')
    at file:///data/data/com.termux/files/usr/lib/node_modules/homebridge-camera-ui/src/accessories/camera.js:280:57
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[7/31/2022, 6:06:59 PM] TypeError: Cannot read properties of null (reading 'get')
    at file:///data/data/com.termux/files/usr/lib/node_modules/homebridge-camera-ui/src/accessories/camera.js:280:57
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[7/31/2022, 6:06:59 PM] TypeError: Cannot read properties of null (reading 'get')
    at file:///data/data/com.termux/files/usr/lib/node_modules/homebridge-camera-ui/src/accessories/camera.js:280:57
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[7/31/2022, 6:06:59 PM] Got SIGTERM, shutting down Homebridge...
[7/31/2022, 6:07:04 PM] [CameraUI] Galaxy S4 Camera: Setting up camera, please be patient...
[7/31/2022, 6:07:04 PM] [CameraUI] Nexus 4 Camera: Setting up camera, please be patient...
[7/31/2022, 6:07:04 PM] [CameraUI] Homebridge Nexus 4 Camera: Setting up camera, please be patient...
[Nexus 4 Camera E819] The image snapshot handler for the given accessory is slow to respond! See https://homebridge.io/w/JtMGR for more info.
[Homebridge Nexus 4 Camera 2B23] The image snapshot handler for the given accessory is slow to respond! See https://homebridge.io/w/JtMGR for more info.
[Galaxy S4 Camera 3FF7] The image snapshot handler for the given accessory is slow to respond! See https://homebridge.io/w/JtMGR for more info.

To Reproduce
Install LineageOS on a Nexus 4, install termux, nodejs, and npm install homebridge-camera-ui. Add three cameras and perhaps the error above manifests.
Expected behavior
I would expect that homebridge-camera-ui has a consistent state on each (re)start/stop of the service. Or at least that queues are either flushed/discarded upon start to or that .get(s) know how to deal with null or corrupted objects in the queue(s) without shutting down homebridge.
At first I thought that just removing the empty cachedAccessories solved the problem:
~ $ cat ~/.homebridge/accessories/cachedAccessories
[]
~ $ rm ~/.homebridge/accessories/cachedAccessories
~ $ homebridge -D
(...)

But the problem seems to be elsewhere, perhaps some corrupted database entry or queue object?
Environment

Node.js Version: v18.4.0
Homebridge Version: v1.5.0
Camera UI Version:

  $ npm list -g
/data/data/com.termux/files/usr/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Operating System: Linux localhost 3.4.113-lineageos-ge3e5c40db2e SMP PREEMPT Fri Jun 17 03:59:18 MSK 2022 armv7l Android

I have this issue. how can I fix this? without reinstalling it from scratch!

same here, any fix?

Hi
i have the same issue:
Is there an fix anywehere ?
TypeError: Cannot read properties of null (reading 'get')     at file:///var/lib/homebridge/node_modules/homebridge-camera-ui/src/accessories/camera.js:280:57     at processTicksAndRejections (node:internal/process/task_queues:95:5)

https://github.com/seydx/homebridge-camera-ui/issues/896#issuecomment-2120777099 seems like a reasonable patch, have you tried it?

yes I tried and it seems to work, so far so good


load checkpoint

RuntimeError: Error(s) in loading state_dict for DINO:
Missing key(s) in state_dict: "input_proj.4.0.weight", "input_proj.4.0.bias", "input_proj.4.1.weight", "input_proj.4.1.bias".
I admire thework very much, and how to solve it.


⚠ ClamAV has degraded performance

In 50730d6, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 87 ms

Resolved: ClamAV performance has improved in a580f15 after 5 minutes.


[Doc] Guide to customize SLES15 SP4/SP5 guest images

Is your doc request related to a problem? Please describe or add related issue ID.
A customer is asking for a guide to customize guest images.
The images must be based on SLES 15 SP4/SP5 or OpenSUSE Leap and able to be used as RKE2 guest images.
Describe the solution you'd like

The guide must contain the following steps:

How to develop such an image. e.g., a kiwi file on OBS.
What are essential packages to install.

Doc publish in https://docs.harvesterhci.io/v1.3/advanced/customsuseimages


Gets height map from google map api

There's information about how to get elevation from location.
https://developers.google.com/maps/documentation/elevation/start#sample-request
Isn't it better to get it from internet, when it is available?

I have considered this, but the maximum request count is a big limitation. I think I'll play around with it a bit, and see how it turns out. Maybe release it seperately.


BUG [@typescript-eslint/no-unused-expressions]: Rule config is invalid

ESLint config

airlight-react based on your eslint config

Info

OS: macOS 10.15.7
Node: v15.8.0

Dependencies
package.json (partially shown)
{
    "eslint": "^7.20.0",
    "@typescript-eslint/eslint-plugin": "^4.14.2",
    "eslint-config-airbnb-typescript": "^12.3.1",
    "eslint-config-airlight-react": "^1.1.3",
}

Repro
.eslintrc
{
  "extends": "airlight-react"
}

Log
❯ yarn eslint .
yarn run v1.22.10
$ /Users/dalisoft/Desktop/Workdir/ADV/MyScreen/myscreen-frontend-new/node_modules/.bin/eslint .

Oops! Something went wrong! :(

ESLint: 7.20.0

Error: .eslintrc » eslint-config-airlight-react » eslint-config-airbnb-typescript » /Users/dalisoft/Desktop/Workdir/ADV/MyScreen/myscreen-frontend-new/node_modules/eslint-config-airbnb-typescript/lib/shared.js:
        Configuration for rule "@typescript-eslint/no-unused-expressions" is invalid:
        Value {"allowShortCircuit":false,"allowTernary":false,"allowTaggedTemplates":false,"enforceForJSX":false} should NOT have additional properties.

I am getting this issue too.

@duongdev Yes, downgrading to<EMAIL_ADDRESS>works. Sometimes after restarting IDE starting works (after downgrading)

It's bug in<EMAIL_ADDRESS>and should be fixed in<EMAIL_ADDRESS>as described other issue (today can't found)


currentPlayer not advancing using TurnOrder.DEFAULT at phase end.

I think I've found a new issue in v0.33 and newer. The current player is retained during the end of one phase and beginning of another one. I'm using TurnOrder.DEFAULT.
Here's a CodeSandbox of the issue reproduced with Jest, with the relevant code reproduced here:
import { TurnOrder } from "boardgame.io/core";

const Client = require("boardgame.io").Client;

const game = {
  setup: () => ({
    dice: 3
  }),
  turn: { moveLimit: 1, order: TurnOrder.DEFAULT },
  phases: {
    A: {
      start: true,
      next: "A",
      onBegin: (G, ctx) => {
        console.log(
          `Phase A start. Dice: ${G.dice}, player: ${ctx.currentPlayer}`
        );
      },
      endIf: (G, ctx) => G.dice === 0,
      onEnd: (G, ctx) => {
        console.log(
          `Phase A end. Dice: ${G.dice}, player: ${ctx.currentPlayer}`
        );
        G.dice = 3;
      }
    }
  },
  moves: {
    noop: (G, ctx) => {
      G.dice -= 1;
      console.log(`Player ${ctx.currentPlayer} moves. Dice: ${G.dice}`);
    }
  }
};

const client = Client({ game, numPlayers: 3 });

test("turn test", async () => {
  expect(client.getState().ctx.currentPlayer).toBe("0");
  client.moves.noop(); //then goes to player 1
  client.moves.noop(); //then goes to player 2
  client.moves.noop(); //**should** now go to player 3
  // phase ends
  expect(client.getState().ctx.currentPlayer).toBe("0");
});

With 3 players, 1 move per player, and the phase ends after 3 moves, at the start of the next phase the player should be "0". The console output is probably more helpful:
Player 2 moves. Dice: 0
Phase A end. Dice: 0, player: 2
Phase A start. Dice: 3, player: 2
Player 2 moves. Dice: 2

The phase section of the docs:

Whenever a phase ends, the current player's turn is first ended automatically.

This was the behaviour pre 0.33 or 0.34. Also, I cannot seem to end this persons turn by using events.endTurn() either (during phase.onEnd), or with moveLimit specified or not. But ignore that for now.

I implemented this behaviour in #444. The default maintains the current player at the start of a new phase partly because before v0.33 phases didn’t end turns and they were effectively unrelated to turns (so an unchanged currentPlayer was consistent with previous behaviour).
If you want the current player to be incremented in a new phase, you can set a suitable first option in that phase’s turn configuration, for example:
phases: {
  phaseThatIncrementsCurrentPlayer: {
    turn: {
      order: {
        first: (G, ctx) => (ctx.playOrderPos + 1) % ctx.playOrder.length,
      },
    },
  },
}

Given that phases now automatically end turns, there may be an argument for currentPlayer being incremented in TurnOrder.DEFAULT, which is currently the following:
https://github.com/nicolodavis/boardgame.io/blob/ca64543a4966557f8da9bed586c390913c276024/src/core/turn-order.js#L316-L319

I think that given that phases now end turns, we should rethink this default.
My intuition tells me that these are the most common turn orders in games:

Simple round robin (which also advances when the phase ends).
Round robin that always starts from 0.
Round robin that starts from a game specific "starting player".

Ok, I think I may have gotten the heart of issue slightly incorrect, from what @delucis said. So now turns are ended but the currentPlayer is not incremented?
Prior to 0.33 my turns ended regardless of when the phase ended, which is the desired behavior.
Now the end of a phase also ends a turn. I think the confusion is that since I was testing in my local game with 2 players it was actually increment twice, and returning back to 0. When I am off work I can double-check.
I had assumed the docs had not been updated with this change.
In any case, my game is round-robin but the phases should be separate from whomever's turn it is. All moves end a turn (moveLimit: 1), and certain moves may end a phase, but the phase logic should not interrupt the turn logic.

Yes, now the endPhase event automatically ends the current turn first — allowing use of turn.onEnd — before ending the phase. The currentPlayer in the first turn of the new phase is derived from the turn.order.first function (as shown in my example above). Because TurnOrder.DEFAULT is what it is currently, using that explicitly (or implicitly by not setting a turn order), will not increment currentPlayer.
I agree with @nicolodavis that incrementing currentPlayer (i.e. default support for option 1 in that list) would probably be a reasonable default for the future although it is a breaking change for anyone using phases and TurnOrder.DEFAULT.

Could the turning ending behavior be behind a flag for the phase? autoEndTurn: {bool} or something like that, defaulting to false to retain pre-0.33 behavior)?
That way TurnOrder.DEFAULT won't need to be changed, and the prior behavior for phases also works, everyone's happy?

Could the newer turn ending phase behavior be behind a flag? autoEndTurn: {bool} or something like that, defaulting to false to retain pre-0.33 behavior?
That way TurnOrder.DEFAULT won't need to be changed, and the prior behavior for phases also works, everyone's happy?

If you want the current player to be incremented in a new phase, you can set a suitable first option in that phase’s turn configuration, for example:
phases: {
  phaseThatIncrementsCurrentPlayer: {
    turn: {
      order: {
        first: (G, ctx) => (ctx.playOrderPos + 1) % ctx.playOrder.length,
      },
    },
  },
}

This doesn't work quite right for me, I only have one phase that starts at the beginning of the game and repeats until game end. I need just the turn that was ended by the phase to be incremented to the next player. Overriding order.first causes off-by-one issues at the start of my game. I could code them out but, I think putting this behavior behind a phase prop is still the best option.
I thought I could do a simple workaround by just call ctx.events.endTurn({next: '[desiredPlayer]') in the phase's onEnd event, but it doesn't seem to do anything. :(

Reading over the changes in #444 and the comments, I may still be off mark.
Perhaps another angle makes more sense: What if the moveLimit is reached at the same time the phase ends? What's the order of precedence?

Yes you’re right that my suggested fix only works for non-starting phases. Hmm. 🤔
I think a first that might actually work could look something like this (haven’t had a chance to test it):
first: (G, ctx) => ctx.turn === 0 ? ctx.playOrderPos : (ctx.playOrderPos + 1) % ctx.playOrder.length

Events in hooks are also currently broken (#482) which is why endTurn in phase.onEnd isn't working, but it also seems a little hacky to have to do that in any case.

Yes, that works but I was trying to say the new behavior (the phase ending a turn) should behind a feature flag, to avoid having to change TurnOrder.DEFAULT, etc.
RE: Events in hooks: Thanks, that explains it.

Right — the confusing thing is that the turns are currently ended, it’s just that then the first player in the new phase is the same as the last player in the previous phase. So technically two turns for the same player split by the phase change. Given how confusing and uncommon that behaviour probably is, it doesn’t seem like a good default!

Dope, that's right. Forgot about that. Yeah it is confusing. I guess the issue is I was expecting the turn.order.next to be called at that last turn in a phase.


[TACHYON-1563] Clean up LocalTachyonCluster on exception

https://tachyon.atlassian.net/browse/TACHYON-1563

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7960/
Test PASSed.

LGTM. Thanks for the improvement.


Batch summarisation

This is significantly faster when using local models.
I dropped the silent exception capture, I'm not sure if it makes sense to keep it?
Fixes https://github.com/whitead/paper-qa/issues/176

Hi @zacps thank you for this PR. We just released v5 today which changes basically the whole repo.
If you are still interested in this feature (which is a good one I will say) please rebase this PR atop the current main branch

Thanks for your contribution! This is now stale - please open a new PR if you're still interested.


Support Claude 3 (Cody)

are there plans to support Claude 3 Opus for Cody chat & commands in the near future? just recently subscribed for it / had assumed parity with the recent vscode release.

I think Claude 3 is only available for paying Cody users (Pro & Enterprise)

@jmpaz
New models support is being added with https://github.com/sourcegraph/sg.nvim/tree/update-cody-agent-03-12 branch.
@tjdevries  is still working on it but I tested on my machine and it works fine so you can checkout to this branch.
If you are using lazy package manager, then you can switch branch something like this,
{
	"sourcegraph/sg.nvim",
	branch = "update-cody-agent-03-12",
	build = "nvim -l build/init.lua",
....
}

That was already merged and is ready to use, however only for Pro/Enterprise users.
https://github.com/sourcegraph/sg.nvim/pull/213
I am curious if Claude 3 is only being used for the Chat or also for the code completion?
Because AFAIK there is no completion API available for the Claude 3 models

I can confirm that Claude 3 is working for chat.

The models should all be available now (as of a few days ago) and you can set your default chat model with something like this:
      require("sg").setup {
        accept_tos = true,
        chat = {
          default_model = "opeanai/gpt-4o",
        },
      }


BUG: Hover effects in social media icons in footer

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
No hover effects are there in the social media icons in footer.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Sayak-Bhunia Kindly assign this issue to me


ADD: An actually working search functionality

Streams look good. Thanks @kosch104

Tests added

Closes #258


Storage Incentive Agent

This component implements participating in the redistribution process.
The component only listens to on-chain redistribution round related information, if the following conditions are both true:

If the node has staking enabled and currently owns stake registered with the overlay address  as part of #3071
If the storage depth is signaled as stable, meaning we are not in an intensive pull-syncing / adaptation period at the moment

The component listens to on-chain data for RandomAura as source of Redistribution anchors (defined as either every odd or every even RandomAura round)
When PO(redistribution anchor, overlay) >= storage depth,

it triggers the reserve commitment sampler, waits for reserve commitment
submits a transaction to use the commit function of the redistribution contract to commence application with the hash of the reserve commitment hash, the depth, and some secret nonce
after commit period is over submits a transaction to use the reveal function of the redistribution contract to announce actual reserve commitment hash and depth by revealing all three components of commit
after reveal period is over uses the claim accessor of the redistribution contract to determine winning,
if redistribution contract shows winning outcome for the node, the claim function is called by a subsequent transaction

Expected smart contract functions:
Commit(bytes32 obfuscatedHash, bytes32 transaction)
"transaction" needed for overlay verification, to see it exists in stake registry which matches the overlay of the committing ethereum address
Reveal(nonce bytes32, depth uint8, hash bytes32)
Claim()

Would be nice to add links to the smart contracts itself once the code is available, at least on the interface level.


Fix regression in loadFeature now corrected to consider global options for relative feature file loading

This PR corrects a regression present since version 4.
The problem concerned the loadFeature function, which threw an exception when loadRelativePath was set to true via setJestCucumberConfiguration in the setupTest file.

Thanks for fixing this!


Camera does not work without manually setting permisions

The camera's are not being detected, and will crash the app when trying to use them without manually allowing the camera permission in android settings.
A permission request needs to be added to the app. Docs here: https://developer.android.com/guide/topics/permissions/requesting.html

The issue here is the permission request is not being fired, which is a regression from older versions and things moving around... so we'll shore that up

Should be fixed in https://github.com/WallPanel-Project/wallpanel-android/commit/1640e4e3f33710f5e6213157585703b1b7666c5e

Test release: https://github.com/WallPanel-Project/wallpanel-android/releases/tag/0.7b1


[Merge] MONDO:0019663 and MONDO:0013127

Mondo term (ID and Label)
MONDO:0019663 "short rib-polydactyly syndrome, Saldino-Noonan type"
MONDO:0013127 "asphyxiating thoracic dystrophy 3"
Reason for deprecation
Both terms have syn of "short rib-polydactyly syndrome type 1/I" and according to https://www.omim.org/entry/613091, they are alternate names for the same condition.
Term to be merged with
MONDO:0013127 "asphyxiating thoracic dystrophy 3" (this already has the OMIM x-ref, seems to make sense to keep this one.)
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here

Thanks @kanems, I'll email the list before proceeding.


Is there a vector map in Carla?

Hello,I notice that a vector map is loaded in rviz which runs the open planner? I wander that currently if a vector map is  provided in carla town.

Hi @JackRen88!
Currently, we are providing vector maps for Town01 and Town02 (You can find them here: https://bitbucket.org/carla-simulator/autoware-contents/src/master/maps/vector_maps/). We are currently working to integrate the traffic lights and to provide the rest of the Towns.