vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

[v8] Build error

Open HyHy100 opened this issue 4 years ago • 1 comments

Host Environment

  • OS: Windows
  • Compiler: MSVC

To Reproduce Steps to reproduce the behavior: ./vcpkg install v8 --triplet x64-windows

Failure logs

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
    Command failed: D:/git/vcpkg/downloads/tools/gn/qUkAhy9J0P7c5racy-9wB6AHNK_btS18im8S06_ehhwC/gn.exe gen D:/git/vcpkg/buildtrees/v8/x64-windows-dbg "--args=is_component_build=true target_cpu=\"x64\" 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=\"/d/git/vcpkg/installed/x64-windows/debug/lib/pkgconfig\""
    Working Directory: D:/git/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean
    Error code: 1
    See logs for more information:
      D:\git\vcpkg\buildtrees\v8\generate-x64-windows-dbg-out.log
      D:\git\vcpkg\buildtrees\v8\generate-x64-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_gn.cmake:39 (vcpkg_execute_required_process)
  scripts/cmake/vcpkg_configure_gn.cmake:66 (z_vcpkg_configure_gn_generate)
  ports/v8/portfile.cmake:150 (vcpkg_configure_gn)
  scripts/ports.cmake:145 (include)


error: building v8:x64-windows failed with: BUILD_FAILED

generate-x64-windows-dbg.out:

ERROR` at //build/toolchain/win/BUILD.gn:54:3: Script returned non-zero exit code.
  exec_script("../../vs_toolchain.py",
  ^----------
Current dir: D:/git/vcpkg/buildtrees/v8/x64-windows-dbg/
Command: D:/git/vcpkg/installed/x64-windows/manual-tools/vcpkg-tool-python2/python.exe D:/git/vcpkg/buildtrees/v8/src/a883683717-e774d37ef1.clean/build/vs_toolchain.py copy_dlls D:/git/vcpkg/buildtrees/v8/x64-windows-dbg Debug x64
Returned 1 and printed out:

Copying C:\Windows\System32\msvcp140.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\msvcp140.dll...
Copying C:\Windows\System32\vccorlib140.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\vccorlib140.dll...
Copying C:\Windows\System32\vcruntime140.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\vcruntime140.dll...
Copying C:\Windows\System32\vcruntime140_1.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\vcruntime140_1.dll...
Copying C:\Windows\System32\ucrtbase.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\ucrtbase.dll...
Copying C:\Windows\System32\msvcp140d.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\msvcp140d.dll...
Copying C:\Windows\System32\vccorlib140d.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\vccorlib140d.dll...
Copying C:\Windows\System32\vcruntime140d.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\vcruntime140d.dll...
Copying C:\Windows\System32\vcruntime140_1d.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\vcruntime140_1d.dll...
Copying C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\ucrt\ucrtbased.dll to D:/git/vcpkg/buildtrees/v8/x64-windows-dbg\ucrtbased.dll...

See //BUILD.gn:1195:1: which caused the file to be included.
action("postmortem-metadata") {

HyHy100 avatar Apr 03 '22 21:04 HyHy100

Duplicated to #22422

FrankXie05 avatar Apr 06 '22 02:04 FrankXie05