Skip to content

[zlib] x64-mingw-dynamic build failure #14689

@vadi2

Description

@vadi2

Host Environment

  • OS: Windows
  • Compiler: Mingw-w64 8.1.0 as provided by Github Actions.

To Reproduce
./vcpkg install zziplib

Failure logs

  Starting package 6/7: zlib:x64-mingw-dynamic
  Building package zlib[core]:x64-mingw-dynamic...
  Could not locate cached archive: C:\Users\runneradmin\AppData\Local\vcpkg\archives\c9\c95d0392b7f69d22833cb8833e9c003675fed613.zip
  -- Using community triplet x64-mingw-dynamic. This triplet configuration is not guaranteed to succeed.
  -- [COMMUNITY] Loading triplet configuration from: D:\a\Mudlet\Mudlet\3rdparty\vcpkg\triplets\community\x64-mingw-dynamic.cmake
  -- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz...
  -- Extracting source D:/a/Mudlet/Mudlet/3rdparty/vcpkg/downloads/zlib1211.tar.gz
  -- Applying patch cmake_dont_build_more_than_needed.patch
  -- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch
  -- Applying patch add_debug_postfix_on_mingw.patch
  -- Using source at D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/src/1.2.11-63309e48e5.clean
  -- Configuring x64-mingw-dynamic
  -- Building x64-mingw-dynamic-dbg
  CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:142 (message):
      Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j3
      Working Directory: D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg
      See logs for more information:
        D:\a\Mudlet\Mudlet\3rdparty\vcpkg\buildtrees\zlib\install-x64-mingw-dynamic-dbg-out.log
  
  Call Stack (most recent call first):
    scripts/cmake/vcpkg_build_cmake.cmake:93 (vcpkg_execute_build_process)
    scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
    ports/zlib/portfile.cmake:32 (vcpkg_install_cmake)
    scripts/ports.cmake:136 (include)
zlib build.log: 
[1/18] cmd.exe /C "cd /D D:\a\Mudlet\Mudlet\3rdparty\vcpkg\buildtrees\zlib\x64-mingw-dynamic-dbg && x86_64-w64-mingw32-windres.exe -D GCC_WINDRES -I D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/src/1.2.11-63309e48e5.clean -I D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -o D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg/zlib1rc.obj -i D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/src/1.2.11-63309e48e5.clean/win32/zlib1.rc"
FAILED: zlib1rc.obj 
cmd.exe /C "cd /D D:\a\Mudlet\Mudlet\3rdparty\vcpkg\buildtrees\zlib\x64-mingw-dynamic-dbg && x86_64-w64-mingw32-windres.exe -D GCC_WINDRES -I D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/src/1.2.11-63309e48e5.clean -I D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg -o D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/x64-mingw-dynamic-dbg/zlib1rc.obj -i D:/a/Mudlet/Mudlet/3rdparty/vcpkg/buildtrees/zlib/src/1.2.11-63309e48e5.clean/win32/zlib1.rc"
'x86_64-w64-mingw32-windres.exe' is not recognized as an internal or external command,
operable program or batch file.
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:community-tripletA PR or issue related to community triplets not officially validated by the vcpkg team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions