Open bamo-volue opened 11 months ago
PS G:\vcpkg> ./vcpkg version
vcpkg package management program version 2023-12-12-1c9ec1978a6b0c2b39c9e9554a96e3e275f7556e
See LICENSE.txt for license information.
Sorry I did't repro your issue.
PS G:\vcpkg> ./vcpkg install icu[core,tools]:x64-windows
Computing installation plan...
The following packages will be built and installed:
icu[core,tools]:x64-windows@74.1
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\v-liumonica\AppData\Local\vcpkg\archives in 10.5 ms. Use --debug to see more details.
Installing 1/1 icu[core,tools]:x64-windows@74.1...
Building icu[core,tools]:x64-windows@74.1...
-- Downloading https://github.com/unicode-org/icu/releases/download/release-74-1/icu4c-74_1-src.tgz -> icu4c-74_1-src.tgz...
-- Extracting source G:/vcpkg/downloads/icu4c-74_1-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
-- Using source at G:/vcpkg/buildtrees/icu/src/c-74_1-src-8ca76704fa.clean
-- Getting CMake variables for x64-windows
-- Using cached msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst.
-- Using cached msys2-automake-wrapper-20221207-1-any.pkg.tar.zst.
-- Using cached msys2-binutils-2.41-3-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-1-x86_64.pkg.tar.zst.
-- Using cached msys2-pkgconf-2.1.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst.
-- Downloading https://mirror.msys2.org/msys/x86_64/autoconf-archive-2023.02.20-1-any.pkg.tar.zst;https://repo.msys2.org/msys/x86_64/autoconf-archive-2023.02.20-1-any.pkg.tar.zst;https://mirror.yandex.ru/mirrors/msys2/msys/x86_64/autoconf-archive-2023.02.20-1-any.pkg.tar.zst;https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/x86_64/autoconf-archive-2023.02.20-1-any.pkg.tar.zst;https://mirrors.ustc.edu.cn/msys2/msys/x86_64/autoconf-archive-2023.02.20-1-any.pkg.tar.zst;https://mirror.selfnet.de/msys2/msys/x86_64/autoconf-archive-2023.02.20-1-any.pkg.tar.zst -> msys2-autoconf-archive-2023.02.20-1-any.pkg.tar.zst...
-- Using cached msys2-bash-5.2.021-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.4.9-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-x86_64.pkg.tar.zst.
-- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst.
-- Using cached msys2-findutils-4.9.0-3-x86_64.pkg.tar.zst.
-- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst.
-- Using cached msys2-gcc-libs-13.2.0-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst.
-- Using cached msys2-liblzma-5.4.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libzstd-1.5.5-1-x86_64.pkg.tar.zst.
-- Using cached msys2-libreadline-8.2.007-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.36.1-2-x86_64.pkg.tar.zst.
-- Using cached msys2-ncurses-6.4-2-x86_64.pkg.tar.zst.
-- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst.
-- Applying patch G:/vcpkg/scripts/cmake/compile_wrapper_consider_clang-cl.patch
-- Using msys root at G:/vcpkg/downloads/tools/msys2/ea7f80105a3703d7
-- Generating configure for x64-windows
-- Finished generating configure for x64-windows
-- Using cached mingw-w64-x86_64-pkgconf-1~2.1.0-1-any.pkg.tar.zst.
-- Using cached msys2-msys2-runtime-3.4.9-3-x86_64.pkg.tar.zst.
-- Using msys root at G:/vcpkg/downloads/tools/msys2/023cdb3ca06f77f2
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Installing x64-windows-dbg
-- Building x64-windows-rel
-- Installing x64-windows-rel
-- Installing: G:/vcpkg/packages/icu_x64-windows/tools/icu/config/icucross.inc
-- Installing: G:/vcpkg/packages/icu_x64-windows/tools/icu/config/icucross.mk
-- Fixing pkgconfig file: G:/vcpkg/packages/icu_x64-windows/lib/pkgconfig/icu-i18n.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/icu_x64-windows/lib/pkgconfig/icu-io.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/icu_x64-windows/lib/pkgconfig/icu-uc.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/icu_x64-windows/debug/lib/pkgconfig/icu-i18n.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/icu_x64-windows/debug/lib/pkgconfig/icu-io.pc
-- Fixing pkgconfig file: G:/vcpkg/packages/icu_x64-windows/debug/lib/pkgconfig/icu-uc.pc
-- Installing: G:/vcpkg/packages/icu_x64-windows/share/icu/vcpkg-cmake-wrapper.cmake
-- Installing: G:/vcpkg/packages/icu_x64-windows/share/icu/copyright
-- Performing post-build validation
Stored binaries in 1 destinations in 6.9 s.
Elapsed time to handle icu:x64-windows: 9.3 min
icu:x64-windows package ABI: c3fb2b636cbe68ad53c3c3645b44fdc22f01b288303feecbfa9758da8514a3e5
Total install time: 9.3 min
icu provides pkg-config modules:
# International Components for Unicode: Internationalization library
icu-i18n
# International Components for Unicode: Stream and I/O Library
icu-io
# International Components for Unicode: Common and Data libraries
icu-uc
I see you're on vcpkg version 2023-12-12, with icu version 74.1. What I had issues with is vcpg version 2023-09-15 and icu version 73.1. Additionally I'm running this on Windows 10, on teamcity (see the info below). I don't know exactly what is causing this, doing this on a normal PC with an up to date Windows 11 installation with the same version of vcpkg/icu gave no errors.
But as you can see, the installation path seems to append a path wrongly to the package location (see how it appends the C letter on top of the package location path). C:\Gemini is a directory junction so maybe that's what's causing the issue.
/c/Gemini/Src/vcpkg_download/tools/msys2/87962f0d86055c95/usr/bin/make[0]: Making `install' in `stubdata'
mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C
make[1]: Entering directory '/c/Gemini/Src/vb/icu/x64-windows-dbg/stubdata'
mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini
mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src
mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20
[
{
"ver": 1,
"name": "Microsoft.ApplicationInsights.Event",
"time": "2023-12-18T12:02:03Z",
"sampleRate": 100.000000,
"seq": "0:0",
"iKey": "b4e88960-4393-4dd9-ab8e-97e8fe6d7603",
"flags": 0,
"tags": {
"ai.device.os": "Other",
"ai.device.osVersion": "Windows-10.0.17763",
"ai.session.id": "684a37ea-8384-497c-9b6f-b0b2e8972233",
"ai.user.id": "dd5e8430-18d1-42e1-b686-3ce8a79bc628",
"ai.user.accountAcquisitionDate": "2023-12-14T13:57:09Z"
},
"data": {
"baseType": "EventData",
"baseData": {
"ver": 2,
"name": "commandline_test7",
"properties": {
"binarycaching_files": "defined",
"binarycaching-source": "defined",
"manifest_baseline": "defined",
"user_mac": "4ce6171169ac805fced8378d543c063be9e0a8c615cfda84cf2f82da85b488d7",
"command_name": "install",
"deployment_kind": "VisualStudio",
"detected_ci_environment": "TeamCity_CI",
"installplan_1": "ab6a52ad52e69ea708d6af7e009bd2d1b6258486816c40edaefb6163a489eca0:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:86d0b88e24efac5d897b5ab3bc48dc7b32b66ee189da7adf3a7a71a90a704844,71af351f373bd9269fb9897e64e1a6a65e28215612461f09ed32d08b5c60b2f6:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:2d64454f7dc317391f4e0753d321c098bff730cc8138f089b8758534d1eb89bb,ec5e33fd966977ccda5f2c5a53f2c9fc4810b3e45047a161c2fd52dc62fb1cb5:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b71ea71061673ffc87457418db02f1fb69f1dbcd56b48ce8b5229333f86ef70d,4af1f2853a795463d5a7596babcb4b5e79c876b3fde9fdae67d79c592fa704cf:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:6d26216726e266ff1daf5b180ec76344713a16633229e36606dc12acd465032c,ef9534fb12561d01123717367df704a1fecd4a8610c5b99bbe74c0f4913608a7:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:a27ec2191c554f99b896642fc159993e21c96278ca684d9afc60617cacbca20e,61256fd4f11bd078a3aa9c39dba44c2dbf3c4c4c0f2cf8969f08211729398b6b:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,9c4745958aeb6a804aa9b1848f4e9e2300d4ee15f3626fb6a6bb7134a9d8f207:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,1b6009acf97f565d4e09404653786c5a8b5fd160d07fe910c6fadae667d15d21:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:80fc2b7ce432718e65bf21b553ac1f8dbb197dc423d6da8325e4e1afd13dd0bb,34d4c2409035f465ecb5d135892a16f13d47bae593051c3ffd812fa2dab2dcdd:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,519667e818658a3fb9c6f51b961c80cf81fdb36f99dadff955c0fec6222f47a8:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:80fc2b7ce432718e65bf21b553ac1f8dbb197dc423d6da8325e4e1afd13dd0bb,de864cdc274fdc88f750038f3a0b6c431716afdde5e92ef93ee82ec371b6fd8a:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,950ab2e82347edc73ce4cc39f389ba968e8e8ccffcbe929f62511f5e7c14f48b:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:80fc2b7ce432718e65bf21b553ac1f8dbb197dc423d6da8325e4e1afd13dd0bb,8feb1d9e68b53d0bfac88bd2227edcb67608321dae16be929020a5918f163561:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:7431d7948b5063abf5ec5bc556819b544d4eac7bf28ba37153d164f8ed1259b9,4a0ad993ceebda425e6199d3cf7944eb18078e25cd55f597c5c62c2d6a80994b:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,8328983dc1cb96dac2f81ea44501c751ab3885d29e23fae2c25dcb1f09f05602:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,a08942ed5fc6022464f79041f78b992e9481ac3eacde6d637a9338a0159b54b4:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,7cf8ef556b8a4f829c0334a96f7568e21ffad36121b9f6b3543946870849dbe6:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,5388b3eae45e3aff25bad53cb478c77b96aab37d15cb2ce9fd23aa8b7556ab70:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,6f409e889994e12cbebec97f17678fe9b3f5c2049ae3437a269bc890a7173862:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:b484c0b4013887bbe2d9076a4ac8b151ea4e7999f0fd6cb1e56e0a2e34b261df,449fbd8ae27b5bbc011c0804ce4c7a2e85f56ffac51386ca322d1c935e769f1d:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:dda31eb93239f4e1032f3c23eb85a2e28b6dee2eeab28185300d0ea7cf4ac78c,bcb246ce19c9504334af1b54c05afa77c326896dae960103cf7654865f53a423:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:80fc2b7ce432718e65bf21b553ac1f8dbb197dc423d6da8325e4e1afd13dd0bb,bee3c0ffd69882415a13cb2264fe3f0d515d365b0a282ba8552052cf1546bdda:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:14be4b45f18e0d8c67b4f719b5144eee88497e413709d11d85b096d8e2346310,147e82faca64a021f4af180c2acbeaa8be6a43478105110702869e353cda8c46:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:f7f98db063069bf9c1665e0e0db44a3580ca26fb7b6725a3f72049a12ba006ec,f06c3b6c20bdead2eaefeafa4f549a00a3dc6577adb353137316b51cdc121657:2fdd87267af0f18be87d1f60b91b3ebf2e43e632ceaef75722e2573a4b73bd19:0412f46bf0c10b3288c155fb43058e01616f88df649c23ffd284fec544932533",
"registries-default-registry-kind": "git",
"registries-kinds-used": "git",
"vcpkg_version": "2023-09-15-ac02a9f660977426b8ec6392919fbb1d51b10998",
"detected_container": false,
"feature-flag-binarycaching": true,
"feature-flag-compilertracking": true,
"feature-flag-dependency-graph": false,
"feature-flag-manifests": true,
"feature-flag-registries": true,
"feature-flag-versions": true,
"install_manifest_mode": true,
"option_overlay_ports": false,
"buildnames_1": [
"f3bc21dd977adedf4e5465e25599fd1aa98bd455e76c8bccdcc481e5c74fa129:[0d45f5fd462b8c70bffb10021ac1bcff3f58f29b1faf7568595095427d42812c,f9d35d43770d39092a663e665e82ae1d84a9e0da3d0d10c407acada6a40cd281]"
],
"buildtimes": [
357925625.100000
],
"process_tree": "de4852baff2a85be84d9aa2da12e5fb3f8ca9c6209efcc3d8fc390b5131f0b6f;7371f071a9a4e653a5afd134bce9c735ef74b0421d6988958e5c6d8a34feaa3b;f61464afac116ab15bfad2024c3982937057058cc38562339319257fefa5414e;db5b9d1361cc3e887d6236adada5e2a4716f4bc298cf194b80dc55eb06b2e790;73bf588077bd437ebd79d5569decd0c29dd89097a5c7b26764caaad4eab3662a;7371f071a9a4e653a5afd134bce9c735ef74b0421d6988958e5c6d8a34feaa3b;2e9cc2df679a638345aea3c2fd97793ad7c86cf68cb0efe8537788240f5e9f5f;2e9cc2df679a638345aea3c2fd97793ad7c86cf68cb0efe8537788240f5e9f5f;a9224cd259bdc47773ac6c813bd3eed9179c81fd0374bd3547e3cbce91d8ac9a;37fc2242f61e346c59bd7dc645f38ea14415a85a0341d61832b3da9e1381e72c;1f4d2eef88421562bb004b2664a4dbb4d5cef95fff6b344c9202326cac15974d"
},
"measurements": {
"elapsed_us": 383080149.300000
}
}
}
}
]
@MonicaLiu0311 can we know which version of Visual Studio did You use to reproduce it? We spotted that it fails on latest 17.8.x versions, and on older 17.7.x seems to be compiling just fine.
@MonicaLiu0311 can we know which version of Visual Studio did You use to reproduce it? We spotted that it fails on latest 17.8.x versions, and on older 17.7.x seems to be compiling just fine.
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.7.7
@MonicaLiu0311 can we know which version of Visual Studio did You use to reproduce it? We spotted that it fails on latest 17.8.x versions, and on older 17.7.x seems to be compiling just fine.
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current Version 17.7.7
That's why You were not able to reproduce it - please try with VS 17.8.3.
I have not reproduced this problem under vs 17.8.3.
Thanks for posting this issue. Please reopen this issue if this is still a problem for you.
Thanks for posting this issue. Please reopen this issue if this is still a problem for you.
I don't think I have the rights to reopen issues, but it's still a problem, unfortunately. Do you have any good ideas on how we could diagnose this?
Update: Tested different versions.
First of. Tested without manifest mode, and just a simple "vcpkg intall icu". That worked fine.
Found the following in manifest mode:
"version": "69.1#8" (and earlier, unless it gets too old): Works! "version": "69.1#9" (and later): Installation error similar to the one above.
So it looks like this commit possibly introduced something causing an error. But for me its hard to tell exactly what. Still looking at it.
Using Windows server 2019 v1809. We haven't tried upgrading to Windows Server 2022.
Did you ever test a version after 73.1#0? There were related fixes in 73.1#2. Which was merged before you opened the issue.
Did you ever test a version after 73.1#0? There were related fixes in 73.1#2. Which was merged before you opened the issue.
Yes, we've tested 74.1 as well, and it gives a similar error.
After further testing I'm pretty sure we found the problem.
We mapped the folder E:\GeminiSrc to C:\Gemini as a junction.
The icu library had problems with that. So had a few other libraries (e.g. harfbuzz). Since icu handled it before, and since most other libraries handles it, I think I would consider it a bug with the icu-package.
We mapped the folder E:\GeminiSrc to C:\Gemini.
How did you "map the folder"?
FTR the icu build needs msys2, and msys2 adds another layer of redirection.
We mapped the folder E:\GeminiSrc to C:\Gemini.
How did you "map the folder"?
FTR the icu build needs msys2, and msys2 adds another layer of redirection.
We tried using a directory junction (mklink /J C:\Gemini E:\GeminiSrc) as well as a symlink (mklink /D C:\Gemini E:\GeminiSrc). Both had the same behaviour
Thanks for posting this issue. Please reopen this issue if this is still a problem for you.
Still an issue
I have the same issue.
PS C:\Users\username> vcpkg install icu --triplet x64-windows
Computing installation plan...
The following packages will be built and installed:
icu[core,tools]:x64-windows@74.1
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\username\AppData\Local\vcpkg\archives in 346 us. Use --debug to see more details.
Installing 1/1 icu[core,tools]:x64-windows@74.1...
Building icu[core,tools]:x64-windows@74.1...
-- Using cached icu4c-74_1-src.tgz.
...
-- Building x64-windows-dbg
-- Installing x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: C:/Users/username/scoop/apps/vcpkg/current/downloads/tools/msys2/ea7f80105a3703d7/usr/bin/make.exe -j 13 --trace -f Makefile install DESTDIR=/C/Users/username/scoop/apps/vcpkg/current/packages/icu_x64-windows
Working Directory: C:/Users/username/scoop/apps/vcpkg/current/buildtrees/icu/x64-windows-dbg/
See logs for more information:
C:\Users\username\scoop\apps\vcpkg\current\buildtrees\icu\install-x64-windows-dbg-out.log
C:\Users\username\scoop\apps\vcpkg\current\buildtrees\icu\install-x64-windows-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_make.cmake:168 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make)
ports/icu/portfile.cmake:83 (vcpkg_install_make)
scripts/ports.cmake:170 (include)
error: building icu:x64-windows failed with: BUILD_FAILED
Elapsed time to handle icu:x64-windows: 4.3 min
My setup:
PS C:\Users\username> vcpkg version
vcpkg package management program version 2024-01-11-710a3116bbd615864eef5f9010af178034cb9b44
The install-x64-windows-dbg-out.log
shows that two absolute paths are combined.
Makefile:184: update target 'install-icu' due to: target is .PHONY
/bin/sh ./../src/c-74_1-src-8ca76704fa.clean/source/mkinstalldirs /C/Users/username/scoop/apps/vcpkg/current/packages/icu_x64-windows/C/Users/username/scoop/apps/vcpkg/current/installed/x64-windows/debug/share/icu/icud/74.1/config
Makefile:364: update target 'config/icu-config.1' due to: target does not exist
buildtrees\icu\x64-windows-dbg\Makefile
, Line 183 - 185:
install-icu: $(INSTALLED_BUILT_FILES)
@$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/config
@$(MKINSTALLDIRS) $(DESTDIR)$(pkglibdir)
Make is called with DESTDIR=/C/Users/username/scoop/apps/vcpkg/current/packages/icu_x64-windows
.
vcpkg_configure_make.cmake
calls configure with a prefix which results in the following file buildtrees\icu\x64-windows-dbg\icudefs.mk
.
prefix = /C/Users/username/scoop/apps/vcpkg/current/installed/x64-windows/debug
...
datarootdir = ${prefix}/share/icu
...
datadir = ${datarootdir}
...
pkgdatadir = $(datadir)/$(PACKAGE)$(ICULIBSUFFIX)/$(VERSION)
So DESTDIR
and pkgdatadir
are absolute paths which are the cause for this problem.
I have the same issue from 2024.02.14
is there any workaround?
Package: icu[core,tools]:x64-windows -> 73.1
Host Environment
To Reproduce
vcpkg install
Failure logsC:\Gemini\Src\vb\icu\install-x64-windows-dbg-out.log
``` Makefile:153: update target 'install-recursive' due to: target is .PHONY dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list='stubdata common i18n io tools data extra '; for subdir in $list; do \ echo "/c/Gemini/Src/vcpkg_download/tools/msys2/87962f0d86055c95/usr/bin/make[0]: Making \`$target' in \`$subdir'"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-local"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && /c/Gemini/Src/vcpkg_download/tools/msys2/87962f0d86055c95/usr/bin/make RECURSIVE=YES $local_target) || exit; \ done; \ if test "$dot_seen" = "no"; then \ /c/Gemini/Src/vcpkg_download/tools/msys2/87962f0d86055c95/usr/bin/make "$target-local" || exit; \ fi Makefile:184: update target 'install-icu' due to: target is .PHONY /bin/sh ./../src/c-73_1-src-3575e21c7c.clean/source/mkinstalldirs /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud/73.1/config Makefile:364: update target 'config/icu-config.1' due to: target does not exist cd . \ && CONFIG_FILES=./config/icu-config.1 CONFIG_HEADERS= /bin/sh ./config.status /c/Gemini/Src/vcpkg_download/tools/msys2/87962f0d86055c95/usr/bin/make[0]: Making `install' in `stubdata' mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C make[1]: Entering directory '/c/Gemini/Src/vb/icu/x64-windows-dbg/stubdata' mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20 .././../src/c-73_1-src-3575e21c7c.clean/source/config/mh-msys-msvc:208: update target 'icudtd.dll' due to: target does not exist echo -n ([ -e icudtd73.dll.manifest ] && ( echo Embedding manifest into icudtd73.dll && mt.exe -nologo -manifest icudtd73.dll.manifest -outputresource:"icudtd73.dll;2" && rm -rf icudtd73.dll.manifest )) || true mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows Makefile:86: update target 'install-library' due to: target is .PHONY /bin/sh .././../src/c-73_1-src-3575e21c7c.clean/source/mkinstalldirs /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud/73.1 mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud/73.1/config ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c icudtd73.dll /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib make[1]: Leaving directory '/c/Gemini/Src/vb/icu/x64-windows-dbg/stubdata' /bin/sh ./../src/c-73_1-src-3575e21c7c.clean/source/mkinstalldirs /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/icud/73.1 mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/icud mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/icud/73.1 /bin/sh ./../src/c-73_1-src-3575e21c7c.clean/source/mkinstalldirs /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/../tools/icu/debug/bin mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/../tools mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/../tools/icu mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/../tools/icu/debug mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/../tools/icu/debug/bin /bin/sh ./../src/c-73_1-src-3575e21c7c.clean/source/mkinstalldirs /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/../tools/icu/debug/bin ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c -m 644 ./../src/c-73_1-src-3575e21c7c.clean/source/config/mh-msys-msvc /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud/73.1/config/mh-msys-msvc config.status: creating ./config/icu-config.1 ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c ./../src/c-73_1-src-3575e21c7c.clean/source/mkinstalldirs /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud/73.1/mkinstalldirs ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud/73.1/install-sh /bin/sh ./../src/c-73_1-src-3575e21c7c.clean/source/mkinstalldirs /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/pkgconfig mkdir /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/pkgconfig ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c -m 644 ./config/icu-uc.pc ./config/icu-i18n.pc ./config/icu-io.pc /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/pkgconfig/ ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c -m 644 ./../src/c-73_1-src-3575e21c7c.clean/source/../LICENSE /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/share/icu/icud/73.1/LICENSE ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c ./config/icu-config /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/../tools/icu/debug/bin/icu-config ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c -m 644 ./config/Makefile.inc /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/icud/73.1/Makefile.inc ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh -c -m 644 ./config/pkgdata.inc /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/icud/73.1/pkgdata.inc cd /C/Gemini/Src/20/Obj/vcpkg_packages/icu_x64-windows/C/Gemini/Src/20/Obj/vcpkg_installed/x64-windows/debug/lib/icud/73.1/..; \ rm -rf current && ln -s 73.1 current; \ rm -f Makefile.inc && ln -s current/Makefile.inc Makefile.inc; \ rm -f pkgdata.inc && ln -s current/pkgdata.inc pkgdata.inc ```C:\Gemini\Src\vb\icu\install-x64-windows-dbg-err.log
``` make[1]: ./../src/c-73_1-src-3575e21c7c.clean/source/install-sh: No such file or directory make[1]: *** [Makefile:87: install-library] Error 127 make: *** [Makefile:153: install-recursive] Error 2 make: *** Waiting for unfinished jobs.... ```vcpkg.json
``` { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "dependencies": [ "assimp", "boost-algorithm", "boost-asio", "boost-beast", "boost-dll", "boost-uuid", "cereal", "chaiscript", "cpr", "fast-float", "gtest", "icu", "inja", "nlohmann-json", "opencascade", "openssl", "polyclipping", "sqlite3", "xerces-c", "zlib", "qt5-base", "qt5-tools", "qt5-svg", "qt5-3d", "qt5-webengine", "bimxhypermodelcreator", "v8", "opcode", "qtwinmigrate" ], "builtin-baseline": "be2d7f886aad895e282b59088a2dfca5f6e1c88a", "vcpkg-configuration": { "registries": [ { "kind": "git", "baseline": "2ab8435100905282891429f549301aff6b8bf893", "repository": "C:\\Gemini\\Src\\dds-vcpkg", "packages": [ "bimxhypermodelcreator", "v8", "opcode", "qtwinmigrate" ] } ] } } ```