Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[expat] Build error on x64-windows #42090

Closed
yaraiton opened this issue Nov 10, 2024 · 1 comment
Closed

[expat] Build error on x64-windows #42090

yaraiton opened this issue Nov 10, 2024 · 1 comment

Comments

@yaraiton
Copy link

Package: zlib:[email protected]

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.41.34123.0
  • vcpkg-tool version: 2024-10-18-e392d7347fe72dff56e7857f7571c22301237ae6
    vcpkg-scripts version: 813a241 2024-11-08 (34 hours ago)

To Reproduce

vcpkg install allegro5

Failure logs

-- Using cached madler-zlib-v1.3.1.tar.gz.
-- Cleaning sources at E:/github/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/github/vcpkg/downloads/madler-zlib-v1.3.1.tar.gz
-- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch
-- Applying patch 0002-build-static-or-shared-not-both.patch
-- Applying patch 0003-android-and-mingw-fixes.patch
-- Using source at E:/github/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/msys64/mingw64/bin/cmake.exe --build . --config Debug --target install -- -v -j25
    Working Directory: E:/github/vcpkg/buildtrees/zlib/x64-windows-dbg
    See logs for more information:
      E:\github\vcpkg\buildtrees\zlib\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/zlib/portfile.cmake:26 (vcpkg_cmake_install)
  scripts/ports.cmake:192 (include)



E:\github\vcpkg\buildtrees\zlib\install-x64-windows-dbg-out.log
Change Dir: 'E:/github/vcpkg/buildtrees/zlib/x64-windows-dbg'

Run Build Command(s): E:/github/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe -v -v -j25 install
[1/18] RC E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\win32\zlib1.rc CMakeFiles\zlib.dir\win32\zlib1.rc.res.d CMakeFiles\zlib.dir\win32\zlib1.rc.res "Note: including file: " "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -I E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -I E:\github\vcpkg\buildtrees\zlib\x64-windows-dbg -c65001 /DWIN32 -D_DEBUG /fo CMakeFiles\zlib.dir\win32\zlib1.rc.res E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\win32\zlib1.rc
FAILED: CMakeFiles/zlib.dir/win32/zlib1.rc.res 
RC E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\win32\zlib1.rc CMakeFiles\zlib.dir\win32\zlib1.rc.res.d CMakeFiles\zlib.dir\win32\zlib1.rc.res "Note: including file: " "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe" C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -I E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -I E:\github\vcpkg\buildtrees\zlib\x64-windows-dbg -c65001 /DWIN32 -D_DEBUG /fo CMakeFiles\zlib.dir\win32\zlib1.rc.res E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\win32\zlib1.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384

Copyright (C) Microsoft Corporation.  All rights reserved.


fatal error RC1107: invalid usage; use RC /? for Help

[2/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\compress.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\compress.c
[3/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\adler32.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\adler32.c
[4/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\inftrees.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\inftrees.c
[5/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\crc32.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\crc32.c
[6/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\uncompr.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\uncompr.c
[7/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\infback.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\infback.c
[8/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\gzclose.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\gzclose.c
[9/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\gzread.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\gzread.c
[10/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\deflate.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\deflate.c
[11/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\gzwrite.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\gzwrite.c
[12/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\inffast.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\inffast.c
[13/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\trees.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\trees.c
[14/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\inflate.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\inflate.c
[15/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\gzlib.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\gzlib.c
[16/18] C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Tools\MSVC\1441~1.341\bin\Hostx64\x64\cl.exe   -DNO_FSEEKO -DZLIB_DLL -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -IE:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean -IE:\github\vcpkg\buildtrees\zlib\x64-windows-dbg /nologo /DWIN32 /D_WINDOWS /utf-8 /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\zlib.dir\zutil.c.obj /FdCMakeFiles\zlib.dir\ /FS -c E:\github\vcpkg\buildtrees\zlib\src\v1.3.1-2e5db616bf.clean\zutil.c
ninja: build stopped: subcommand failed.
@dg0yt
Copy link
Contributor

dg0yt commented Nov 10, 2024

#42091 (comment)

And not expat.

@WangWeiLin-MV WangWeiLin-MV closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants