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

[icu] build error using triplet x64-windows-static #44095

Open
Mike4Online opened this issue Feb 28, 2025 · 0 comments
Open

[icu] build error using triplet x64-windows-static #44095

Mike4Online opened this issue Feb 28, 2025 · 0 comments

Comments

@Mike4Online
Copy link

Package: icu[core,tools]:[email protected]#4

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.41.34120.0
  • vcpkg-tool version: 2025-02-11-bec4296bf5289dc9ce83b4f5095943e44162f9c2
    vcpkg-scripts version: d5ec528 2025-02-14 (2 weeks ago)

To Reproduce

vcpkg install boost-locale[icu]

A CLUE: in the linker error in the config log:

LINK : fatal error LNK1181: cannot open input file
D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj

ANOTHER CLUE: in my case I had specified WINVER using environment variables before running vcpkg:

SET CL=/DWINVER#0x0601 /D_WIN32_WINNT#0x0601 /DNTDDI_VERSION#0x06010000 /D_WIN32_IE#0x0800 /DCURL_DISABLE_LDAP /DCURL_DISABLE_LDAPS /DCURL_STATICLIB
SET VCPKG_KEEP_ENV_VARS=CL

I suspect the config script / port for icu is not handling this scenario well. There is a related issue on Linux #44051 which may have the same root cause.

Failure logs

Downloading https://github.com/unicode-org/icu/releases/download/release-74-2/icu4c-74_2-src.tgz -> icu4c-74_2-src.tgz
Successfully downloaded icu4c-74_2-src.tgz
-- Extracting source D:/work/vcpkg/downloads/icu4c-74_2-src.tgz
-- Applying patch disable-escapestr-tool.patch
-- Applying patch remove-MD-from-configure.patch
-- Applying patch fix_parallel_build_on_windows.patch
-- Applying patch fix-extra.patch
-- Applying patch mingw-dll-install.patch
-- Applying patch disable-static-prefix.patch
-- Applying patch fix-win-build.patch
-- Applying patch vcpkg-cross-data.patch
-- Applying patch darwin-rpath.patch
-- Applying patch mingw-strict-ansi.diff
-- Using source at D:/work/vcpkg/buildtrees/icu/src/c-74_2-src-35bac2c62e.clean
Downloading https://www.python.org/ftp/python/3.12.7/python-3.12.7-embed-amd64.zip -> python-3.12.7-embed-amd64.zip
Successfully downloaded python-3.12.7-embed-amd64.zip
-- Getting CMake variables for x64-windows
Downloading msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/autoconf-wrapper-20240607-1-any.pkg.tar.zst
Successfully downloaded msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
Downloading msys2-automake-wrapper-20240607-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/automake-wrapper-20240607-1-any.pkg.tar.zst
Successfully downloaded msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
Downloading msys2-binutils-2.43.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/binutils-2.43.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-binutils-2.43.1-1-x86_64.pkg.tar.zst
Downloading msys2-libtool-2.4.7-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libtool-2.4.7-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-libtool-2.4.7-4-x86_64.pkg.tar.zst
Downloading msys2-make-4.4.1-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/make-4.4.1-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-make-4.4.1-2-x86_64.pkg.tar.zst
Downloading msys2-pkgconf-2.3.0-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/pkgconf-2.3.0-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-pkgconf-2.3.0-1-x86_64.pkg.tar.zst
Downloading msys2-which-2.21-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/which-2.21-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-which-2.21-4-x86_64.pkg.tar.zst
Downloading msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/autoconf-archive-2023.02.20-1-any.pkg.tar.zst
Successfully downloaded msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
Downloading msys2-bash-5.2.037-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/bash-5.2.037-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-bash-5.2.037-1-x86_64.pkg.tar.zst
Downloading msys2-coreutils-8.32-5-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/coreutils-8.32-5-x86_64.pkg.tar.zst
Successfully downloaded msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
Downloading msys2-file-5.45-3-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/file-5.45-3-x86_64.pkg.tar.zst
Successfully downloaded msys2-file-5.45-3-x86_64.pkg.tar.zst
Downloading msys2-gawk-5.3.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gawk-5.3.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gawk-5.3.1-1-x86_64.pkg.tar.zst
Downloading msys2-grep-1~3.0-6-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/grep-1~3.0-6-x86_64.pkg.tar.zst
Successfully downloaded msys2-grep-1~3.0-6-x86_64.pkg.tar.zst
Downloading msys2-gzip-1.13-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gzip-1.13-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gzip-1.13-1-x86_64.pkg.tar.zst
Downloading msys2-diffutils-3.10-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/diffutils-3.10-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-diffutils-3.10-1-x86_64.pkg.tar.zst
Downloading msys2-sed-4.9-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/sed-4.9-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-sed-4.9-1-x86_64.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst
Downloading msys2-autoconf2.72-2.72-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/autoconf2.72-2.72-1-any.pkg.tar.zst
Successfully downloaded msys2-autoconf2.72-2.72-1-any.pkg.tar.zst
Downloading msys2-automake1.16-1.16.5-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/automake1.16-1.16.5-1-any.pkg.tar.zst
Successfully downloaded msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
Downloading msys2-automake1.17-1.17-1-any.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/automake1.17-1.17-1-any.pkg.tar.zst
Successfully downloaded msys2-automake1.17-1.17-1-any.pkg.tar.zst
Downloading msys2-libiconv-1.17-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libiconv-1.17-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libiconv-1.17-1-x86_64.pkg.tar.zst
Downloading msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libintl-0.22.4-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst
Downloading msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/zlib-1.3.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
Downloading msys2-tar-1.35-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/tar-1.35-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-tar-1.35-2-x86_64.pkg.tar.zst
Downloading msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/findutils-4.10.0-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
Downloading msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gmp-6.3.0-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
Downloading msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
Downloading msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libbz2-1.0.8-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
Downloading msys2-liblzma-5.6.3-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/liblzma-5.6.3-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-liblzma-5.6.3-1-x86_64.pkg.tar.zst
Downloading msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libzstd-1.5.6-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst
Downloading msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libreadline-8.2.013-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
Downloading msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/mpfr-4.2.1-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst
Downloading msys2-libpcre-8.45-4-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libpcre-8.45-4-x86_64.pkg.tar.zst
Successfully downloaded msys2-libpcre-8.45-4-x86_64.pkg.tar.zst
Downloading msys2-m4-1.4.19-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/m4-1.4.19-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
Downloading msys2-perl-5.38.2-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/perl-5.38.2-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-perl-5.38.2-2-x86_64.pkg.tar.zst
Downloading msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
Successfully downloaded msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
Downloading msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst, trying https://mirror.msys2.org/msys/x86_64/libxcrypt-4.4.36-1-x86_64.pkg.tar.zst
Successfully downloaded msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst
-- Applying patch D:/work/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
-- Using msys root at D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.3.0-1-any.pkg.tar.zst
-- Using cached msys2-msys2-runtime-3.5.4-2-x86_64.pkg.tar.zst
-- Using msys root at D:/work/vcpkg/downloads/tools/msys2/21caed2f81ec917b
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/usr/bin/bash.exe --noprofile --norc --debug -c "V=1 CPP='compile cl.exe -E' CC='compile cl.exe' CC_FOR_BUILD='compile cl.exe' CPP_FOR_BUILD='compile cl.exe -E' CXX_FOR_BUILD='compile cl.exe' CXX='compile cl.exe' RC='windres-rc rc.exe' WINDRES='windres-rc rc.exe' AR='ar-lib lib.exe' LD='link.exe -verbose' RANLIB=':' STRIP=':' NM='dumpbin.exe -symbols -headers' DLLTOOL='link.exe -verbose -dll' CCAS=':' AS=':' ./../src/c-74_2-src-35bac2c62e.clean/source/configure --build=x86_64-pc-mingw32 \"--enable-icu-build-win\" \"--enable-tools\" \"--disable-samples\" \"--disable-tests\" \"--disable-layoutex\" \"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\" \"--enable-debug\" \"--disable-release\" \"--prefix=/D/work/vcpkg/installed/x64-windows/debug\" \"--bindir=\\${prefix}/../tools/icu/debug/bin\" \"--sbindir=\\${prefix}/../tools/icu/debug/sbin\" \"--libdir=\\${prefix}/lib\" \"--includedir=\\${prefix}/../include\" \"--datarootdir=\\${prefix}/share/icu\""
    Working Directory: D:/work/vcpkg/buildtrees/icu/x64-windows-dbg
    Error code: 77
    See logs for more information:
      D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-config.log
      D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-out.log
      D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_make.cmake:866 (vcpkg_execute_required_process)
  ports/icu/portfile.cmake:82 (vcpkg_configure_make)
  scripts/ports.cmake:196 (include)



D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-err.log
configure: WARNING: unrecognized options: --disable-silent-rules
configure: error: in '/d/work/vcpkg/buildtrees/icu/x64-windows-dbg':
configure: error: C compiler cannot create executables
See 'config.log' for more details
D:\work\vcpkg\buildtrees\icu\config-x64-windows-dbg-out.log
checking for ICU version numbers... release 74.2, library 74.2, unicode version 15.1
checking build system type... x86_64-pc-mingw32
checking host system type... x86_64-pc-mingw32
checking whether to build debug libraries... yes
checking whether to build release libraries... no
checking whether the C compiler works... no
D:\work\vcpkg\buildtrees\icu\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 ICU configure 74.2, which was
generated by GNU Autoconf 2.72.  Invocation command line was

  $ ./../src/c-74_2-src-35bac2c62e.clean/source/configure --build=x86_64-pc-mingw32 --enable-icu-build-win --enable-tools --disable-samples --disable-tests --disable-layoutex 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 --enable-debug --disable-release --prefix=/D/work/vcpkg/installed/x64-windows/debug '--bindir=${prefix}/../tools/icu/debug/bin' '--sbindir=${prefix}/../tools/icu/debug/sbin' '--libdir=${prefix}/lib' '--includedir=${prefix}/../include' '--datarootdir=${prefix}/share/icu'

## --------- ##
## Platform. ##
## --------- ##

hostname = ECC-BUILDWIN
uname -m = x86_64
uname -r = 3.5.4-0bc1222b.x86_64
uname -s = MSYS_NT-10.0-20348
uname -v = 2024-09-04 18:28 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 (x86)/Windows Kits/10/bin/10.0.22621.0/x64/
PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/
PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/
PATH: /c/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.41.34120/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 (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/Microsoft Visual Studio/2022/Professional/Team Tools/DiagnosticsHub/Collector/
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: /d/work/vcpkg/downloads/tools/powershell-core-7.2.24-windows/
PATH: /d/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/VC/Tools/Llvm/x64/bin/
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: /d/work/vcpkg/downloads/tools/ninja/1.12.1-windows/
PATH: /d/work/vcpkg/downloads/tools/msys2/21caed2f81ec917b/mingw64/bin/


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3148: looking for aux files: install-sh config.guess config.sub
configure:3161:  trying ./../src/c-74_2-src-35bac2c62e.clean/source/
configure:3172:   ./../src/c-74_2-src-35bac2c62e.clean/source/install-sh found
configure:3190:   ./../src/c-74_2-src-35bac2c62e.clean/source/config.guess found
configure:3190:   ./../src/c-74_2-src-35bac2c62e.clean/source/config.sub found
configure:3331: checking for ICU version numbers
configure:3364: result: release 74.2, library 74.2, unicode version 15.1
configure:3377: checking build system type
configure:3393: result: x86_64-pc-mingw32
configure:3413: checking host system type
configure:3428: result: x86_64-pc-mingw32
configure:3504: checking whether to build debug libraries
configure:3517: result: yes
configure:3522: checking whether to build release libraries
configure:3535: result: no
configure:3677: checking for C compiler version
configure:3686: compile cl.exe --version >&5
Microsoft (R) Incremental Linker Version 14.41.34120.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:DWINVER#0x0601.exe 
D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601 
LINK : fatal error LNK1181: cannot open input file 'D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj'
Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '--version'
cl : Command line warning D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
configure:3697: $? = 2
configure:3686: compile cl.exe -v >&5
Microsoft (R) Incremental Linker Version 14.41.34120.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:DWINVER#0x0601.exe 
D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601 
LINK : fatal error LNK1181: cannot open input file 'D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj'
Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-v'
cl : Command line warning D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
configure:3697: $? = 2
configure:3686: compile cl.exe -V >&5
Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line error D8004 : '/V' requires an argument
configure:3697: $? = 2
configure:3686: compile cl.exe -qversion >&5
Microsoft (R) Incremental Linker Version 14.41.34120.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:DWINVER#0x0601.exe 
D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601 
LINK : fatal error LNK1181: cannot open input file 'D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj'
Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-qversion'
cl : Command line warning D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
configure:3697: $? = 2
configure:3686: compile cl.exe -version >&5
Microsoft (R) Incremental Linker Version 14.41.34120.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:DWINVER#0x0601.exe 
D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601 
LINK : fatal error LNK1181: cannot open input file 'D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj'
Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-version'
cl : Command line warning D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
configure:3697: $? = 2
configure:3717: checking whether the C compiler works
configure:3739: compile cl.exe -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DWIN32 -D_WINDOWS -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 D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
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 D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
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 D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
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 D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
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 D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
cl : Command line warning D9002 : ignoring unknown option '-Xcompiler'
cl : Command line warning D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
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 D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
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 D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
cl : Command line warning D9002 : ignoring unknown option '-Xcompiler'
cl : Command line warning D9024 : unrecognized source file type 'D:/work/vcpkg/downloads/tools/msys2/d1518c5fb772aeb9/DWINVER#0x0601', object file assumed
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
LINK : fatal error LNK1104: cannot open file 'D:\work\vcpkg\downloads\tools\msys2\d1518c5fb772aeb9\DWINVER#0x0601.obj'
configure:3743: $? = 2
configure:3784: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ICU"
| #define PACKAGE_TARNAME "International Components for Unicode"
| #define PACKAGE_VERSION "74.2"
| #define PACKAGE_STRING "ICU 74.2"
| #define PACKAGE_BUGREPORT "http://icu-project.org/bugs"
| #define PACKAGE_URL "http://icu-project.org"
| /* end confdefs.h.  */
| 
| int
| main (void)
| {
| 
|   ;
|   return 0;
| }
configure:3789: error: in '/d/work/vcpkg/buildtrees/icu/x64-windows-dbg':
configure:3791: error: C compiler cannot create executables
See 'config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-mingw32
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='compile cl.exe'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-DWIN32 -D_WINDOWS'
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value='compile cl.exe -E'
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -GR -Xcompiler -EHsc -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value='compile cl.exe'
ac_cv_env_ICULEHB_CFLAGS_set=
ac_cv_env_ICULEHB_CFLAGS_value=
ac_cv_env_ICULEHB_LIBS_set=
ac_cv_env_ICULEHB_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32'
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=set
ac_cv_env_PKG_CONFIG_PATH_value='D:/work/vcpkg/packages/icu_x64-windows/debug/lib/pkgconfig;D:/work/vcpkg/packages/icu_x64-windows/share/pkgconfig;D:/work/vcpkg/installed/x64-windows/debug/lib/pkgconfig;D:/work/vcpkg/installed/x64-windows/share/pkgconfig'
ac_cv_env_PKG_CONFIG_set=set
ac_cv_env_PKG_CONFIG_value=D:/work/vcpkg/downloads/tools/msys2/21caed2f81ec917b/mingw64/bin/pkg-config.exe
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-mingw32
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_memmove=yes
ac_cv_host=x86_64-pc-mingw32
ac_cv_prog_ac_ct_STRIP=:
gl_cv_double_slash_root=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar-lib lib.exe'
ARFLAGS=''
CC='compile cl.exe'
CFLAGS='-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1'
COMPILE_LINK_ENVVAR=''
CPP='compile cl.exe -E'
CPPFLAGS='-DWIN32 -D_WINDOWS'
CXX='compile cl.exe'
CXXFLAGS='-Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -GR -Xcompiler -EHsc -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1'
DATA_PACKAGING_MODE=''
DATA_TRUE=''
DEFS=''
DOXYGEN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
ENABLE_DEBUG='1'
ENABLE_RELEASE='0'
ENABLE_RPATH=''
ENABLE_SHARED=''
ENABLE_STATIC=''
EXEEXT=''
EXTRAS_TRUE=''
FUZZER_TRUE=''
GENCCODE_ASSEMBLY=''
HAVE_MMAP=''
ICUDATA_CHAR=''
ICUIO_TRUE=''
ICULEHB_CFLAGS=''
ICULEHB_LIBS=''
ICULIBSUFFIX=''
ICULIBSUFFIXCNAME=''
ICU_ECHO_C=''
ICU_ECHO_N='-n'
ICU_ECHO_T=''
INSTALL_DATA=''
INSTALL_ICU_BUILD_WIN='true'
INSTALL_ICU_CONFIG='true'
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LAYOUTEX_TRUE=''
LDFLAGS='-Xlinker -Xlinker -Xlinker -machine:x64 -Xlinker -Xlinker -Xlinker -nologo -Xlinker -Xlinker -Xlinker -debug -Xlinker -Xlinker -Xlinker -INCREMENTAL'
LIBCFLAGS=''
LIBCXXFLAGS=''
LIBOBJS=''
LIBS='-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -lcomdlg32 -ladvapi32'
LIB_M=''
LIB_THREAD=''
LIB_VERSION='74.2'
LIB_VERSION_MAJOR='74'
LTLIBOBJS=''
OBJEXT=''
PACKAGE='icu'
PACKAGE_BUGREPORT='http://icu-project.org/bugs'
PACKAGE_NAME='ICU'
PACKAGE_STRING='ICU 74.2'
PACKAGE_TARNAME='International Components for Unicode'
PACKAGE_URL='http://icu-project.org'
PACKAGE_VERSION='74.2'
PATH_SEPARATOR=':'
PKG_CONFIG='D:/work/vcpkg/downloads/tools/msys2/21caed2f81ec917b/mingw64/bin/pkg-config.exe'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH='D:/work/vcpkg/packages/icu_x64-windows/debug/lib/pkgconfig;D:/work/vcpkg/packages/icu_x64-windows/share/pkgconfig;D:/work/vcpkg/installed/x64-windows/debug/lib/pkgconfig;D:/work/vcpkg/installed/x64-windows/share/pkgconfig'
PLUGINS_TRUE=''
PYTHON='D:/work/vcpkg/downloads/tools/python/python-3.12.7-x64-1/python.exe'
RANLIB=':'
SAMPLES_TRUE=''
SED=''
SHELL='/bin/sh'
TESTS_TRUE=''
TOOLS_TRUE=''
UCLN_NO_AUTO_CLEANUP=''
UCONFIG_CFLAGS=''
UCONFIG_CPPFLAGS=''
UCONFIG_CXXFLAGS=''
UNICODE_VERSION='15.1'
U_DEFAULT_SHOW_DRAFT=''
U_DISABLE_RENAMING=''
U_ENABLE_DYLOAD=''
U_ENABLE_TRACING=''
U_HAVE_DATA=''
U_HAVE_DIRENT_H=''
U_HAVE_EXTRAS=''
U_HAVE_FUZZER=''
U_HAVE_ICUIO=''
U_HAVE_INTTYPES_H=''
U_HAVE_LAYOUTEX=''
U_HAVE_LIB_SUFFIX=''
U_HAVE_NL_LANGINFO_CODESET=''
U_HAVE_PLACEMENT_NEW=''
U_HAVE_PLUGINS=''
U_HAVE_POPEN=''
U_HAVE_SAMPLES=''
U_HAVE_STRTOD_L=''
U_HAVE_TESTS=''
U_HAVE_TIMEZONE=''
U_HAVE_TOOLS=''
U_HAVE_TZNAME=''
U_HAVE_TZSET=''
U_HAVE_WCHAR_H=''
U_HAVE_WCSCPY=''
U_IS_BIG_ENDIAN=''
U_MAKE=''
U_NL_LANGINFO_CODESET=''
U_OVERRIDE_CXX_ALLOCATION=''
U_TIMEZONE=''
U_TZNAME=''
U_TZSET=''
VERSION='74.2'
ac_ct_CC=''
ac_ct_CXX=''
bindir='${prefix}/../tools/icu/debug/bin'
build='x86_64-pc-mingw32'
build_alias='x86_64-pc-mingw32'
build_cpu='x86_64'
build_os='mingw32'
build_vendor='pc'
cross_buildroot=''
cross_compiling='no'
datadir='${datarootdir}'
datarootdir='${prefix}/share/icu'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-mingw32'
host_alias=''
host_cpu='x86_64'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/../include'
infodir='${datarootdir}/info'
libdir='${prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgicudatadir=''
platform=''
platform_make_fragment=''
platform_make_fragment_name=''
prefix='/D/work/vcpkg/installed/x64-windows/debug'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${prefix}/../tools/icu/debug/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
thepkgicudatadir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "ICU"
#define PACKAGE_TARNAME "International Components for Unicode"
#define PACKAGE_VERSION "74.2"
#define PACKAGE_STRING "ICU 74.2"
#define PACKAGE_BUGREPORT "http://icu-project.org/bugs"
#define PACKAGE_URL "http://icu-project.org"

configure: exit 77
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

1 participant