Skip to content

Problem with build of latest version #247

@svddevelop

Description

@svddevelop

Hello All,
I had try to build third-parts library under Windows10 and have follows messages:

`
Z:\WI\VPN\FREELAN-VPN\vcpkg>vcpkg install boost miniupnpc libiconv openssl curl --triplet x86-windows-static
Computing installation plan...
The following packages will be built and installed:
boost:x86-windows-static -> 1.83.0#1

  • boost-parameter-python:x86-windows-static -> 1.83.0
  • boost-pfr:x86-windows-static -> 1.83.0
  • boost-poly-collection:x86-windows-static -> 1.83.0
  • boost-process:x86-windows-static -> 1.83.0
  • boost-program-options:x86-windows-static -> 1.83.0
  • boost-python[core,python3]:x86-windows-static -> 1.83.0
  • boost-safe-numerics:x86-windows-static -> 1.83.0
  • boost-signals2:x86-windows-static -> 1.83.0
  • boost-sort:x86-windows-static -> 1.83.0
  • boost-stacktrace:x86-windows-static -> 1.83.0
  • boost-statechart:x86-windows-static -> 1.83.0
  • boost-stl-interfaces:x86-windows-static -> 1.83.0
  • boost-test:x86-windows-static -> 1.83.0
  • boost-timer:x86-windows-static -> 1.83.0
  • boost-type-erasure:x86-windows-static -> 1.83.0
  • boost-url:x86-windows-static -> 1.83.0
  • boost-vmd:x86-windows-static -> 1.83.0
  • boost-wave:x86-windows-static -> 1.83.0
  • boost-yap:x86-windows-static -> 1.83.0
    curl[core,non-http,schannel,ssl,sspi]:x86-windows-static -> 8.3.0
  • libffi:x64-windows -> 3.4.4#5
    libiconv:x86-windows-static -> 1.17#1
  • liblzma:x64-windows -> 5.4.3#1
    miniupnpc:x86-windows-static -> 2.2.5
  • openssl:x64-windows -> 3.1.3
    openssl:x86-windows-static -> 3.1.3
  • pkgconf:x64-windows -> 1.8.0#5
  • python3:x86-windows-static -> 3.11.5
  • python3:x64-windows -> 3.11.5
  • sqlite3[core,json1]:x64-windows -> 3.43.0
  • vcpkg-msbuild:x64-windows -> 2023-08-08
  • vcpkg-pkgconfig-get-modules:x64-windows -> 2023-09-06
  • vcpkg-tool-meson:x64-windows -> 0.63
  • zlib:x64-windows -> 1.3
    Additional packages (*) will be modified to complete this operation.
    Detecting compiler hash for triplet x64-windows...
    Detecting compiler hash for triplet x86-windows-static...
    Restored 0 package(s) from C:\Users\Svd\AppData\Local\vcpkg\archives in 1.54 ms. Use --debug to see more details.
    Installing 1/35 libffi:x64-windows...
    Building libffi:x64-windows...
    -- Using cached libffi-3.4.4.tar.gz.
    -- Cleaning sources at Z:/WI/VPN/FREELAN-VPN/vcpkg/buildtrees/libffi/src/libffi-3-84fbdc7636.clean. Use --editable to skip cleaning for the packages you specify.
    -- Extracting source Z:/WI/VPN/FREELAN-VPN/vcpkg/downloads/libffi-3.4.4.tar.gz
    -- Applying patch dll-bindir.diff
    -- Using source at Z:/WI/VPN/FREELAN-VPN/vcpkg/buildtrees/libffi/src/libffi-3-84fbdc7636.clean
    -- Found external ninja('1.10.2').
    -- Getting CMake variables for x64-windows
    -- Getting CMake variables for x64-windows
    -- Using cached msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst.
    -- Using cached msys2-automake-wrapper-20221207-1-any.pkg.tar.zst.
    -- Using cached msys2-binutils-2.40-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-libtool-2.4.7-3-x86_64.pkg.tar.zst.
    -- Using cached msys2-make-4.4.1-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-pkgconf-1.9.4-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst.
    -- Using cached msys2-bash-5.2.015-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
    -- Using cached msys2-file-5.44-5-x86_64.pkg.tar.zst.
    -- Using cached msys2-gawk-5.2.1-2-x86_64.pkg.tar.zst.
    -- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
    -- Using cached msys2-gzip-1.12-2-x86_64.pkg.tar.zst.
    -- Using cached msys2-diffutils-3.9-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-msys2-runtime-3.4.6-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-autoconf2.71-2.71-1-any.pkg.tar.zst.
    -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst.
    -- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-libintl-0.21-2-x86_64.pkg.tar.zst.
    -- Using cached msys2-zlib-1.2.13-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-tar-1.34-3-x86_64.pkg.tar.zst.
    -- Using cached msys2-findutils-4.9.0-3-x86_64.pkg.tar.zst.
    -- Using cached msys2-gmp-6.2.1-2-x86_64.pkg.tar.zst.
    -- Using cached msys2-gcc-libs-11.3.0-3-x86_64.pkg.tar.zst.
    -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
    -- Using cached msys2-liblzma-5.4.1-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-libzstd-1.5.4-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-libreadline-8.2.001-3-x86_64.pkg.tar.zst.
    -- Using cached msys2-mpfr-4.2.0-2-x86_64.pkg.tar.zst.
    -- Using cached msys2-libpcre-8.45-3-x86_64.pkg.tar.zst.
    -- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst.
    -- Using cached msys2-perl-5.36.0-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-ncurses-6.4-1-x86_64.pkg.tar.zst.
    -- Using cached msys2-libcrypt-2.1-4-x86_64.pkg.tar.zst.
    CMake Error: Problem with archive_write_header(): Can't create '\?\Z:\WI\VPN\FREELAN-VPN\vcpkg\downloads\tools\msys2\d7266db249278763.tmp\usr\bin\ld.exe'
    CMake Error: Current file: usr/bin/ld.exe
    CMake Error at scripts/cmake/vcpkg_acquire_msys.cmake:229 (file):
    file failed to extract:
    Z:/WI/VPN/FREELAN-VPN/vcpkg/downloads/msys2-binutils-2.40-1-x86_64.pkg.tar.zst
    Call Stack (most recent call first):
    scripts/cmake/vcpkg_configure_make.cmake:228 (vcpkg_acquire_msys)
    ports/libffi/portfile.cmake:44 (vcpkg_configure_make)
    scripts/ports.cmake:147 (include)

error: building libffi:x64-windows failed with: BUILD_FAILED
Elapsed time to handle libffi:x64-windows: 41 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libffi
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[libffi]+Build+error&body=Copy+issue+body+from+Z%3A%2FWI%2FVPN%2FFREELAN-VPN%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Z:\WI\VPN\FREELAN-VPN\vcpkg>`

my question is: What is wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions