-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Open
Labels
category:port-bugThe issue is with a library, which is something the port should already supportThe issue is with a library, which is something the port should already support
Description
Operating system
Windows
Compiler
MSVC
Steps to reproduce the behavior
Use the following vcpkg.json
{
"vcpkg-configuration": {
"default-registry": {
"kind": "git",
"baseline": "aa2d37682e3318d93aef87efa7b0e88e81cd3d59",
"repository": "https://github.com/microsoft/vcpkg"
},
"registries": [
{
"kind": "artifact",
"location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
"name": "microsoft"
}
]
},
"dependencies": [
"icu"
]
}
Failure logs
1> CMake generation started for configuration: 'x64-Debug'.
1> Found and using vcpkg toolchain file (C:/Program Files/Microsoft Visual Studio/18/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake).
1> Command line: "C:\WINDOWS\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe" -D VCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_MAKE_PROGRAM="C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -DCMAKE_TOOLCHAIN_FILE="C:/Program Files/Microsoft Visual Studio/18/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin" 2>&1"
1> Working directory: C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin\out\build\x64-Debug
1> [CMake] -- Running vcpkg install
1> [CMake] warning: Embedding `vcpkg-configuration` in a manifest file is an EXPERIMENTAL feature.
1> [CMake] Detecting compiler hash for triplet x64-windows...
1> [CMake] Compiler found: C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
1> [CMake] Detecting compiler hash for triplet x64-windows-static...
1> [CMake] Compiler found: C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe
1> [CMake] The following packages are already installed:
1> [CMake] * vcpkg-cmake:x64-windows@2024-04-23 -- git+https://github.com/microsoft/vcpkg@e74aa1e8f93278a8e71372f1fa08c3df420eb840
1> [CMake] * vcpkg-cmake-get-vars:x64-windows@2025-05-29 -- git+https://github.com/microsoft/vcpkg@d6510f888dd526c7828f6b973349e7f30be51254
1> [CMake] * vcpkg-make:x64-windows@2026-01-01 -- git+https://github.com/microsoft/vcpkg@c1c80d7a4b56ff925cb9d6691e6baa4c44f4e179
1> [CMake] The following packages will be built and installed:
1> [CMake] * icu[core,tools]:x64-windows@78.2 -- git+https://github.com/microsoft/vcpkg@1c024a43e88d0dafa064363ddf49ec0cde221b8a
1> [CMake] icu:x64-windows-static@78.2 -- git+https://github.com/microsoft/vcpkg@1c024a43e88d0dafa064363ddf49ec0cde221b8a
1> [CMake] Additional packages (*) will be modified to complete this operation.
1> [CMake] Restored 0 package(s) from C:\Users\d4qcd\AppData\Local\vcpkg\archives in 225 us. Use --debug to see more details.
1> [CMake] Installing 1/2 icu[core,tools]:x64-windows@78.2...
1> [CMake] Building icu[core,tools]:x64-windows@78.2...
1> [CMake] C:\Users\d4qcd\AppData\Local\vcpkg\registries\git-trees\1c024a43e88d0dafa064363ddf49ec0cde221b8a: info: installing from git registry git+https://github.com/microsoft/vcpkg@1c024a43e88d0dafa064363ddf49ec0cde221b8a
1> [CMake] -- Using cached icu4c-78.2-sources.tgz
1> [CMake] -- Cleaning sources at C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/blds/icu/src/icu4c-78-54e5864b38.clean. Use --editable to skip cleaning for the packages you specify.
1> [CMake] -- Extracting source C:/Users/d4qcd/AppData/Local/vcpkg/downloads/icu4c-78.2-sources.tgz
1> [CMake] -- Applying patch disable-static-prefix.patch
1> [CMake] -- Applying patch fix_bsd_and_solaris.patch
1> [CMake] -- Applying patch fix_parallel_build_on_windows.patch
1> [CMake] -- Applying patch mh-darwin.patch
1> [CMake] -- Applying patch mh-mingw.patch
1> [CMake] -- Applying patch mh-msys-msvc.patch
1> [CMake] -- Applying patch subdirs.patch
1> [CMake] -- Applying patch vcpkg-cross-data.patch
1> [CMake] -- Using source at C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/blds/icu/src/icu4c-78-54e5864b38.clean
1> [CMake] -- Found external ninja('1.12.1').
1> [CMake] -- Getting CMake variables for x64-windows
1> [CMake] -- Loading CMake variables from C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/blds/icu/cmake-get-vars_C_CXX-x64-windows.cmake.log
1> [CMake] -- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
1> [CMake] -- Using msys root at C:/Users/d4qcd/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
1> [CMake] -- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.4.3-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
1> [CMake] -- Using msys root at C:/Users/d4qcd/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef
1> [CMake] -- Configuring x64-windows-dbg
1> [CMake] -- Configuring x64-windows-rel
1> [CMake] -- Using cached msys2-autoconf-wrapper-20240607-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-automake-wrapper-20240607-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-binutils-2.44-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libtool-2.5.4-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-which-2.23-4-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-bash-5.2.037-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-file-5.46-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gawk-5.3.2-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-grep-1~3.0-7-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gzip-1.14-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-diffutils-3.12-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-pkgconf-2.4.3-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-msys2-runtime-3.6.2-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-autoconf2.72-2.72-3-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-automake1.17-1.17-1-any.pkg.tar.zst
1> [CMake] -- Using cached msys2-libiconv-1.18-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libintl-0.22.5-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-liblzma-5.8.1-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libzstd-1.5.7-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libreadline-8.2.013-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-mpfr-4.2.2-1-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libpcre-8.45-5-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-perl-5.38.4-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-ncurses-6.5.20240831-2-x86_64.pkg.tar.zst
1> [CMake] -- Using cached msys2-libxcrypt-4.4.38-1-x86_64.pkg.tar.zst
1> [CMake] -- Using msys root at C:/Users/d4qcd/AppData/Local/vcpkg/downloads/tools/msys2/8392cd453c24d30d
1> [CMake] -- Building/Installing x64-windows-dbg
1> [CMake] -- Making target 'all' for x64-windows-dbg
1> [CMake] -- Making target 'install' for x64-windows-dbg
1> [CMake] -- Building/Installing x64-windows-rel
1> [CMake] -- Making target 'all' for x64-windows-rel
1> [CMake] -- Making target 'install' for x64-windows-rel
1> [CMake] -- Installing: C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/pkgs/icu_x64-windows/tools/icu/config/icucross.inc
1> [CMake] -- Installing: C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/pkgs/icu_x64-windows/tools/icu/config/icucross.mk
1> [CMake] -- Fixing pkgconfig file: C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/pkgs/icu_x64-windows/usr/local/lib/pkgconfig/icu-i18n.pc
1> [CMake] -- Fixing pkgconfig file: C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/pkgs/icu_x64-windows/usr/local/lib/pkgconfig/icu-io.pc
1> [CMake] -- Fixing pkgconfig file: C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/pkgs/icu_x64-windows/usr/local/lib/pkgconfig/icu-uc.pc
1> [CMake] CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:134 (message):
1> [CMake]
1> [CMake] C:/Users/d4qcd/AppData/Local/vcpkg/downloads/tools/msys2/9272adbcaf19caef/mingw64/bin/pkg-config.exe
1> [CMake] --exists icu-i18n failed with error code: 1
1> [CMake]
1> [CMake] ENV{PKG_CONFIG_PATH}: "C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/pkgs/icu_x64-windows/lib/pkgconfig;C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/vcpkg/pkgs/icu_x64-windows/share/pkgconfig;C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/x64-windows/lib/pkgconfig;C:/my/gitrepos/DirectoryOpus-CSV-viewer-plugin/out/build/x64-Debug/vcpkg_installed/x64-windows/share/pkgconfig"
1> [CMake] output: Package icu-i18n was not found in the pkg-config search path.
1> [CMake]
1> [CMake] Perhaps you should add the directory containing `icu-i18n.pc'
1> [CMake]
1> [CMake] to the PKG_CONFIG_PATH environment variable
1> [CMake]
1> [CMake] Package 'icu-i18n' not found
1> [CMake] Call Stack (most recent call first):
1> [CMake] scripts/cmake/vcpkg_fixup_pkgconfig.cmake:196 (z_vcpkg_fixup_pkgconfig_check_files)
1> [CMake] C:/Users/d4qcd/AppData/Local/vcpkg/registries/git-trees/1c024a43e88d0dafa064363ddf49ec0cde221b8a/portfile.cmake:138 (vcpkg_fixup_pkgconfig)
1> [CMake] scripts/ports.cmake:206 (include)
1> [CMake] error: building icu:x64-windows failed with: BUILD_FAILED
1> [CMake] See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
1> [CMake] Elapsed time to handle icu:x64-windows: 6.2 min
1> [CMake] Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
1> [CMake] Then check for known issues at:
1> [CMake] https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+icu
1> [CMake] You can submit a new issue at:
1> [CMake] https://github.com/microsoft/vcpkg/issues/new?title=%5Bicu%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20C%3A%2Fmy%2Fgitrepos%2FDirectoryOpus-CSV-viewer-plugin%2Fout%2Fbuild%2Fx64-Debug%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
1> [CMake]
1> [CMake] -- Running vcpkg install - failed
1> [CMake] CMake Error at C:/Program Files/Microsoft Visual Studio/18/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake:941 (message):
1> [CMake] vcpkg install failed. See logs for more information:
1> [CMake] C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin\out\build\x64-Debug\vcpkg-manifest-install.log
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Program Files/Microsoft Visual Studio/18/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-4.1/Modules/CMakeDetermineSystem.cmake:146 (include)
1> [CMake] CMakeLists.txt:2 (project)
1> [CMake] -- Configuring incomplete, errors occurred!
1> 'C:\WINDOWS\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe" -D VCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_MAKE_PROGRAM="C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -DCMAKE_TOOLCHAIN_FILE="C:/Program Files/Microsoft Visual Studio/18/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin" 2>&1"' execution failed with error: ''C:\WINDOWS\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin\out\install\x64-Debug" -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual Studio/18/Community/VC/Tools/MSVC/14.50.35717/bin/Hostx64/x64/cl.exe" -D VCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_MAKE_PROGRAM="C:\Program Files\Microsoft Visual Studio\18\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -DCMAKE_TOOLCHAIN_FILE="C:/Program Files/Microsoft Visual Studio/18/Community/VC/vcpkg/scripts/buildsystems/vcpkg.cmake" "C:\my\gitrepos\DirectoryOpus-CSV-viewer-plugin" 2>&1"' returned with exit code: 1'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category:port-bugThe issue is with a library, which is something the port should already supportThe issue is with a library, which is something the port should already support