microsoft / vcpkg

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

[libffi] Build error #33395

Closed misuo closed 5 months ago

misuo commented 1 year ago

Package: libffi:x64-windows -> 3.4.4#3

tl;dr: I believe problem is related to having whitespace in path.

Host Environment

To Reproduce

vcpkg install Failure logs

-- Downloading https://github.com/libffi/libffi/releases/download/v3.4.4/libffi-3.4.4.tar.gz -> libffi-3.4.4.tar.gz...
-- Extracting source C:/Work/vcpkg/downloads/libffi-3.4.4.tar.gz
-- Applying patch dll-bindir.diff
-- Using source at C:/Work/vcpkg/buildtrees/libffi/src/libffi-3-84fbdc7636.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- Getting CMake variables for x64-windows
CMake Warning at scripts/cmake/vcpkg_configure_make.cmake:219 (message):
  Detected whitespace in root directory.  Please move the path to one without
  whitespaces! The required tools do not handle whitespaces correctly and the
  build will most likely fail
Call Stack (most recent call first):
  buildtrees/versioning_/versions/libffi/5229da2e57e35c0ab7d043b27c19a29355e0a2c2/portfile.cmake:44 (vcpkg_configure_make)
  scripts/ports.cmake:147 (include)

-- Downloading https://mirror.msys2.org/msys/x86_64/autoconf-wrapper-20221207-1-any.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/autoconf-wrapper-20221207-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/autoconf-wrapper-20221207-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/autoconf-wrapper-20221207-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/autoconf-wrapper-20221207-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/autoconf-wrapper-20221207-1-any.pkg.tar.zst -> msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/automake-wrapper-20221207-1-any.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/automake-wrapper-20221207-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/automake-wrapper-20221207-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/automake-wrapper-20221207-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/automake-wrapper-20221207-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/automake-wrapper-20221207-1-any.pkg.tar.zst -> msys2-automake-wrapper-20221207-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/binutils-2.40-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/binutils-2.40-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/binutils-2.40-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/binutils-2.40-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/binutils-2.40-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/binutils-2.40-1-x86_64.pkg.tar.zst -> msys2-binutils-2.40-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libtool-2.4.7-3-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libtool-2.4.7-3-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libtool-2.4.7-3-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libtool-2.4.7-3-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libtool-2.4.7-3-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libtool-2.4.7-3-x86_64.pkg.tar.zst -> msys2-libtool-2.4.7-3-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/make-4.4.1-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/make-4.4.1-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/make-4.4.1-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/make-4.4.1-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/make-4.4.1-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/make-4.4.1-1-x86_64.pkg.tar.zst -> msys2-make-4.4.1-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/pkgconf-1.9.4-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/pkgconf-1.9.4-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/pkgconf-1.9.4-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/pkgconf-1.9.4-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/pkgconf-1.9.4-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/pkgconf-1.9.4-1-x86_64.pkg.tar.zst -> msys2-pkgconf-1.9.4-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst -> msys2-which-2.21-4-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/bash-5.2.015-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/bash-5.2.015-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/bash-5.2.015-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/bash-5.2.015-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/bash-5.2.015-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/bash-5.2.015-1-x86_64.pkg.tar.zst -> msys2-bash-5.2.015-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst -> msys2-coreutils-8.32-5-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/file-5.44-5-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/file-5.44-5-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/file-5.44-5-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/file-5.44-5-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/file-5.44-5-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/file-5.44-5-x86_64.pkg.tar.zst -> msys2-file-5.44-5-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/gawk-5.2.1-2-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/gawk-5.2.1-2-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/gawk-5.2.1-2-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/gawk-5.2.1-2-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/gawk-5.2.1-2-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/gawk-5.2.1-2-x86_64.pkg.tar.zst -> msys2-gawk-5.2.1-2-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst -> msys2-grep-1~3.0-6-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/gzip-1.12-2-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/gzip-1.12-2-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/gzip-1.12-2-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/gzip-1.12-2-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/gzip-1.12-2-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/gzip-1.12-2-x86_64.pkg.tar.zst -> msys2-gzip-1.12-2-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/diffutils-3.9-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/diffutils-3.9-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/diffutils-3.9-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/diffutils-3.9-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/diffutils-3.9-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/diffutils-3.9-1-x86_64.pkg.tar.zst -> msys2-diffutils-3.9-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst -> msys2-sed-4.9-1-x86_64.pkg.tar.zst...
-- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
-- Downloading https://mirror.msys2.org/msys/x86_64/autoconf2.71-2.71-1-any.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/autoconf2.71-2.71-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/autoconf2.71-2.71-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/autoconf2.71-2.71-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/autoconf2.71-2.71-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/autoconf2.71-2.71-1-any.pkg.tar.zst -> msys2-autoconf2.71-2.71-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst -> msys2-automake1.16-1.16.5-1-any.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst -> msys2-libiconv-1.17-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libintl-0.21-2-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libintl-0.21-2-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libintl-0.21-2-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libintl-0.21-2-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libintl-0.21-2-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libintl-0.21-2-x86_64.pkg.tar.zst -> msys2-libintl-0.21-2-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/zlib-1.2.13-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/zlib-1.2.13-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/zlib-1.2.13-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/zlib-1.2.13-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/zlib-1.2.13-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/zlib-1.2.13-1-x86_64.pkg.tar.zst -> msys2-zlib-1.2.13-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/tar-1.34-3-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/tar-1.34-3-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/tar-1.34-3-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/tar-1.34-3-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/tar-1.34-3-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/tar-1.34-3-x86_64.pkg.tar.zst -> msys2-tar-1.34-3-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/findutils-4.9.0-3-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/findutils-4.9.0-3-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/findutils-4.9.0-3-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/findutils-4.9.0-3-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/findutils-4.9.0-3-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/findutils-4.9.0-3-x86_64.pkg.tar.zst -> msys2-findutils-4.9.0-3-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/gmp-6.2.1-2-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/gmp-6.2.1-2-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/gmp-6.2.1-2-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/gmp-6.2.1-2-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/gmp-6.2.1-2-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/gmp-6.2.1-2-x86_64.pkg.tar.zst -> msys2-gmp-6.2.1-2-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/gcc-libs-11.3.0-3-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/gcc-libs-11.3.0-3-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/gcc-libs-11.3.0-3-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/gcc-libs-11.3.0-3-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/gcc-libs-11.3.0-3-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/gcc-libs-11.3.0-3-x86_64.pkg.tar.zst -> msys2-gcc-libs-11.3.0-3-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst -> msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/liblzma-5.4.1-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/liblzma-5.4.1-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/liblzma-5.4.1-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/liblzma-5.4.1-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/liblzma-5.4.1-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/liblzma-5.4.1-1-x86_64.pkg.tar.zst -> msys2-liblzma-5.4.1-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libzstd-1.5.4-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libzstd-1.5.4-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libzstd-1.5.4-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libzstd-1.5.4-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libzstd-1.5.4-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libzstd-1.5.4-1-x86_64.pkg.tar.zst -> msys2-libzstd-1.5.4-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libreadline-8.2.001-3-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libreadline-8.2.001-3-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libreadline-8.2.001-3-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libreadline-8.2.001-3-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libreadline-8.2.001-3-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libreadline-8.2.001-3-x86_64.pkg.tar.zst -> msys2-libreadline-8.2.001-3-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/mpfr-4.2.0-2-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/mpfr-4.2.0-2-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/mpfr-4.2.0-2-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/mpfr-4.2.0-2-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/mpfr-4.2.0-2-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/mpfr-4.2.0-2-x86_64.pkg.tar.zst -> msys2-mpfr-4.2.0-2-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libpcre-8.45-3-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libpcre-8.45-3-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libpcre-8.45-3-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libpcre-8.45-3-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libpcre-8.45-3-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libpcre-8.45-3-x86_64.pkg.tar.zst -> msys2-libpcre-8.45-3-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst -> msys2-m4-1.4.19-2-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/perl-5.36.0-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/perl-5.36.0-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/perl-5.36.0-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/perl-5.36.0-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/perl-5.36.0-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/perl-5.36.0-1-x86_64.pkg.tar.zst -> msys2-perl-5.36.0-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/ncurses-6.4-1-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/ncurses-6.4-1-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/ncurses-6.4-1-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/ncurses-6.4-1-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/ncurses-6.4-1-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/ncurses-6.4-1-x86_64.pkg.tar.zst -> msys2-ncurses-6.4-1-x86_64.pkg.tar.zst...
-- Downloading https://mirror.msys2.org/msys/x86_64/libcrypt-2.1-4-x86_64.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/libcrypt-2.1-4-x86_64.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/libcrypt-2.1-4-x86_64.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/libcrypt-2.1-4-x86_64.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/libcrypt-2.1-4-x86_64.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/libcrypt-2.1-4-x86_64.pkg.tar.zst -> msys2-libcrypt-2.1-4-x86_64.pkg.tar.zst...
-- Applying patch C:/Work/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
-- Using msys root at C:/Work/vcpkg/downloads/tools/msys2/d7266db249278763
-- 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 C:/Work/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/Work/vcpkg/downloads/tools/msys2/d7266db249278763/usr/bin/make.exe -j 17 --trace -f Makefile all
    Working Directory: C:/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/
    See logs for more information:
      C:\Work\vcpkg\buildtrees\libffi\build-x64-windows-dbg-out.log
      C:\Work\vcpkg\buildtrees\libffi\build-x64-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_make.cmake:151 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
  buildtrees/versioning_/versions/libffi/5229da2e57e35c0ab7d043b27c19a29355e0a2c2/portfile.cmake:54 (vcpkg_install_make)
  scripts/ports.cmake:147 (include)
C:\Work\vcpkg\buildtrees\libffi\build-x64-windows-dbg-out.log ``` Makefile:664: update target 'fficonfig.h' due to: stamp-h1 test -f fficonfig.h || rm -f stamp-h1 test -f fficonfig.h || /usr/bin/make stamp-h1 Makefile:625: update target 'all' due to: target is .PHONY /usr/bin/make all-recursive make[1]: Entering directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg' Makefile:1397: update target 'all-recursive' due to: target is .PHONY fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '1'; then false; elif test -n 'x86_64-pc-msys'; then true; elif test -n '4.4.1' && test -n '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ case "all-recursive" in \ distclean-* | maintainer-clean-*) list='include testsuite man doc' ;; \ *) list='include testsuite man ' ;; \ esac; \ for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && /usr/bin/make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ /usr/bin/make "$target-am" || exit 1; \ fi; test -z "$fail" Making all in include make[2]: Entering directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/include' Making all in testsuite make[2]: Entering directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/testsuite' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/testsuite' Making all in man make[2]: Entering directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/man' make[2]: Entering directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg' Makefile:726: update target 'src/.dirstamp' due to: target does not exist /usr/bin/mkdir -p src Makefile:729: update target 'src/.deps/.dirstamp' due to: target does not exist /usr/bin/mkdir -p src/.deps : > src/.dirstamp : > src/.deps/.dirstamp Makefile:1049: update target 'src/x86/.dirstamp' due to: target does not exist /usr/bin/mkdir -p src/x86 Makefile:1052: update target 'src/x86/.deps/.dirstamp' due to: target does not exist /usr/bin/mkdir -p src/x86/.deps : > src/x86/.deps/.dirstamp : > src/x86/.dirstamp Makefile:664: update target 'fficonfig.h' due to: stamp-h1 test -f fficonfig.h || rm -f stamp-h1 Makefile:1323: update target 'src/prep_cif.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/prep_cif.c' object='src/prep_cif.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/prep_cif.lo ./../src/libffi-3-84fbdc7636.clean/src/prep_cif.c Makefile:1323: update target 'src/types.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/types.c' object='src/types.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/types.lo ./../src/libffi-3-84fbdc7636.clean/src/types.c Makefile:1323: update target 'src/raw_api.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/raw_api.c' object='src/raw_api.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/raw_api.lo ./../src/libffi-3-84fbdc7636.clean/src/raw_api.c Makefile:1323: update target 'src/java_raw_api.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/java_raw_api.c' object='src/java_raw_api.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/java_raw_api.lo ./../src/libffi-3-84fbdc7636.clean/src/java_raw_api.c Makefile:1323: update target 'src/closures.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/closures.c' object='src/closures.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/closures.lo ./../src/libffi-3-84fbdc7636.clean/src/closures.c Makefile:1323: update target 'src/tramp.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/tramp.c' object='src/tramp.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/tramp.lo ./../src/libffi-3-84fbdc7636.clean/src/tramp.c test -f fficonfig.h || /usr/bin/make stamp-h1 Makefile:1323: update target 'src/x86/ffiw64.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/x86/ffiw64.c' object='src/x86/ffiw64.lo' libtool=yes \ DEPDIR=.deps depmode=msvc7 /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/x86/ffiw64.lo ./../src/libffi-3-84fbdc7636.clean/src/x86/ffiw64.c Makefile:1299: update target 'src/x86/win64_intel.lo' due to: target does not exist source='./../src/libffi-3-84fbdc7636.clean/src/x86/win64_intel.S' object='src/x86/win64_intel.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/sh ./../src/libffi-3-84fbdc7636.clean/depcomp \ /bin/sh ./libtool --tag=CC --mode=compile msvcc.sh -m64 -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -c -o src/x86/win64_intel.lo ./../src/libffi-3-84fbdc7636.clean/src/x86/win64_intel.S libtool: compile: msvcc.sh -m64 -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -D_DEBUG -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -I./../src/libffi-3-84fbdc7636.clean/src -DFFI_BUILDING -DFFI_BUILDING_DLL -c ./../src/libffi-3-84fbdc7636.clean/src/x86/win64_intel.S -DDLL_EXPORT -DPIC -o src/x86/.libs/win64_intel.obj libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -DFFI_BUILDING -DFFI_BUILDING_DLL -c -showIncludes ./../src/libffi-3-84fbdc7636.clean/src/types.c -DDLL_EXPORT -DPIC -o src/.libs/types.obj types.c libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -DFFI_BUILDING -DFFI_BUILDING_DLL -c -showIncludes ./../src/libffi-3-84fbdc7636.clean/src/raw_api.c -DDLL_EXPORT -DPIC -o src/.libs/raw_api.obj raw_api.c libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -DFFI_BUILDING -DFFI_BUILDING_DLL -c -showIncludes ./../src/libffi-3-84fbdc7636.clean/src/x86/ffiw64.c -DDLL_EXPORT -DPIC -o src/x86/.libs/ffiw64.obj ffiw64.c ./../src/libffi-3-84fbdc7636.clean/src/x86/ffiw64.c(136): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -DFFI_BUILDING -DFFI_BUILDING_DLL -c -showIncludes ./../src/libffi-3-84fbdc7636.clean/src/tramp.c -DDLL_EXPORT -DPIC -o src/.libs/tramp.obj tramp.c libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -DFFI_BUILDING -DFFI_BUILDING_DLL -c -showIncludes ./../src/libffi-3-84fbdc7636.clean/src/prep_cif.c -DDLL_EXPORT -DPIC -o src/.libs/prep_cif.obj prep_cif.c ./../src/libffi-3-84fbdc7636.clean/src/prep_cif.c(244): warning C4018: '<': signed/unsigned mismatch libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -DFFI_BUILDING -DFFI_BUILDING_DLL -c -showIncludes ./../src/libffi-3-84fbdc7636.clean/src/closures.c -DDLL_EXPORT -DPIC -o src/.libs/closures.obj closures.c libtool: compile: compile cl.exe -DHAVE_CONFIG_H -I. -I./../src/libffi-3-84fbdc7636.clean -I. -I./../src/libffi-3-84fbdc7636.clean/include -Iinclude -I./../src/libffi-3-84fbdc7636.clean/src -DWIN32 -D_WINDOWS -nologo -W3 -utf-8 -MP -MDd -Z7 -Ob0 -Od -RTC1 -D_DEBUG -DFFI_BUILDING -DFFI_BUILDING_DLL -c -showIncludes ./../src/libffi-3-84fbdc7636.clean/src/java_raw_api.c -DDLL_EXPORT -DPIC -o src/.libs/java_raw_api.obj java_raw_api.c Assembling: src/x86/.libs/win64_intel.asm Makefile:1105: update target 'libffi_convenience.la' due to: target does not exist /bin/sh ./libtool --tag=CC --mode=link compile cl.exe -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -Xlinker -Xlinker -Xlinker -LC:/Work/Systems/Audit;Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL -o libffi_convenience.la src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/tramp.lo src/x86/ffiw64.lo src/x86/win64_intel.lo -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 Makefile:1102: update target 'libffi.la' due to: target does not exist /bin/sh ./libtool --tag=CC --mode=link compile cl.exe -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -no-undefined -version-info `grep -v '^#' ./../src/libffi-3-84fbdc7636.clean/libtool-version` '-Xlinker' '-Xlinker' '-Xlinker' '-LC:/Work/Systems/Audit' -no-undefined -Xlinker -Xlinker -Xlinker -LC:/Work/Systems/Audit;Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL -o libffi.la -rpath /C/Work/Systems/Audit Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib src/prep_cif.lo src/types.lo src/raw_api.lo src/java_raw_api.lo src/closures.lo src/tramp.lo src/x86/ffiw64.lo src/x86/win64_intel.lo -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 Usage: /c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. Usage: /c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg/libtool [OPTION]... [MODE-ARG]... Try 'libtool --help' for more information. make[2]: Leaving directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg' make[1]: Leaving directory '/c/Work/vcpkg/buildtrees/libffi/x64-windows-dbg' ```
C:\Work\vcpkg\buildtrees\libffi\build-x64-windows-dbg-err.log ``` win64_intel.S /bin/sh: line 1: Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib: No such file or directory libtool: error: you must specify an output file /bin/sh: line 1: Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib: No such file or directory make[2]: *** [Makefile:1105: libffi_convenience.la] Error 127 make[2]: *** Waiting for unfinished jobs.... libtool: error: you must specify an output file /bin/sh: line 1: Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib: No such file or directory make[2]: *** [Makefile:1102: libffi.la] Error 127 make[1]: *** [Makefile:1397: all-recursive] Error 1 make: *** [Makefile:625: all] Error 2 ```

Additional context

vcpkg.json ``` { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json", "name": "audit-support", "version": "7.1.0", "dependencies": [ "fmt", "restinio", "webview2", "pybind11", "python3" ], "builtin-baseline": "436a061a544c124200200517b9ee55c5bb1b7a26" } ```
VEERASEKHAR-GIT commented 1 year ago

Remove Whitespace from Directory Path, vcpkg update, vcpkg install , vcpkg install --overlay-ports=/ports --overlay-triplets=/triplets pacman -Syu

VEERASEKHAR-GIT commented 1 year ago

In your case"C:/Work/vcpkg/," and it seems that the space in "C:/Work/" is causing the issue

VEERASEKHAR-GIT commented 1 year ago

Change the folder name to something without spaces, like "MyWork" or "Work_Project." npm install pip install -r requirements.txt While the installation is in progress, don't interrupt it. You might see a progress bar or messages indicating which packages are being installed.

autoantwort commented 1 year ago

I believe problem is related to having whitespace in path.

Then it is a upstream bug. I think it is better to report it there.

misuo commented 1 year ago

Then it is a upstream bug. I think it is better to report it there.

.. and by that you mean reporting the problem (creating an issue) in https://github.com/libffi/libffi, right?

In your case"C:/Work/vcpkg/," and it seems that the space in "C:/Work/" is causing the issue

... the build directory is C:\Work\Systems\Audit Support\Dev7-1\vcpkg_installed. There is no space around Work directory. The space is in Audit Support, which is why the build-x64-windows-dbg-err.log log lines starts with Support. Build systems/scripts should not have problems with whitespace in paths anymore. It is a defect. I cannot say whether this is a vcpkg thing or libffi thing.

dg0yt commented 1 year ago

Build systems/scripts should not have problems with whitespace in paths anymore. It is a defect.

Yes. But in practice, it is a somewhat frequent defect in upstream build systems. There are also other characters which can cause trouble, in particular +.

I cannot say whether this is a vcpkg thing or libffi thing.

It is a common problem in autotools based projects on windows, probably due to how Windows command line and quotation differs from the POSIX way, and the difficulty to pass everything correctly through parameters, environment variables and wrappers. Probably can create more wrappers to resolve it, but it might slow down things even further. So normally it is best to simply avoid these paths.

But...

... -LC:/Work/Systems/Audit;Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib ...

might be a misinterpretation in cmake (i.e. vcpkg) scripts - ; is the cmake list separator. It might make sense to check ...dbg-config.log to see if it was already passed like that to configure (via options or environment).

misuo commented 1 year ago

If it is any help, here is the first ~250 lines of content in C:\Work\vcpkg\buildtrees\libffi\config-x64-windows-dbg-config.log:

config-x64-windows-dbg-config.log ``` This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libffi configure 3.4.4, which was generated by GNU Autoconf 2.71. Invocation command line was $ ./../src/libffi-3-84fbdc7636.clean/configure --build=x86_64-pc-mingw32 --enable-portable-binary --disable-docs 'CFLAGS=-Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL' 'CCAS=msvcc.sh -m64' ac_cv_prog_ac_ct_STRIP=: gl_cv_double_slash_root=yes ac_cv_func_memmove=yes --disable-silent-rules --verbose --enable-shared --disable-static '--prefix=/C/Work/Systems/Audit Support/Dev7-1/vcpkg_installed/x64-windows/debug' '--bindir=${prefix}/../tools/libffi/debug/bin' '--sbindir=${prefix}/../tools/libffi/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/libffi' ## --------- ## ## Platform. ## ## --------- ## hostname = PF2W6SY7 uname -m = x86_64 uname -r = 3.4.6.x86_64 uname -s = MSYS_NT-10.0-19045 uname -v = 2023-02-15 18:03 UTC /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.37.32822/bin/HostX64/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/VC/VCPackages/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TestWindow/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/bin/Roslyn/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Team Tools/Performance Tools/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Team Tools/Performance Tools/ PATH: /c/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.8 Tools/x64/ PATH: /c/Program Files (x86)/HTML Help Workshop/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/FSharp/Tools/ PATH: /c/Program Files (x86)/Windows Kits/10/bin/10.0.22621.0/x64/ PATH: /c/Program Files (x86)/Windows Kits/10/bin/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/ PATH: /c/Windows/Microsoft.NET/Framework64/v4.0.30319/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/Tools/ PATH: /c/Work/vcpkg/downloads/tools/powershell-core-7.2.11-windows/ PATH: /c/Work/vcpkg/scripts/buildsystems/make_wrapper/ PATH: /usr/share/automake-1.16/ PATH: /usr/bin/ PATH: /c/Windows/system32/ PATH: /c/Windows/ PATH: /c/Windows/system32/Wbem/ PATH: /c/Windows/system32/WindowsPowerShell/v1.0/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/VC/Linux/bin/ConnectionManagerExe/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/VC/vcpkg/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ PATH: /c/Work/vcpkg/buildtrees/libffi/src/libffi-3-84fbdc7636.clean/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ PATH: /c/Work/vcpkg/downloads/tools/msys2/6f3fa1a12ef85a6f/mingw32/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:3073: looking for aux files: ltmain.sh compile missing install-sh config.guess config.sub configure:3086: trying ./../src/libffi-3-84fbdc7636.clean/ configure:3115: ./../src/libffi-3-84fbdc7636.clean/ltmain.sh found configure:3115: ./../src/libffi-3-84fbdc7636.clean/compile found configure:3115: ./../src/libffi-3-84fbdc7636.clean/missing found configure:3097: ./../src/libffi-3-84fbdc7636.clean/install-sh found configure:3115: ./../src/libffi-3-84fbdc7636.clean/config.guess found configure:3115: ./../src/libffi-3-84fbdc7636.clean/config.sub found configure:3236: checking build system type configure:3251: result: x86_64-pc-mingw32 configure:3271: checking host system type configure:3285: result: x86_64-pc-mingw32 configure:3305: checking target system type configure:3319: result: x86_64-pc-mingw32 configure:3417: checking for gsed configure:3453: result: sed configure:3482: checking for a BSD-compatible install configure:3555: result: /usr/bin/install -c configure:3566: checking whether build environment is sane configure:3621: result: yes configure:3776: checking for a race-free mkdir -p configure:3820: result: /usr/bin/mkdir -p configure:3827: checking for gawk configure:3848: found /usr/bin/gawk configure:3859: result: gawk configure:3870: checking whether make sets $(MAKE) configure:3893: result: yes configure:3923: checking whether make supports nested variables configure:3941: result: yes configure:4150: checking for gcc configure:4182: result: compile cl.exe configure:4535: checking for C compiler version configure:4544: compile cl.exe --version >&5 Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9002 : ignoring unknown option '--version' cl : Command line error D8003 : missing source filename configure:4555: $? = 2 configure:4544: compile cl.exe -v >&5 Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9002 : ignoring unknown option '-v' cl : Command line error D8003 : missing source filename configure:4555: $? = 2 configure:4544: compile cl.exe -V >&5 Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line error D8004 : '/V' requires an argument configure:4555: $? = 2 configure:4544: compile cl.exe -qversion >&5 Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9002 : ignoring unknown option '-qversion' cl : Command line error D8003 : missing source filename configure:4555: $? = 2 configure:4544: compile cl.exe -version >&5 Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32822 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl : Command line warning D9002 : ignoring unknown option '-version' cl : Command line error D8003 : missing source filename configure:4555: $? = 2 configure:4575: checking whether the C compiler works configure:4597: compile cl.exe -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG -Xlinker -Xlinker -Xlinker -LC:/Work/Systems/Audit;Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL conftest.c -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 >&5 cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' conftest.c cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' cl : Command line warning D9002 : ignoring unknown option '-Xcompiler' LINK : warning LNK4044: unrecognized option '/Xlinker'; ignored LINK : warning LNK4044: unrecognized option '/LC:/Work/Systems/Audit;Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib'; ignored LINK : warning LNK4044: unrecognized option '/Xlinker'; ignored LINK : warning LNK4044: unrecognized option '/Xlinker'; ignored LINK : warning LNK4044: unrecognized option '/Xlinker'; ignored LINK : warning LNK4044: unrecognized option '/Xlinker'; ignored configure:4601: $? = 0 configure:4651: result: yes configure:4654: checking for C compiler default output file name configure:4656: result: conftest.exe configure:4662: checking for suffix of executables configure:4669: compile cl.exe -o conftest.exe -Xcompiler -nologo -Xcompiler -W3 -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DFFI_BUILDING -DFFI_BUILDING_DLL -DWIN32 -D_WINDOWS -D_DEBUG -Xlinker -Xlinker -Xlinker -LC:/Work/Systems/Audit;Support/Dev7-1/vcpkg_installed/x64-windows/debug/lib -Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL conftest.c -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32 >&5 ... ```
misuo commented 1 year ago

A workaround that works for me is to use an override to a older version of libffi, i.e. the vcpkg.json (manifest file) is updated to use an override like:

{
  "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
  "name": "audit-support",
  "version": "7.1.0",
  "dependencies": [
    "fmt",
    "restinio",
    "webview2",
    "pybind11",
    "python3"
  ],
  "builtin-baseline": "436a061a544c124200200517b9ee55c5bb1b7a26",
  "overrides": [
    { "name":  "libffi", "version": "3.4.2#6" }
  ]
}
github-actions[bot] commented 1 year ago

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

github-actions[bot] commented 1 year ago

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

henrygab commented 10 months ago

This appears to still occur. libffi appears to be a dependency for boost, so this may have broader impact than initially thought.

Repro steps: .\vcpkg\vcpkg.exe install boost

dg0yt commented 10 months ago

@henrygab The repros steps are not sufficient. It builds well for CI and most users. Generally, do not use a working dir path containing space or +. This is a broader problem.

henrygab commented 10 months ago

I understand the problems associated with whitespace, +, and other "special" characters that require distinct escaping on different platforms / shells.

I've opened #35966 with bare minimum repro steps. I hope that helps track down the issue. I can repro at will, and am happy to send additional logs / enable verbose mode / otherwise do things to help get to root cause. Will look for follow-up in 35966...

henrygab commented 10 months ago

@Misuo -- I found one potential cause ... Mandatory ASLR settings. See details in https://github.com/microsoft/vcpkg/issues/35966#issuecomment-1874490446.

Can you check if this was enabled on your machine, and if so, whether disabling mandatory ASLR also resolves the issue for you?

MonicaLiu0311 commented 5 months ago

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.