-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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 failure #32711
Comments
Thanks for posting this issue, I can't reproduce your issue locally, the path reported above looks very strange, the path is long, could you choose a short path to try? For example |
I moved vcpkg directory to /usr/bin/install: cannot create regular file 'E:/vcpkg/packages/icu_x64-windows/E/vcpkg/installed/x64-windows/debug/lib/icudtd73.dll': No such file or directory
-- return status = 1
Error installing library. Failed command: cd ../lib/ && /usr/bin/install -c icudtd73.dll E:/vcpkg/packages/icu_x64-windows/E/vcpkg/installed/x64-windows/debug/lib/icudtd73.dll
make[1]: *** [Makefile:185: install-local] Error 1
make: *** [Makefile:153: install-recursive] Error 2 It seems a wrong path have been made by build system or compiler. I tried a total new vcpkg environment to reproduce, and solved this error. But my previous vcpkg has installed many packages, so rebuilding all packages maybe cost many time. How about clearing possible cache contents to clean up some potential accumulated errors? Which folders can I delete to keep the previous installation, but clean the cache? Thanks! |
Try this command |
Sorry, that command didn't work in my old vcpkg directory, still getting the same error. I deleted the current vcpkg instance (including the binary cache, I located other locations through environment variables, and I deleted the contents of this directory), redeployed, and still got the same error. But on another brand new pc (with the same version of msvc), trying multiple times always succeeds in installing icu. On my current PC, relocated to a new location, deployed a new instance of vcpkg, I get the same error, and I don't understand why the previous attempt was successful. Where should I troubleshoot my current dev machine to try to fix the problem? I noticed that the error appeared after The error seems to be that when calculating the path, the absolute path is directly concatenated without being converted into a relative path. |
can you please paste your
|
I can confirm that I have the same problem here. I've manually patched diff --git a/scripts/cmake/vcpkg_configure_make.cmake b/scripts/cmake/vcpkg_configure_make.cmake
index 3ff6742..6e13aae 100644
--- a/scripts/cmake/vcpkg_configure_make.cmake
+++ b/scripts/cmake/vcpkg_configure_make.cmake
@@ -253,7 +253,8 @@ function(vcpkg_configure_make)
set(index 0)
set(appending TRUE)
foreach(item IN LISTS path_list)
- if(item IN_LIST find_system_dirs OR item IN_LIST find_system_dirs_upper)
+ string(TOUPPER "${item}" item_upper)
+ if(item IN_LIST find_system_dirs OR item_upper IN_LIST find_system_dirs_upper)
set(appending FALSE)
break()
endif() After reading @Neumann-A comments, I think I was not far from right ;) Anyway, I can confirm that the problem is solved when dealing with Windows filesystem case insensitivity. |
@YunchengLiu, does PR # 32750 fix the problem, could you help test it? |
@PhoebeHui @Neumann-A @JonLiu1993 |
Sorry for late, my $env:PATH -split ';' | Out-File -FilePath path.txt C:\Program Files\PowerShell\7
C:\Program Files\Microsoft MPI\Bin\
C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\Microsoft SQL Server\120\Tools\Binn\
C:\Program Files\dotnet\
C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
C:\Program Files\IVI Foundation\VISA\Win64\Bin\
C:\Program Files\Common Files\Autodesk Shared\
C:\Program Files\MATLAB\MATLAB Runtime\v95\runtime\win64
C:\Program Files\MATLAB\R2022b\bin
C:\Program Files\Nanoscribe\DeScribe\
C:\Program Files (x86)\Paragon Software\LinuxFS for Windows\
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\WINDOWS\System32\WindowsPowerShell\v1.0\
C:\WINDOWS\System32\OpenSSH\
C:\Program Files\PowerShell\7\
C:\Users\YunchengLiu\scoop\shims
C:\Users\YunchengLiu\AppData\Local\Microsoft\WindowsApps
C:\Users\YunchengLiu\AppData\Local\GitHubDesktop\bin
C:\Users\YunchengLiu\.dotnet\tools
C:\Users\YunchengLiu\AppData\Local\Programs\Microsoft VS Code\bin
%CLion%
C:\Program Files\Bandizip\
C:\Users\YunchengLiu\AppData\Local\JetBrains\Toolbox\scripts
C:\Users\YunchengLiu\.dotnet\tools
C:\Users\YunchengLiu\AppData\Local\Microsoft\WindowsApps @Neumann-A Thanks! |
@YunchengLiu, does PR #32750 fix the problem? |
@JonLiu1993 Seems to be solved. I've tried multiple times and it seems to be working fine on my PC. |
Operating system
Windows 11 Pro
Compiler
MSVC 17.6.5
Steps to reproduce the behavior
`.\vcpkg.exe install icu:x64-windows`
vcpkg is updated to date.
Failure logs
log files
install-x64-windows-dbg-out.log
install-x64-windows-dbg-err.log
Additional context
No response
The text was updated successfully, but these errors were encountered: