microsoft / vcpkg

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

[V8] build failure #26606

Closed ZRR666 closed 1 year ago

ZRR666 commented 2 years ago

Host Environment

vcpkg install v8

Failure logs Working Directory: C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean Error code: 1 See logs for more information: C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-out.log C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-err.log

Call Stack (most recent call first): scripts/cmake/vcpkg_configure_gn.cmake:8 (vcpkg_execute_required_process) scripts/cmake/vcpkg_configure_gn.cmake:35 (z_vcpkg_configure_gn_generate) ports/v8/portfile.cmake:150 (vcpkg_configure_gn) scripts/ports.cmake:147 (include)

error: building v8:x86-windows failed with: BUILD_FAILED Please ensure you're using the latest port files with git pull and vcpkg update. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+v8 You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[v8]+Build+error Include '[v8] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above. vcpkg-tool version: 2022-07-21-a0e87e227afb536c62188c11ad029954f28fdb22 vcpkg-scripts version: e85b5bb95 2022-08-26 (4 days ago)

You can also use the prefilled template from C:\src\vcpkg\installed\vcpkg\issue_body.md.

Additional context Reinstall the windows10 SDK

generate-x86-windows-dbg-out.log: ERROR at //build/config/win/BUILD.gn:299:27: Script returned non-zero exit code. vcvars_toolchain_data = exec_script("../../toolchain/win/setup_toolchain.py", ^---------- Current dir: C:/src/vcpkg/buildtrees/v8/x86-windows-dbg/ Command: C:/src/vcpkg/downloads/tools/python/python-3.10.5-x86/python.exe C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean/build/toolchain/win/setup_toolchain.py "C:\Program Files (x86)/Microsoft Visual Studio/2017/Professional" "C:\Program Files (x86)\Windows Kits\10" "C:\WINDOWS\Sysnative;C:\WINDOWS\SysWOW64;Arm64Unused" win x86 none Returned 1. See //build/config/BUILDCONFIG.gn:344:5: which caused the file to be included. "//build/config/win:default_cfg_compiler", ^----------------------------------------

generate-x86-windows-dbg-err.log

Traceback (most recent call last): Traceback (most recent call last): File "C:\src\vcpkg\buildtrees\v8\src\a883683717-e774d37ef1.clean\build\toolchain\win\setup_toolchain.py", line 311, in File "C:\src\vcpkg\buildtrees\v8\src\a883683717-e774d37ef1.clean\build\toolchain\win\setup_toolchain.py", line 311, in main() main() File "C:\src\vcpkg\buildtrees\v8\src\a883683717-e774d37ef1.clean\build\toolchain\win\setup_toolchain.py", line 268, in main File "C:\src\vcpkg\buildtrees\v8\src\a883683717-e774d37ef1.clean\build\toolchain\win\setup_toolchain.py", line 268, in main vc_lib_path = FindFileInEnvList(env, 'LIB', ';', 'msvcrt.lib') File "C:\src\vcpkg\buildtrees\v8\src\a883683717-e774d37ef1.clean\build\toolchain\win\setup_toolchain.py", line 209, in FindFileInEnvList vc_lib_path = FindFileInEnvList(env, 'LIB', ';', 'msvcrt.lib') File "C:\src\vcpkg\buildtrees\v8\src\a883683717-e774d37ef1.clean\build\toolchain\win\setup_toolchain.py", line 209, in FindFileInEnvList assert optional, "%s is not found in %s:\n%s\nCheck if it is installed." % ( AssertionError: msvcrt.lib is not found in LIB: C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x86 C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86 C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86

Check if it is installed. assert optional, "%s is not found in %s:\n%s\nCheck if it is installed." % ( AssertionError: msvcrt.lib is not found in LIB: C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x86 C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86 C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86

Check if it is installed.

ZRR666 commented 2 years ago

Failure to compile is painful

ZRR666 commented 2 years ago

What are the solutions

Cheney-W commented 2 years ago

Could you find the msvcrt.lib file locally, where is it stored?

ZRR666 commented 2 years ago

image

ZRR666 commented 2 years ago

generate-x86-windows-dbg-err.log generate-x86-windows-dbg-out.log error-logs-x86-windows.txt patch-x86-windows-0-err.log

ZRR666 commented 2 years ago

hey

Cheney-W commented 2 years ago

Please use ./vcpkg install v8 --debug and send the new stdout-x86-windows.log to me, I want to check which toolset is used in this step.

ZRR666 commented 2 years ago

hey CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):     Command failed: C:/src/vcpkg/downloads/tools/gn/q5ExVHmXyD34Q_Tzb-aRxsPipO-e37-csVRhVM7IJh0C/gn.exe gen C:/src/vcpkg/buildtrees/v8/x86-windows-dbg "--args=is_component_build=true target_cpu=\"x86\" v8_monolithic=false v8_use_external_startup_data=true use_sysroot=false is_clang=false use_custom_libcxx=false v8_enable_verify_heap=false icu_use_data_file=false is_debug=true enable_iterator_debugging=true pkg_config_libdir=\"/c/src/vcpkg/installed/x86-windows/debug/lib/pkgconfig\""     Working Directory: C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean     Error code: 1     See logs for more information:       C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-out.log       C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-err.log

Call Stack (most recent call first):   scripts/cmake/vcpkg_configure_gn.cmake:8 (vcpkg_execute_required_process)   scripts/cmake/vcpkg_configure_gn.cmake:35 (z_vcpkg_configure_gn_generate)   ports/v8/portfile.cmake:150 (vcpkg_configure_gn)   scripts/ports.cmake:147 (include)

[DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 23344: cmd_execute_and_stream_data() returned 1 after 35486476 us error: building v8:x86-windows failed with: BUILD_FAILED [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\src\vcpkg.git" "--work-tree=C:\src\vcpkg.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 23344: cmd_execute_and_stream_data() returned 0 after    41743 us [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\src\vcpkg.git" "--work-tree=C:\src\vcpkg.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 23344: cmd_execute_and_stream_data() returned 0 after    42670 us Please ensure you're using the latest port files with git pull and vcpkg update. Then check for known issues at:     https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+v8 You can submit a new issue at:     https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[v8]+Build+error Include '[v8] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.     vcpkg-tool version: 2022-07-21-a0e87e227afb536c62188c11ad029954f28fdb22     vcpkg-scripts version: f688b2e29 2022-08-29 (2 days ago)

You can also use the prefilled template from C:\src\vcpkg\installed\vcpkg\issue_body.md.

[DEBUG] D:\a_work\1\s\src\vcpkg\install.cpp(514): [DEBUG] Time in subprocesses: 38316802 us [DEBUG] Time in parsing JSON: 1158 us [DEBUG] Time in JSON reader: 626 us [DEBUG] Time in filesystem: 9604 us [DEBUG] Time in loading ports: 5954 us [DEBUG] Exiting after 38.4 s (38379170 us)

c:\src\vcpkg>

------------------ 原始邮件 ------------------ 发件人: "microsoft/vcpkg" @.>; 发送时间: 2022年9月1日(星期四) 下午3:52 @.>; 抄送: " @.**@.>; 主题: Re: [microsoft/vcpkg] [V8] build failure (Issue #26606)

请使用./vcpkg install v8 --debug并将新的发送stdout-x86-windows.log给我,我想检查在此步骤中使用了哪个工具集。

— 直接回复此邮件,在 GitHub 上查看,或取消订阅。 您收到此消息是因为您编写了该主题。Message ID: @.***>

Cheney-W commented 2 years ago

Could you please send the new stdout-x86-windows.log file to me? After added --debug option, a lot of additional information will be displayed here.

ZRR666 commented 2 years ago

Consider adding vcpkg-tool-gn as a host dependency of this port or create an issue at https://github.com/microsoft/vcpkg/issues -- Using cached msys-gzip-1.11-1-x86_64.pkg.tar.zst. -- Using cached msys-bash-5.1.008-1-x86_64.pkg.tar.zst. -- Using cached msys-diffutils-3.8-2-x86_64.pkg.tar.zst. -- Using cached msys-coreutils-8.32-2-x86_64.pkg.tar.zst. -- Using cached msys-grep-3.0-2-x86_64.pkg.tar.xz. -- Using cached msys-sed-4.8-2-x86_64.pkg.tar.zst. -- Using cached msys-libpcre-8.45-1-x86_64.pkg.tar.zst. -- Using cached msys-gawk-5.1.0-2-x86_64.pkg.tar.zst. -- Using cached msys-mpfr-4.1.0-1-x86_64.pkg.tar.zst. -- Using cached msys-gmp-6.2.1-1-x86_64.pkg.tar.zst. -- Using cached msys-libreadline-8.1.001-1-x86_64.pkg.tar.zst. -- Using cached msys-ncurses-6.2-2-x86_64.pkg.tar.zst. -- Using cached msys-pkg-config-0.29.2-4-x86_64.pkg.tar.zst. -- Using cached msys-make-4.3-3-x86_64.pkg.tar.zst. -- Using cached msys-libintl-0.21-1-x86_64.pkg.tar.zst. -- Using cached msys-libiconv-1.16-2-x86_64.pkg.tar.zst. -- Using cached msys-gcc-libs-11.2.0-3-x86_64.pkg.tar.zst. -- Using cached msys-msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst. -- Using msys root at C:/src/vcpkg/downloads/tools/msys2/79d5b6b790550399 -- Using cached C:/src/vcpkg/downloads/v8-7d3d62c91f69a702e5aa54c6b4dbbaa883683717.tar.gz -- Cleaning sources at C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/src/vcpkg/downloads/v8-7d3d62c91f69a702e5aa54c6b4dbbaa883683717.tar.gz -- Applying patch C:/src/vcpkg/ports/v8/v8.patch -- Using source at C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean -- Fetching submodules -- Generating v8 build files. Please wait... -- Generating build (x86-windows-dbg)... CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):     Command failed: C:/src/vcpkg/downloads/tools/gn/q5ExVHmXyD34Q_Tzb-aRxsPipO-e37-csVRhVM7IJh0C/gn.exe gen C:/src/vcpkg/buildtrees/v8/x86-windows-dbg "--args=is_component_build=true target_cpu=\"x86\" v8_monolithic=false v8_use_external_startup_data=true use_sysroot=false is_clang=false use_custom_libcxx=false v8_enable_verify_heap=false icu_use_data_file=false is_debug=true enable_iterator_debugging=true pkg_config_libdir=\"/c/src/vcpkg/installed/x86-windows/debug/lib/pkgconfig\""     Working Directory: C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean     Error code: 1     See logs for more information:       C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-out.log       C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-err.log

Call Stack (most recent call first):   scripts/cmake/vcpkg_configure_gn.cmake:8 (vcpkg_execute_required_process)   scripts/cmake/vcpkg_configure_gn.cmake:35 (z_vcpkg_configure_gn_generate)   ports/v8/portfile.cmake:150 (vcpkg_configure_gn)   scripts/ports.cmake:147 (include)

------------------ 原始邮件 ------------------ 发件人: "Cheney @.>; 发送时间: 2022年9月1日(星期四) 晚上6:29 收件人: @.>; 抄送: " @.>; @.>; 主题: Re: [microsoft/vcpkg] [V8] build failure (Issue #26606)

你能把新stdout-x86-windows.log文件发给我吗?添加--debug选项后,这里会显示很多附加信息。

— 直接回复此邮件,在 GitHub 上查看,或取消订阅。 您收到此消息是因为您编写了该主题。消息 ID:<microsoft/vcpkg/issues/26606/1234080313 @ github 。com>

Cheney-W commented 2 years ago

I want the log to be displayed on powershell and start with ./vcpkg install v8 --debug. Or you can send me the stdout-x86-windows.log in buildtrees\v8 after executing this command.

ZRR666 commented 2 years ago

Windows PowerShell 版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS C:\WINDOWS\system32> cd c:\src\vcpkg PS C:\src\vcpkg> ./vcpkg install v8 --debug [DEBUG] To include the environment variables in debug output, pass --debug-env [DEBUG] Feature flag 'binarycaching' unset [DEBUG] Feature flag 'manifests' unset [DEBUG] Feature flag 'compilertracking' unset [DEBUG] Feature flag 'registries' unset [DEBUG] Feature flag 'versions' unset [DEBUG] Failed to open: C:\src\vcpkg\vcpkg-bundle.json [DEBUG] Using scripts-root: C:\src\vcpkg\scripts [DEBUG] Bundle config: readonly=0, usegitregistry=0, embeddedsha=nullopt [DEBUG] Using builtin-ports: C:\src\vcpkg\ports [DEBUG] Using installed-root: C:\src\vcpkg\installed [DEBUG] Using buildtrees-root: C:\src\vcpkg\buildtrees [DEBUG] Using packages-root: C:\src\vcpkg\packages [DEBUG] Using vcpkg-root: C:\src\vcpkg [DEBUG] Using scripts-root: C:\src\vcpkg\scripts [DEBUG] Using builtin-registry: C:\src\vcpkg\versions [DEBUG] Using downloads-root: C:\src\vcpkg\downloads [DEBUG] Default binary cache path is: C:\Users\admin\AppData\Local\vcpkg\archives Computing installation plan... [DEBUG] Found path: C:\Program Files\CMake\bin\cmake.exe [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" --version) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 942038 us [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\buildtrees\0.vcpkg_dep_info.cmake") [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 73927 us [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\buildtrees\0.vcpkg_tags.cmake") [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 74780 us The following packages will be built and installed: v8[core]:x86-windows -> 9.1.269.39#4 [DEBUG] CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 182231 us Detecting compiler hash for triplet x86-windows... [DEBUG] Found path: C:\Program Files\Git\cmd\git.exe [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" --version) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 436497 us [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\powershell-core-7.2.5-windows\pwsh.exe" --version) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 270772 us [DEBUG] command line: cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary/Build\vcvarsall.bat" -vcvars_ver=14.32.31326 amd64_x86 2>&1 <NUL & echo cdARN4xjKueKScMy9C6H & set [DEBUG] CreateProcessW(cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary/Build\vcvarsall.bat" -vcvars_ver=14.32.31326 amd64_x86 2>&1 <NUL & echo cdARN4xjKueKScMy9C6H & set) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 1165172 us [DEBUG] ** Visual Studio 2022 Developer Command Prompt v17.2.6 Copyright (c) 2022 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64_x86' cdARN4xjKueKScMy9C6H ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\admin\AppData\Roaming CommandPromptType=Cross CommonProgramFiles=C:\Program Files (x86)\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-NILC0E1 ComSpec=C:\WINDOWS\system32\cmd.exe DevEnvDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\ ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs Framework40Version=v4.0 FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework64\ FrameworkDIR32=C:\WINDOWS\Microsoft.NET\Framework\ FrameworkDIR64=C:\WINDOWS\Microsoft.NET\Framework64 FrameworkVersion=v4.0.30319 FrameworkVersion32=v4.0.30319 FrameworkVersion64=v4.0.30319 FSHARPINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools HOMEDRIVE=C: HOMEPATH=\Users\admin HTMLHelpDir=C:\Program Files (x86)\HTML Help Workshop IFCPATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ifc\x86 INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt is_x64_arch=true LIB=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ATLMFC\lib\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86 LIBPATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ATLMFC\lib\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 LOCALAPPDATA=C:\Users\admin\AppData\Local LOGONSERVER=\DESKTOP-NILC0E1 NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\ NUMBER_OF_PROCESSORS=20 OS=Windows_NT PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PL;.WPL;.PY;.PYW;.CPL Platform=x86 PreferredToolArchitecture=x64 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_ARCHITEW6432=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=a505 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files (x86) ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Users\admin\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\admin\AppData\Local\Temp TMP=C:\Users\admin\AppData\Local\Temp UCRTVersion=10.0.19041.0 UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\ USERDOMAIN=DESKTOP-NILC0E1 USERDOMAIN_ROAMINGPROFILE=DESKTOP-NILC0E1 USERNAME=admin USERPROFILE=C:\Users\admin VCIDEInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\ VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\ VCToolsInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ VCToolsRedistDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Redist\MSVC\14.32.31326\ VCToolsVersion=14.32.31326 VisualStudioVersion=17.0 VS170COMNTOOLS=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\ VSCMD_ARG_app_plat=Desktop VSCMD_ARG_HOST_ARCH=x64 VSCMD_ARG_TGT_ARCH=x86 VSCMD_ARG_VCVARS_VER=14.32.31326 VSCMD_VER=17.2.6 VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\ VSSDK150INSTALL=C:\Program Files\Microsoft Visual Studio\2022\Professional\VSSDK VSSDKINSTALL=C:\Program Files\Microsoft Visual Studio\2022\Professional\VSSDK windir=C:\WINDOWS CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3 CUDA_PATH_V10_2=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2 NVCUDASAMPLES_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.3 NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\ PATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\bin\Roslyn;C:\Program Files\Microsoft Visual Studio\2022\Professional\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\;C:\src\vcpkg\downloads\tools\powershell-core-7.2.5-windows;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\Llvm\x64\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\Linux\bin\ConnectionManagerExe VSLANG=1033 VSCMD_SKIP_SENDTELEMETRY=1 VCPKG_COMMAND=C:/src/vcpkg/vcpkg.exe WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0 WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin\ WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\ WindowsSDKLibVersion=10.0.19041.0\ WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\ WindowsSDKVersion=10.0.19041.0\ WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\ WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\ X_VCPKG_RECURSIVE_DATA={}

DOTNET_ADD_32BIT=1 DOTNET_ADD_64BIT=1 DOTNET_PREFERRED_BITNESS=64 VSCMD_PREINIT_PATH=C:\src\vcpkg\downloads\tools\powershell-core-7.2.5-windows;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0\

[DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DCURRENT_PORT_DIR=C:/src/vcpkg/scripts/detect_compiler -DCURRENT_BUILDTREES_DIR=C:/src/vcpkg/buildtrees/detect_compiler -DCURRENT_PACKAGES_DIR=C:/src/vcpkg/packages/detect_compiler_x86-windows -D_HOST_TRIPLET=x86-windows -DCMD=BUILD -DDOWNLOADS=C:/src/vcpkg/downloads -DTARGET_TRIPLET=x86-windows -DTARGET_TRIPLET_FILE=C:/src/vcpkg/triplets/x86-windows.cmake -DVCPKG_BASE_VERSION=2022-07-21 -DVCPKG_CONCURRENCY=21 -DVCPKG_PLATFORM_TOOLSET=v143 "-DGIT=C:/Program Files/Git/cmd/git.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\scripts\ports.cmake") [DEBUG] -- Configuring x86-windows [DEBUG] [1/1] "C:/src/vcpkg/downloads/tools/cmake-3.24.0-windows/cmake-3.24.0-windows-i386/bin/cmake.exe" -E chdir ".." "C:/src/vcpkg/downloads/tools/cmake-3.24.0-windows/cmake-3.24.0-windows-i386/bin/cmake.exe" "C:/src/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/src/vcpkg/packages/detect_compiler_x86-windows" "-DCMAKE_MAKE_PROGRAM=C:/src/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/src/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/src/vcpkg" "-DZ_VCPKG_ROOT_DIR=C:/src/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" [DEBUG] -- The C compiler identification is MSVC 19.32.31332.0 [DEBUG] -- The CXX compiler identification is MSVC 19.32.31332.0 [DEBUG] #COMPILER_HASH#249e2da0fced5777e3f907c3dc10380ddd2c9c98 [DEBUG] #COMPILER_C_HASH#8bce824694d2a54e71062bea7bdc6067eda6bf5b [DEBUG] #COMPILER_C_VERSION#19.32.31332.0 [DEBUG] #COMPILER_C_ID#MSVC [DEBUG] #COMPILER_CXX_HASH#8bce824694d2a54e71062bea7bdc6067eda6bf5b [DEBUG] #COMPILER_CXX_VERSION#19.32.31332.0 [DEBUG] #COMPILER_CXX_ID#MSVC [DEBUG] -- Configuring done [DEBUG] -- Generating done [DEBUG] CMake Warning: [DEBUG] Manually-specified variables were not used by the project: [DEBUG] [DEBUG] BUILD_SHARED_LIBS [DEBUG] CMAKE_INSTALL_BINDIR [DEBUG] CMAKE_INSTALL_LIBDIR [DEBUG] _VCPKG_ROOT_DIR [DEBUG] [DEBUG] [DEBUG] -- Build files have been written to: C:/src/vcpkg/buildtrees/detect_compiler/x86-windows-rel [DEBUG] [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 2125659 us [DEBUG] [DEBUG] Detected compiler hash for triplet x86-windows: 249e2da0fced5777e3f907c3dc10380ddd2c9c98 [DEBUG] [DEBUG] V8Config-shared.cmake|fde46ea8c69174ed9d18f2fcfb2774e04c5526b8aab6dce163443d90102aad09 [DEBUG] V8Config-static.cmake|d5861be5091da90b3db1747347d951855276e78e758680b5b058a7e63f2dcf65 [DEBUG] build.patch|5d4944f4e0fddb703e754ed919f906abdd768f7366a86f8366fe675db46dfa76 [DEBUG] cmake|3.24.0 [DEBUG] execute_process|66a937b9c074422643135c319d1abadaa45484a664f1b160d4c163efb444a446 [DEBUG] features|core [DEBUG] icu|0518e8c3cce839f64a3643b5d322722a4be9de4ef3062f72d5b552e26efa9743 [DEBUG] icu.gn|367391fbf637b9584376d73b6489f75897d5715fb3d0f7f3e6a84b1509acf8b4 [DEBUG] portfile.cmake|4fbb35917cabd367bd8380f5929f67084fbcf5d4425872e41b0cc9ed2b074df7 [DEBUG] ports.cmake|b4accc7941cb5ff993e1a0434cea6df3e99331137294958437b2b86b7216e2e2 [DEBUG] post_build_checks|2 [DEBUG] powershell|7.2.5 [DEBUG] triplet|x86-windows [DEBUG] triplet_abi|a639e3fe6c7296bf46f46365355143643b180e8e997ae3fdfc1d772743c37994-c0600b35e024ce0485ed253ef5419f3686f7257cfb58cb6a24febcb600fc4b4c-249e2da0fced5777e3f907c3dc10380ddd2c9c98 [DEBUG] v8.patch|ae84358334daf39804bd3bef073025650073596511b35dbfdcd52f98f8e01b24 [DEBUG] v8.pc.in|69c2859b8276815ac5d0a65fffc468b0ab371397c2dc903cb368553ff7a44902 [DEBUG] v8_libbase.pc.in|5c9c8f0b71759aab837e363a79cb68bbd622d7e7ee043962109a1399ccd9bd84 [DEBUG] v8_libplatform.pc.in|4b900dc88d18a5e9264d7a9290b935940eebe260f9c610ca3ac07f8e3ee6eaff [DEBUG] v8_monolith.pc.in|aa29736e0524ee5b9f92410af3e34ec4a88b68ef98a69a2353273e2ec55345d9 [DEBUG] vcpkg-tool-python2|98177838a2dcdd61c0050919a3ad1f025b88b9e694b4027ba65cc668604dc8c3 [DEBUG] vcpkg.json|04639c8faae1ccf54303726422a10de6ceb1426963110a12cf1337bf12d1a3be [DEBUG] vcpkg_acquire_msys|429c3b3f6895823aec943de762c1bbbb172a78fcaf13793f4324f3d45013cd44 [DEBUG] vcpkg_add_to_path|5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe [DEBUG] vcpkg_configure_gn|cedbc9c6e10866dbee2124c84faa496a2a65e92268fd55f3c4d36672e557dab1 [DEBUG] vcpkg_copy_pdbs|d57e4f196c82dc562a9968c6155073094513c31e2de475694143d3aa47954b1c [DEBUG] vcpkg_execute_required_process|975eab651b1f156e5550defb3abad898ff8159b57a0e0562d3ac3c959043476d [DEBUG] vcpkg_find_acquire_program|9997661c5e9e76bce8329ca59cb710e66327b79f9ab9b2416ac3a3d42692276f [DEBUG] vcpkg_fixup_pkgconfig|433d0d235b4e9f6c7bb8744a2f06a9f534b355da67d0d85b7c2daf15c8c77671 [DEBUG] vcpkg_from_git|0aab20e34e84d52ba4763f009e539bfa8f418c41c918c8cf700156f1a8551a10 [DEBUG] vcpkg_install_gn|39d2588aba1c63b778b0ace5f1f46fe56473ce69364462a7e185106271c09489 [DEBUG] zlib|75f77a0c5de96a1ee4a56896870d1a3d00da1dd078ec67cdfae39b10e057d7b9 [DEBUG] zlib.gn|21e332e086f719314d8381f08b336edf9e3d312df9660eefad41c3c79e509926 [DEBUG] Restored 0 package(s) from C:\Users\admin\AppData\Local\vcpkg\archives in 185 us. Use --debug to see more details. Installing 1/1 v8:x86-windows... Building v8[core]:x86-windows... [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DALL_FEATURES= -DCURRENT_PORT_DIR=C:/src/vcpkg/ports/v8 -D_HOST_TRIPLET=x64-windows -DFEATURES=core -DPORT=v8 -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=C:/src/vcpkg/scripts/toolchains/windows.cmake -DCMD=BUILD -DDOWNLOADS=C:/src/vcpkg/downloads -DTARGET_TRIPLET=x86-windows -DTARGET_TRIPLET_FILE=C:/src/vcpkg/triplets/x86-windows.cmake -DVCPKG_BASE_VERSION=2022-07-21 -DVCPKG_CONCURRENCY=21 -DVCPKG_PLATFORM_TOOLSET=v143 "-DGIT=C:/Program Files/Git/cmd/git.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\scripts\ports.cmake") Consider adding vcpkg-tool-gn as a host dependency of this port or create an issue at https://github.com/microsoft/vcpkg/issues -- Using cached msys-gzip-1.11-1-x86_64.pkg.tar.zst. -- Using cached msys-bash-5.1.008-1-x86_64.pkg.tar.zst. -- Using cached msys-diffutils-3.8-2-x86_64.pkg.tar.zst. -- Using cached msys-coreutils-8.32-2-x86_64.pkg.tar.zst. -- Using cached msys-grep-3.0-2-x86_64.pkg.tar.xz. -- Using cached msys-sed-4.8-2-x86_64.pkg.tar.zst. -- Using cached msys-libpcre-8.45-1-x86_64.pkg.tar.zst. -- Using cached msys-gawk-5.1.0-2-x86_64.pkg.tar.zst. -- Using cached msys-mpfr-4.1.0-1-x86_64.pkg.tar.zst. -- Using cached msys-gmp-6.2.1-1-x86_64.pkg.tar.zst. -- Using cached msys-libreadline-8.1.001-1-x86_64.pkg.tar.zst. -- Using cached msys-ncurses-6.2-2-x86_64.pkg.tar.zst. -- Using cached msys-pkg-config-0.29.2-4-x86_64.pkg.tar.zst. -- Using cached msys-make-4.3-3-x86_64.pkg.tar.zst. -- Using cached msys-libintl-0.21-1-x86_64.pkg.tar.zst. -- Using cached msys-libiconv-1.16-2-x86_64.pkg.tar.zst. -- Using cached msys-gcc-libs-11.2.0-3-x86_64.pkg.tar.zst. -- Using cached msys-msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst. -- Using msys root at C:/src/vcpkg/downloads/tools/msys2/79d5b6b790550399 -- Using cached C:/src/vcpkg/downloads/v8-7d3d62c91f69a702e5aa54c6b4dbbaa883683717.tar.gz -- Cleaning sources at C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/src/vcpkg/downloads/v8-7d3d62c91f69a702e5aa54c6b4dbbaa883683717.tar.gz -- Applying patch C:/src/vcpkg/ports/v8/v8.patch -- Using source at C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean -- Fetching submodules CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message): Command failed: "C:/Program Files/Git/cmd/git.exe" clone --depth 1 https://chromium.googlesource.com/chromium/src/build.git build Working Directory: C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean Error code: 128 See logs for more information: C:\src\vcpkg\buildtrees\v8\build-x86-windows-err.log

Call Stack (most recent call first): ports/v8/portfile.cmake:50 (vcpkg_execute_required_process) ports/v8/portfile.cmake:79 (v8_fetch) scripts/ports.cmake:147 (include)

[DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 1 after 236729286 us error: building v8:x86-windows failed with: BUILD_FAILED [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\src\vcpkg.git" "--work-tree=C:\src\vcpkg.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 46101 us [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\src\vcpkg.git" "--work-tree=C:\src\vcpkg.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 24044: cmd_execute_and_stream_data() returned 0 after 44520 us Please ensure you're using the latest port files with git pull and vcpkg update. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+v8 You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[v8]+Build+error Include '[v8] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above. vcpkg-tool version: 2022-07-21-a0e87e227afb536c62188c11ad029954f28fdb22 vcpkg-scripts version: f688b2e29 2022-08-29 (3 days ago)

You can also use the prefilled template from C:\src\vcpkg\installed\vcpkg\issue_body.md.

[DEBUG] D:\a_work\1\s\src\vcpkg\install.cpp(514): [DEBUG] Time in subprocesses: 242090983 us [DEBUG] Time in parsing JSON: 1193 us [DEBUG] Time in JSON reader: 637 us [DEBUG] Time in filesystem: 8959 us [DEBUG] Time in loading ports: 6867 us [DEBUG] Exiting after 4.037 min (242173410 us) PS C:\src\vcpkg> PS C:\src\vcpkg>

ZRR666 commented 2 years ago

Windows PowerShell 版权所有 (C) Microsoft Corporation。保留所有权利。

尝试新的跨平台 PowerShell https://aka.ms/pscore6

PS C:\WINDOWS\system32> cd c:\src\vcpkg PS C:\src\vcpkg> ./vcpkg install v8 --debug [DEBUG] To include the environment variables in debug output, pass --debug-env [DEBUG] Feature flag 'binarycaching' unset [DEBUG] Feature flag 'manifests' unset [DEBUG] Feature flag 'compilertracking' unset [DEBUG] Feature flag 'registries' unset [DEBUG] Feature flag 'versions' unset [DEBUG] Failed to open: C:\src\vcpkg\vcpkg-bundle.json [DEBUG] Using scripts-root: C:\src\vcpkg\scripts [DEBUG] Bundle config: readonly=0, usegitregistry=0, embeddedsha=nullopt [DEBUG] Using builtin-ports: C:\src\vcpkg\ports [DEBUG] Using installed-root: C:\src\vcpkg\installed [DEBUG] Using buildtrees-root: C:\src\vcpkg\buildtrees [DEBUG] Using packages-root: C:\src\vcpkg\packages [DEBUG] Using vcpkg-root: C:\src\vcpkg [DEBUG] Using scripts-root: C:\src\vcpkg\scripts [DEBUG] Using builtin-registry: C:\src\vcpkg\versions [DEBUG] Using downloads-root: C:\src\vcpkg\downloads [DEBUG] Default binary cache path is: C:\Users\admin\AppData\Local\vcpkg\archives Computing installation plan... [DEBUG] Found path: C:\Program Files\CMake\bin\cmake.exe [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" --version) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after    87359 us [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\buildtrees\0.vcpkg_dep_info.cmake") [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after    74406 us [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\buildtrees\0.vcpkg_tags.cmake") [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after    73213 us The following packages will be built and installed:     v8[core]:x86-windows -> 9.1.269.39#4 [DEBUG] CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -products * -format xml) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after    32724 us Detecting compiler hash for triplet x86-windows... [DEBUG] Found path: C:\Program Files\Git\cmd\git.exe [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" --version) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after    44221 us [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\powershell-core-7.2.5-windows\pwsh.exe" --version) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after   150091 us [DEBUG] command line: cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary/Build\vcvarsall.bat" -vcvars_ver=14.32.31326 amd64_x86   2>&1 <NUL  & echo cdARN4xjKueKScMy9C6H & set [DEBUG] CreateProcessW(cmd /c "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary/Build\vcvarsall.bat" -vcvars_ver=14.32.31326 amd64_x86   2>&1 <NUL  & echo cdARN4xjKueKScMy9C6H & set) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after   953063 us [DEBUG] ** Visual Studio 2022 Developer Command Prompt v17.2.6 Copyright (c) 2022 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64_x86' cdARN4xjKueKScMy9C6H ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\admin\AppData\Roaming CommandPromptType=Cross CommonProgramFiles=C:\Program Files (x86)\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-NILC0E1 ComSpec=C:\WINDOWS\system32\cmd.exe DevEnvDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\ ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs Framework40Version=v4.0 FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework64\ FrameworkDIR32=C:\WINDOWS\Microsoft.NET\Framework\ FrameworkDIR64=C:\WINDOWS\Microsoft.NET\Framework64 FrameworkVersion=v4.0.30319 FrameworkVersion32=v4.0.30319 FrameworkVersion64=v4.0.30319 FSHARPINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools HOMEDRIVE=C: HOMEPATH=\Users\admin HTMLHelpDir=C:\Program Files (x86)\HTML Help Workshop IFCPATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ifc\x86 INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt is_x64_arch=true LIB=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ATLMFC\lib\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x86;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86;C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86 LIBPATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ATLMFC\lib\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\lib\x86\store\references;C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 LOCALAPPDATA=C:\Users\admin\AppData\Local LOGONSERVER=\DESKTOP-NILC0E1 NETFXSDKDir=C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\ NUMBER_OF_PROCESSORS=20 OS=Windows_NT PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PL;.WPL;.PY;.PYW;.CPL Platform=x86 PreferredToolArchitecture=x64 PROCESSOR_ARCHITECTURE=x86 PROCESSOR_ARCHITEW6432=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=a505 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files (x86) ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Users\admin\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\admin\AppData\Local\Temp TMP=C:\Users\admin\AppData\Local\Temp UCRTVersion=10.0.19041.0 UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\ USERDOMAIN=DESKTOP-NILC0E1 USERDOMAIN_ROAMINGPROFILE=DESKTOP-NILC0E1 USERNAME=admin USERPROFILE=C:\Users\admin VCIDEInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\ VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\ VCToolsInstallDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\ VCToolsRedistDir=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Redist\MSVC\14.32.31326\ VCToolsVersion=14.32.31326 VisualStudioVersion=17.0 VS170COMNTOOLS=C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\ VSCMD_ARG_app_plat=Desktop VSCMD_ARG_HOST_ARCH=x64 VSCMD_ARG_TGT_ARCH=x86 VSCMD_ARG_VCVARS_VER=14.32.31326 VSCMD_VER=17.2.6 VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Professional\ VSSDK150INSTALL=C:\Program Files\Microsoft Visual Studio\2022\Professional\VSSDK VSSDKINSTALL=C:\Program Files\Microsoft Visual Studio\2022\Professional\VSSDK windir=C:\WINDOWS CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3 CUDA_PATH_V10_2=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2 NVCUDASAMPLES_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.3 NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\ PATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x86;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\bin\Roslyn;C:\Program Files\Microsoft Visual Studio\2022\Professional\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\FSharp\Tools;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64;C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\Tools\;C:\src\vcpkg\downloads\tools\powershell-core-7.2.5-windows;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\Llvm\x64\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VC\Linux\bin\ConnectionManagerExe VSLANG=1033 VSCMD_SKIP_SENDTELEMETRY=1 VCPKG_COMMAND=C:/src/vcpkg/vcpkg.exe WindowsLibPath=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.19041.0 WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin\ WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\ WindowsSDKLibVersion=10.0.19041.0\ WindowsSdkVerBinPath=C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\ WindowsSDKVersion=10.0.19041.0\ WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\ WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\ X_VCPKG_RECURSIVE_DATA={}

DOTNET_ADD_32BIT=1 DOTNET_ADD_64BIT=1 DOTNET_PREFERRED_BITNESS=64 VSCMD_PREINIT_PATH=C:\src\vcpkg\downloads\tools\powershell-core-7.2.5-windows;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0\

[DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DCURRENT_PORT_DIR=C:/src/vcpkg/scripts/detect_compiler -DCURRENT_BUILDTREES_DIR=C:/src/vcpkg/buildtrees/detect_compiler -DCURRENT_PACKAGES_DIR=C:/src/vcpkg/packages/detect_compiler_x86-windows -D_HOST_TRIPLET=x86-windows -DCMD=BUILD -DDOWNLOADS=C:/src/vcpkg/downloads -DTARGET_TRIPLET=x86-windows -DTARGET_TRIPLET_FILE=C:/src/vcpkg/triplets/x86-windows.cmake -DVCPKG_BASE_VERSION=2022-07-21 -DVCPKG_CONCURRENCY=21 -DVCPKG_PLATFORM_TOOLSET=v143 "-DGIT=C:/Program Files/Git/cmd/git.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\scripts\ports.cmake") [DEBUG] -- Configuring x86-windows [DEBUG] [1/1] "C:/src/vcpkg/downloads/tools/cmake-3.24.0-windows/cmake-3.24.0-windows-i386/bin/cmake.exe" -E chdir ".." "C:/src/vcpkg/downloads/tools/cmake-3.24.0-windows/cmake-3.24.0-windows-i386/bin/cmake.exe" "C:/src/vcpkg/scripts/detect_compiler" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/src/vcpkg/packages/detect_compiler_x86-windows" "-DCMAKE_MAKE_PROGRAM=C:/src/vcpkg/downloads/tools/ninja/1.10.2-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/src/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/src/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/src/vcpkg" "-DZ_VCPKG_ROOT_DIR=C:/src/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" [DEBUG] -- The C compiler identification is MSVC 19.32.31332.0 [DEBUG] -- The CXX compiler identification is MSVC 19.32.31332.0 [DEBUG] #COMPILER_HASH#249e2da0fced5777e3f907c3dc10380ddd2c9c98 [DEBUG] #COMPILER_C_HASH#8bce824694d2a54e71062bea7bdc6067eda6bf5b [DEBUG] #COMPILER_C_VERSION#19.32.31332.0 [DEBUG] #COMPILER_C_ID#MSVC [DEBUG] #COMPILER_CXX_HASH#8bce824694d2a54e71062bea7bdc6067eda6bf5b [DEBUG] #COMPILER_CXX_VERSION#19.32.31332.0 [DEBUG] #COMPILER_CXX_ID#MSVC [DEBUG] -- Configuring done [DEBUG] -- Generating done [DEBUG] CMake Warning: [DEBUG]   Manually-specified variables were not used by the project: [DEBUG] [DEBUG]     BUILD_SHARED_LIBS [DEBUG]     CMAKE_INSTALL_BINDIR [DEBUG]     CMAKE_INSTALL_LIBDIR [DEBUG]     _VCPKG_ROOT_DIR [DEBUG] [DEBUG] [DEBUG] -- Build files have been written to: C:/src/vcpkg/buildtrees/detect_compiler/x86-windows-rel [DEBUG] [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after  1628648 us [DEBUG] [DEBUG] Detected compiler hash for triplet x86-windows: 249e2da0fced5777e3f907c3dc10380ddd2c9c98 [DEBUG] <abientries for v8:x86-windows> [DEBUG]   V8Config-shared.cmake|fde46ea8c69174ed9d18f2fcfb2774e04c5526b8aab6dce163443d90102aad09 [DEBUG]   V8Config-static.cmake|d5861be5091da90b3db1747347d951855276e78e758680b5b058a7e63f2dcf65 [DEBUG]   build.patch|5d4944f4e0fddb703e754ed919f906abdd768f7366a86f8366fe675db46dfa76 [DEBUG]   cmake|3.24.0 [DEBUG]   execute_process|66a937b9c074422643135c319d1abadaa45484a664f1b160d4c163efb444a446 [DEBUG]   features|core [DEBUG]   icu|0518e8c3cce839f64a3643b5d322722a4be9de4ef3062f72d5b552e26efa9743 [DEBUG]   icu.gn|367391fbf637b9584376d73b6489f75897d5715fb3d0f7f3e6a84b1509acf8b4 [DEBUG]   portfile.cmake|4fbb35917cabd367bd8380f5929f67084fbcf5d4425872e41b0cc9ed2b074df7 [DEBUG]   ports.cmake|b4accc7941cb5ff993e1a0434cea6df3e99331137294958437b2b86b7216e2e2 [DEBUG]   post_build_checks|2 [DEBUG]   powershell|7.2.5 [DEBUG]   triplet|x86-windows [DEBUG]   triplet_abi|a639e3fe6c7296bf46f46365355143643b180e8e997ae3fdfc1d772743c37994-c0600b35e024ce0485ed253ef5419f3686f7257cfb58cb6a24febcb600fc4b4c-249e2da0fced5777e3f907c3dc10380ddd2c9c98 [DEBUG]   v8.patch|ae84358334daf39804bd3bef073025650073596511b35dbfdcd52f98f8e01b24 [DEBUG]   v8.pc.in|69c2859b8276815ac5d0a65fffc468b0ab371397c2dc903cb368553ff7a44902 [DEBUG]   v8_libbase.pc.in|5c9c8f0b71759aab837e363a79cb68bbd622d7e7ee043962109a1399ccd9bd84 [DEBUG]   v8_libplatform.pc.in|4b900dc88d18a5e9264d7a9290b935940eebe260f9c610ca3ac07f8e3ee6eaff [DEBUG]   v8_monolith.pc.in|aa29736e0524ee5b9f92410af3e34ec4a88b68ef98a69a2353273e2ec55345d9 [DEBUG]   vcpkg-tool-python2|98177838a2dcdd61c0050919a3ad1f025b88b9e694b4027ba65cc668604dc8c3 [DEBUG]   vcpkg.json|04639c8faae1ccf54303726422a10de6ceb1426963110a12cf1337bf12d1a3be [DEBUG]   vcpkg_acquire_msys|429c3b3f6895823aec943de762c1bbbb172a78fcaf13793f4324f3d45013cd44 [DEBUG]   vcpkg_add_to_path|5f5ae75cf37b2a58d1a8561ca96496b64cd91ec9a0afab0b976c3e5d59030bfe [DEBUG]   vcpkg_configure_gn|cedbc9c6e10866dbee2124c84faa496a2a65e92268fd55f3c4d36672e557dab1 [DEBUG]   vcpkg_copy_pdbs|d57e4f196c82dc562a9968c6155073094513c31e2de475694143d3aa47954b1c [DEBUG]   vcpkg_execute_required_process|975eab651b1f156e5550defb3abad898ff8159b57a0e0562d3ac3c959043476d [DEBUG]   vcpkg_find_acquire_program|9997661c5e9e76bce8329ca59cb710e66327b79f9ab9b2416ac3a3d42692276f [DEBUG]   vcpkg_fixup_pkgconfig|433d0d235b4e9f6c7bb8744a2f06a9f534b355da67d0d85b7c2daf15c8c77671 [DEBUG]   vcpkg_from_git|0aab20e34e84d52ba4763f009e539bfa8f418c41c918c8cf700156f1a8551a10 [DEBUG]   vcpkg_install_gn|39d2588aba1c63b778b0ace5f1f46fe56473ce69364462a7e185106271c09489 [DEBUG]   zlib|75f77a0c5de96a1ee4a56896870d1a3d00da1dd078ec67cdfae39b10e057d7b9 [DEBUG]   zlib.gn|21e332e086f719314d8381f08b336edf9e3d312df9660eefad41c3c79e509926 [DEBUG] </abientries> Restored 0 package(s) from C:\Users\admin\AppData\Local\vcpkg\archives in 188.1 us. Use --debug to see more details. Installing 1/1 v8:x86-windows... Building v8[core]:x86-windows... [DEBUG] CreateProcessW("C:\src\vcpkg\downloads\tools\cmake-3.24.0-windows\cmake-3.24.0-windows-i386\bin\cmake.exe" -DALL_FEATURES= -DCURRENT_PORT_DIR=C:/src/vcpkg/ports/v8 -D_HOST_TRIPLET=x64-windows -DFEATURES=core -DPORT=v8 -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=C:/src/vcpkg/scripts/toolchains/windows.cmake -DCMD=BUILD -DDOWNLOADS=C:/src/vcpkg/downloads -DTARGET_TRIPLET=x86-windows -DTARGET_TRIPLET_FILE=C:/src/vcpkg/triplets/x86-windows.cmake -DVCPKG_BASE_VERSION=2022-07-21 -DVCPKG_CONCURRENCY=21 -DVCPKG_PLATFORM_TOOLSET=v143 "-DGIT=C:/Program Files/Git/cmd/git.exe" -DVCPKG_ROOT_DIR=C:/src/vcpkg -DPACKAGES_DIR=C:/src/vcpkg/packages -DBUILDTREES_DIR=C:/src/vcpkg/buildtrees -D_VCPKG_INSTALLED_DIR=C:/src/vcpkg/installed -DDOWNLOADS=C:/src/vcpkg/downloads -DVCPKG_MANIFEST_INSTALL=OFF -P "C:\src\vcpkg\scripts\ports.cmake") Consider adding vcpkg-tool-gn as a host dependency of this port or create an issue at https://github.com/microsoft/vcpkg/issues -- Using cached msys-gzip-1.11-1-x86_64.pkg.tar.zst. -- Using cached msys-bash-5.1.008-1-x86_64.pkg.tar.zst. -- Using cached msys-diffutils-3.8-2-x86_64.pkg.tar.zst. -- Using cached msys-coreutils-8.32-2-x86_64.pkg.tar.zst. -- Using cached msys-grep-3.0-2-x86_64.pkg.tar.xz. -- Using cached msys-sed-4.8-2-x86_64.pkg.tar.zst. -- Using cached msys-libpcre-8.45-1-x86_64.pkg.tar.zst. -- Using cached msys-gawk-5.1.0-2-x86_64.pkg.tar.zst. -- Using cached msys-mpfr-4.1.0-1-x86_64.pkg.tar.zst. -- Using cached msys-gmp-6.2.1-1-x86_64.pkg.tar.zst. -- Using cached msys-libreadline-8.1.001-1-x86_64.pkg.tar.zst. -- Using cached msys-ncurses-6.2-2-x86_64.pkg.tar.zst. -- Using cached msys-pkg-config-0.29.2-4-x86_64.pkg.tar.zst. -- Using cached msys-make-4.3-3-x86_64.pkg.tar.zst. -- Using cached msys-libintl-0.21-1-x86_64.pkg.tar.zst. -- Using cached msys-libiconv-1.16-2-x86_64.pkg.tar.zst. -- Using cached msys-gcc-libs-11.2.0-3-x86_64.pkg.tar.zst. -- Using cached msys-msys2-runtime-3.2.0-8-x86_64.pkg.tar.zst. -- Using msys root at C:/src/vcpkg/downloads/tools/msys2/79d5b6b790550399 -- Using cached C:/src/vcpkg/downloads/v8-7d3d62c91f69a702e5aa54c6b4dbbaa883683717.tar.gz -- Cleaning sources at C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/src/vcpkg/downloads/v8-7d3d62c91f69a702e5aa54c6b4dbbaa883683717.tar.gz -- Applying patch C:/src/vcpkg/ports/v8/v8.patch -- Using source at C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean -- Fetching submodules -- Generating v8 build files. Please wait... -- Generating build (x86-windows-dbg)... CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:96 (message):     Command failed: C:/src/vcpkg/downloads/tools/gn/q5ExVHmXyD34Q_Tzb-aRxsPipO-e37-csVRhVM7IJh0C/gn.exe gen C:/src/vcpkg/buildtrees/v8/x86-windows-dbg "--args=is_component_build=true target_cpu=\"x86\" v8_monolithic=false v8_use_external_startup_data=true use_sysroot=false is_clang=false use_custom_libcxx=false v8_enable_verify_heap=false icu_use_data_file=false is_debug=true enable_iterator_debugging=true pkg_config_libdir=\"/c/src/vcpkg/installed/x86-windows/debug/lib/pkgconfig\""     Working Directory: C:/src/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean     Error code: 1     See logs for more information:       C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-out.log       C:\src\vcpkg\buildtrees\v8\generate-x86-windows-dbg-err.log

Call Stack (most recent call first):   scripts/cmake/vcpkg_configure_gn.cmake:8 (vcpkg_execute_required_process)   scripts/cmake/vcpkg_configure_gn.cmake:35 (z_vcpkg_configure_gn_generate)   ports/v8/portfile.cmake:150 (vcpkg_configure_gn)   scripts/ports.cmake:147 (include)

[DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 1 after 78277921 us error: building v8:x86-windows failed with: BUILD_FAILED [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\src\vcpkg.git" "--work-tree=C:\src\vcpkg.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after    44256 us [DEBUG] CreateProcessW("C:\Program Files\Git\cmd\git.exe" "--git-dir=C:\src\vcpkg.git" "--work-tree=C:\src\vcpkg.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD) [DEBUG] ReadFile() finished with GetLastError(): 109 [DEBUG] 28152: cmd_execute_and_stream_data() returned 0 after   100026 us Please ensure you're using the latest port files with git pull and vcpkg update. Then check for known issues at:     https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+v8 You can submit a new issue at:     https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&amp;title=[v8]+Build+error Include '[v8] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.     vcpkg-tool version: 2022-07-21-a0e87e227afb536c62188c11ad029954f28fdb22     vcpkg-scripts version: f688b2e29 2022-08-29 (3 days ago)

You can also use the prefilled template from C:\src\vcpkg\installed\vcpkg\issue_body.md.

[DEBUG] D:\a_work\1\s\src\vcpkg\install.cpp(514): [DEBUG] Time in subprocesses: 81465928 us [DEBUG] Time in parsing JSON: 1172 us [DEBUG] Time in JSON reader: 636 us [DEBUG] Time in filesystem: 8882 us [DEBUG] Time in loading ports: 6722 us [DEBUG] Exiting after 1.36 min (81548892 us) PS C:\src\vcpkg>

------------------ 原始邮件 ------------------ 发件人: "Cheney @.>; 发送时间: 2022年9月2日(星期五) 下午5:35 收件人: @.>; 抄送: " @.>; @.>; 主题: Re: [microsoft/vcpkg] [V8] build failure (Issue #26606)

I want the log to be displayed on powershell and start with ./vcpkg install v8 --debug. Or you can send me the stdout-x86-windows.log in buildtrees\v8 after executing this command.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ZRR666 commented 2 years ago

generate-x86-windows-dbg-err.log patch-x86-windows-0-out.log stdout-x86-windows.log

runarundheim commented 2 years ago

I also have problem building the v8. The problem seems to be related to the msvcrt.lib.

From generate-x64-windows-dbg-err.log: Traceback (most recent call last): File "S:/vcpkg_v8/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean/build/toolchain/win/setup_toolchain.py", line 311, in main() File "S:/vcpkg_v8/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean/build/toolchain/win/setup_toolchain.py", line 268, in main vc_lib_path = FindFileInEnvList(env, 'LIB', ';', 'msvcrt.lib') File "S:/vcpkg_v8/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean/build/toolchain/win/setup_toolchain.py", line 210, in FindFileInEnvList file_name, env_name, '\n'.join(parts)) AssertionError: msvcrt.lib is not found in LIB: C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64 C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64

In the sdk there only exist the ntstc_msvcrt.lib. I didn't have the NETFXSDK, so I installed .NET Framework 4.6.1 SDK and targeting pack to get this directory. The msvcrt.lib did not exist there either.

msvcrt.lib exist a lot of places under the C:\Program Files\Microsoft Visual Studio\2022\Enterprise folder and C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise folder.

ZRR666 commented 2 years ago

Please check whether what I submitted is correct

------------------ 原始邮件 ------------------ 发件人: "microsoft/vcpkg" @.>; 发送时间: 2022年9月1日(星期四) 晚上6:29 @.>; 抄送: " @.**@.>; 主题: Re: [microsoft/vcpkg] [V8] build failure (Issue #26606)

Could you please send the new stdout-x86-windows.log file to me? After added --debug option, a lot of additional information will be displayed here.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

runarundheim commented 2 years ago

The v8 build seems to depend on the full Windows SDK version 10.0.19041, where the "Debugging Tools for Windows" also must be installed. I had to install it manually and not from the Microsoft Visual Studio installation. Then I got another issue in generate-x64-windows-dbg-err.log:

ERROR at //testing/gmock/BUILD.gn:11:1: Dependency not allowed. source_set("gmock") { ^-------------------- The item //testing/gmock:gmock can not depend on //third_party/googletest:gtest_config because it is not in //third_party/googletest:gtest_config's visibility list: [ //third_party/googletest:* ]

runarundheim commented 1 year ago

The CI job also seem to fail on build of v8 engine: https://dev.azure.com/vcpkg/public/_build/results?buildId=83401&view=logs&j=7922e5c4-0103-5f8f-ad17-45ce9bb98e80&t=66eef212-08d6-5e6c-a560-7d01149d0188

dg0yt commented 1 year ago

The CI job also seem to fail on build of v8 engine ...

v8 is marked as an expected CI error: https://github.com/microsoft/vcpkg/blob/92225e6ce480662b29319d8e917d253976407247/scripts/ci.baseline.txt#L1054-L1057 https://github.com/microsoft/vcpkg/blob/92225e6ce480662b29319d8e917d253976407247/scripts/ci.baseline.txt#L1134-L1138

Adela0814 commented 1 year ago

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