microsoft / vcpkg

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

[icu] Build error on x64-windows #41069

Closed prasantgupta52 closed 4 weeks ago

prasantgupta52 commented 1 month ago

Package: icu[core,tools]:x64-windows@74.2#4

Host Environment

To Reproduce

vcpkg install icu

Failure logs

-- Using cached icu4c-74_2-src.tgz.
-- Cleaning sources at C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/buildtrees/icu/src/c-74_2-src-35bac2c62e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/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 C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/buildtrees/icu/src/c-74_2-src-35bac2c62e.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- Warning: Paths with embedded space may be handled incorrectly by configure:
   C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows
   C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows
   Please move the path to one without whitespaces!
-- Using cached msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst.
-- Using cached msys2-automake-wrapper-20221207-2-any.pkg.tar.zst.
-- Using cached msys2-binutils-2.42-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-2-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.1.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst.
-- Using cached msys2-bash-5.2.026-1-x86_64.pkg.tar.zst.
-- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst.
-- Using cached msys2-file-5.45-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gawk-5.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst.
-- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst.
-- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst.
-- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using cached msys2-autoconf2.71-2.71-3-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.22.4-1-x86_64.pkg.tar.zst.
-- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst.
-- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.6.2-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.010-1-x86_64.pkg.tar.zst.
-- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst.
-- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst.
-- Using cached msys2-perl-5.38.2-2-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Using msys root at C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/downloads/tools/msys2/77af496191246fde
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst.
-- Using msys root at C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/downloads/tools/msys2/1e74ca60daa10104
-- Configuring x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: "C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/downloads/tools/msys2/77af496191246fde/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=/C/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/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: C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/buildtrees/icu/x64-windows-dbg
    Error code: 77
    See logs for more information:
      C:\Users\guptaprasant\OneDrive - Microsoft\Desktop\hackathon\vcpkg\buildtrees\icu\config-x64-windows-dbg-config.log
      C:\Users\guptaprasant\OneDrive - Microsoft\Desktop\hackathon\vcpkg\buildtrees\icu\config-x64-windows-dbg-out.log
      C:\Users\guptaprasant\OneDrive - Microsoft\Desktop\hackathon\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:192 (include)
C:\Users\guptaprasant\OneDrive - Microsoft\Desktop\hackathon\vcpkg\buildtrees\icu\config-x64-windows-dbg-err.log ``` configure: WARNING: unrecognized options: --disable-silent-rules configure: error: in `/c/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/buildtrees/icu/x64-windows-dbg': configure: error: C compiler cannot create executables See `config.log' for more details ```
C:\Users\guptaprasant\OneDrive - Microsoft\Desktop\hackathon\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 ```
C:\Users\guptaprasant\OneDrive - Microsoft\Desktop\hackathon\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.71. 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=/C/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/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 = DESKTOP-1C9Q6UL uname -m = x86_64 uname -r = 3.5.3.x86_64 uname -s = MSYS_NT-10.0-23753 uname -v = 2024-05-20 12:06 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.26100.0/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.41.34120/bin/HostX64/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/VC/VCPackages/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TestWindow/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/bin/Roslyn/ PATH: /c/Program Files (x86)/Microsoft SDKs/Windows/v10.0A/bin/NETFX 4.8 Tools/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Team Tools/DiagnosticsHub/Collector/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/Extensions/Microsoft/CodeCoverage.Console/ PATH: /c/Program Files (x86)/Windows Kits/10/bin/10.0.26100.0/x64/ PATH: /c/Program Files (x86)/Windows Kits/10/bin/x64/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/amd64/ PATH: /c/Windows/Microsoft.NET/Framework64/v4.0.30319/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/Tools/ PATH: /c/Program Files/PowerShell/7/ PATH: /c/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/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/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/VC/Linux/bin/ConnectionManagerExe/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/vcpkg/ PATH: /c/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ PATH: /c/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:3117: looking for aux files: install-sh config.guess config.sub configure:3130: trying ./../src/c-74_2-src-35bac2c62e.clean/source/ configure:3141: ./../src/c-74_2-src-35bac2c62e.clean/source/install-sh found configure:3159: ./../src/c-74_2-src-35bac2c62e.clean/source/config.guess found configure:3159: ./../src/c-74_2-src-35bac2c62e.clean/source/config.sub found configure:3299: checking for ICU version numbers configure:3332: result: release 74.2, library 74.2, unicode version 15.1 configure:3345: checking build system type configure:3360: result: x86_64-pc-mingw32 configure:3380: checking host system type configure:3394: result: x86_64-pc-mingw32 configure:3468: checking whether to build debug libraries configure:3481: result: yes configure:3486: checking whether to build release libraries configure:3499: result: no configure:3639: checking for C compiler version configure:3648: compile cl.exe --version >&5 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 error D8003 : missing source filename configure:3659: $? = 2 configure:3648: 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 warning D9002 : ignoring unknown option '-v' cl : Command line error D8003 : missing source filename configure:3659: $? = 2 configure:3648: 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:3659: $? = 2 configure:3648: compile cl.exe -qversion >&5 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 error D8003 : missing source filename configure:3659: $? = 2 configure:3648: compile cl.exe -version >&5 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 error D8003 : missing source filename configure:3659: $? = 2 configure:3679: checking whether the C compiler works configure:3701: compile cl.exe -Xcompiler -nologo -Xcompiler -utf-8 -Xcompiler -MP -Xcompiler -MDd -Xcompiler -Z7 -Xcompiler -Ob0 -Xcompiler -Od -Xcompiler -RTC1 -DWIN32 -D_WINDOWS -D_DEBUG -Xlinker -Xlinker -Xlinker -LIBPATH:C:/Users/guptaprasant/OneDrive\ -\ Microsoft/Desktop/hackathon/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 '-\' cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', 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 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 '-\' 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 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', 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' 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 '-\' 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 '-\' 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 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', 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 '-\' 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 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', 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 '-\' cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', object file assumed cl : Command line warning D9002 : ignoring unknown option '-\' 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 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', object file assumed cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', 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 '-\' 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 '-\' cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', 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 '-\' cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', object file assumed cl : Command line warning D9002 : ignoring unknown option '-\' cl : Command line warning D9002 : ignoring unknown option '-\' cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', object file assumed cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', object file assumed cl : Command line warning D9024 : unrecognized source file type 'Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib', 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 : warning LNK4044: unrecognized option '/Xlinker'; ignored LINK : fatal error LNK1104: cannot open file 'Microsoft\Desktop\hackathon\vcpkg\installed\x64-windows\debug\lib.obj' configure:3705: $? = 2 configure:3745: 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:3750: error: in `/c/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/buildtrees/icu/x64-windows-dbg': configure:3752: 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 -D_DEBUG' 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 -LIBPATH:C:/Users/guptaprasant/OneDrive\ -\ Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib -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='C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows/debug/lib/pkgconfig;C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows/share/pkgconfig;C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib/pkgconfig;C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/share/pkgconfig' ac_cv_env_PKG_CONFIG_set=set ac_cv_env_PKG_CONFIG_value='C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/downloads/tools/msys2/1e74ca60daa10104/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 -D_DEBUG' 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 -LIBPATH:C:/Users/guptaprasant/OneDrive\ -\ Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib -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='C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/downloads/tools/msys2/1e74ca60daa10104/mingw64/bin/pkg-config.exe' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows/debug/lib/pkgconfig;C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows/share/pkgconfig;C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/debug/lib/pkgconfig;C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows/share/pkgconfig' PLUGINS_TRUE='' PYTHON='C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/downloads/tools/python/python-3.11.8-x64/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='/C/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/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 ```
greenozon commented 1 month ago

@prasantgupta52

I'd suggest to move your work directory into another location that does not have spaces in it

-- Warning: Paths with embedded space may be handled incorrectly by configure:
   C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows
   C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows
   Please move the path to one without whitespaces!
prasantgupta52 commented 1 month ago

Ok I see

On Thu, 19 Sept, 2024, 10:54 pm Alex, @.***> wrote:

@prasantgupta52 https://github.com/prasantgupta52

I'd suggest to move your work directory into another location that does not have spaces in it

-- Warning: Paths with embedded space may be handled incorrectly by configure: C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows Please move the path to one without whitespaces!

— Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/41069#issuecomment-2361781726, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUE4QW6SGBA2VNWI76NQJZDZXMCE5AVCNFSM6AAAAABOPJ2RXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRRG44DCNZSGY . You are receiving this because you were mentioned.Message ID: @.***>

Mengna-Li commented 1 month ago

@prasantgupta52 Please move the path to one without whitespaces.

-- Warning: Paths with embedded space may be handled incorrectly by configure:
   C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/packages/icu_x64-windows
   C:/Users/guptaprasant/OneDrive - Microsoft/Desktop/hackathon/vcpkg/installed/x64-windows
   Please move the path to one without whitespaces!
Mengna-Li commented 4 weeks ago

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