-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Install failure #37420
Comments
Thanks for posting this issue. Please make sure you have set utf-8 locale in Windows settings, see https://www.cnblogs.com/walker-world/p/9548852.html. |
[DEBUG] Default binary cache path is: C:\Users\FK-Gaopengwei\AppData\Local\vcpkg\archives |
How can I find the file and remove it? |
I have seted, but the problem still exist. |
Maybe the failed reason is the sapce in your VCPKG_ROOT_PATH D:/Program Files, could you please clone vcpkg to a no-space path and rebuild |
PS C:\Users\FK-Gaopengwei> vcpkg install boost-interprocess:x64-windows --debug |
Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch error: while searching for: #endif #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ define Z_HAVE_UNISTD_H#endif #ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */ define Z_HAVE_STDARG_H#endif #ifdef STDC error: patch failed: zconf.h.cmakein:434 error: zconf.h.cmakein: patch does not apply Checking patch zconf.h.in... error: while searching for: #endif #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ define Z_HAVE_UNISTD_H#endif #ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */ define Z_HAVE_STDARG_H#endif #ifdef STDC error: patch failed: zconf.h.in:432 error: zconf.h.in: patch does not apply Call Stack (most recent call first): [DEBUG] 1007: cmd_execute_and_stream_data() returned 1 after 863314 us [DEBUG] D:\a_work\1\s\src\vcpkg\commands.install.cpp(603): |
You can check whether file |
The path does not exsit. |
This is the file path of the vcpkg tool source code unit which reports the encoding error... |
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment. |
Operating system
Windows10
Compiler
MSVC
Steps to reproduce the behavior
.\vcpkg install zlib:x64-windows --debug
Failure logs
[DEBUG] Trying to hash D:\Program Files\vcpkg\ports\zlib\vcpkg.json
[DEBUG] D:\Program Files\vcpkg\ports\zlib\vcpkg.json has hash 8ad7072167e1bf56d2ed531e43ecc95026d5b305ed0393140d5ec78f5c6b6c00
[DEBUG]
[DEBUG] 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch|750b9542cb55e6328cca01d3ca997f1373b9530afa95e04213168676936e7bfa
[DEBUG] 0002-build-static-or-shared-not-both.patch|dd4945e8af55d9feb65af706cb0254a6925dc4ac12789586c0d28acf323ad075
[DEBUG] 0003-android-and-mingw-fixes.patch|63e62c9bae3952b8cca832e01aa96ef3b2696b21976c5031d6d6d79937d8d54c
[DEBUG] cmake|3.27.1
[DEBUG] features|core
[DEBUG] portfile.cmake|b14cee469c2da06e036e63293c0b6e6509924462e9b341b317986df46b281695
[DEBUG] ports.cmake|0500e9e2422fe0084c99bdd0c9de4c7069b76da14c8b58228a7e95ebac43058a
[DEBUG] post_build_checks|2
[DEBUG] powershell|7.4.1
[DEBUG] triplet|x64-windows
[DEBUG] triplet_abi|4556164a2cd3dd6f4742101eabb46def7e71b6e5856faa88e5d005aac12a803c-e36df1c7f50ab25f9c182fa927d06c19ae082e0d599f132b3f655784b49e4b33-3361a17d8afbd07b0f5c7f4dac4bd892b23a29d3
[DEBUG] usage|be22662327df993eebc437495add75acb365ab18d37c7e5de735d4ea4f5d3083
[DEBUG] vcpkg-cmake|ec4adb82e6fea2c00603e342f7766d22e588f9ce2bff16a56d4cd02e0126bf93
[DEBUG] vcpkg-cmake-wrapper.cmake|5d49ef2ee6448479c2aad0e5f732e2676eaba0411860f9bebabe6002d66f57d1
[DEBUG] vcpkg.json|8ad7072167e1bf56d2ed531e43ecc95026d5b305ed0393140d5ec78f5c6b6c00
[DEBUG] vcpkg_copy_pdbs|d57e4f196c82dc562a9968c6155073094513c31e2de475694143d3aa47954b1c
[DEBUG] vcpkg_fixup_pkgconfig|904e67c46ecbb67379911bc1d7222855c0cbfcf1129bf47783858bcf0cc44970
[DEBUG] vcpkg_from_git|96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58
[DEBUG] vcpkg_from_github|b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f
[DEBUG] vcpkg_replace_string|d43c8699ce27e25d47367c970d1c546f6bc36b6df8fb0be0c3986eb5830bd4f1
[DEBUG]
[DEBUG] Default binary cache path is: C:\Users\FK-Gaopengwei\AppData\Local\vcpkg\archives
Restored 0 package(s) from C:\Users\FK-Gaopengwei\AppData\Local\vcpkg\archives in 125 us. Use --debug to see more details.
Installing 1/2 vcpkg-cmake:x64-windows@2023-05-04...
Building vcpkg-cmake:x64-windows@2023-05-04...
[DEBUG] Detecting host with IsWow64Process2
[DEBUG] 1007: CreateProcessW("D:\Program Files\vcpkg\downloads\tools\cmake-3.27.1-windows\cmake-3.27.1-windows-i386/bin/cmake.exe" -DALL_FEATURES= "-DCURRENT_PORT_DIR=D:/Program Files/vcpkg/ports/vcpkg-cmake" -D_HOST_TRIPLET=x64-windows -DFEATURES=core -DPORT=vcpkg-cmake -DVERSION=2023-05-04 -DVCPKG_USE_HEAD_VERSION=0 -D_VCPKG_DOWNLOAD_TOOL=BUILT_IN -D_VCPKG_EDITABLE=0 -D_VCPKG_NO_DOWNLOADS=0 "-DZ_VCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/Program Files/vcpkg/scripts/toolchains/windows.cmake" -DCMD=BUILD "-DDOWNLOADS=D:/Program Files/vcpkg/downloads" -DTARGET_TRIPLET=x64-windows "-DTARGET_TRIPLET_FILE=D:/Program Files/vcpkg/triplets/x64-windows.cmake" -DVCPKG_BASE_VERSION=2024-02-07 -DVCPKG_CONCURRENCY=17 -DVCPKG_PLATFORM_TOOLSET=v142 "-DGIT=C:/Program Files/Git/cmd/git.exe" "-DVCPKG_ROOT_DIR=D:/Program Files/vcpkg" "-DPACKAGES_DIR=D:/Program Files/vcpkg/packages" "-DBUILDTREES_DIR=D:/Program Files/vcpkg/buildtrees" "-D_VCPKG_INSTALLED_DIR=D:/Program Files/vcpkg/installed" "-DDOWNLOADS=D:/Program Files/vcpkg/downloads" -DVCPKG_MANIFEST_INSTALL=OFF -P "D:\Program Files\vcpkg\scripts\ports.cmake")
-- Installing: D:/Program Files/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: D:/Program Files/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: D:/Program Files/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: D:/Program Files/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: D:/Program Files/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
[DEBUG] 1007: cmd_execute_and_stream_data() returned 0 after 174668 us
error: Failed to convert to UTF-8: invalid code unit
[DEBUG] D:\a_work\1\s\src\vcpkg\base\unicode.cpp(259):
[DEBUG] Time in subprocesses: 9700307us
[DEBUG] Time in parsing JSON: 26us
[DEBUG] Time in JSON reader: 94us
[DEBUG] Time in filesystem: 5863us
[DEBUG] Time in loading ports: 754us
[DEBUG] Exiting after 10 s (9936698us)
Additional context
No response
The text was updated successfully, but these errors were encountered: