It turns out for Ubuntu, you need to have Python2 as your default python 
installation, not Python3.

On Tuesday, May 4, 2021 at 9:51:41 PM UTC-4 Richard wrote:

> I"m getting the following error when building on Ubuntu 20.10:
>
> ERROR at //build/config/sysroot.gni:65:11: Script returned non-zero exit 
> code.
> exec_script("//build/dir_exists.py",
> ^----------
> Current dir: /current/dir/
> Command: python /home/dir/v8/v8/build/dir_exists.py 
> /home/dir/v8/v8/build/linux/debian_sid_amd64-sysroot
> Returned 127.
> See //build/toolchain/linux/BUILD.gn:6:1: whence it was imported.
> import("//build/config/sysroot.gni")
> ^----------------------------------
> See //BUILD.gn:1248:1: which caused the file to be included.
> action("postmortem-metadata") {
> ^------------------------------
>
> My gn settings are:
>
> is_component_build = false
> is_debug = false
> target_cpu = "x64"
> use_custom_libcxx = false
> v8_monolithic = true
> v8_use_external_startup_data = false
> is_clang = true
>
> The same settings are building OK with Windows and MacOS.
>
> Any ideas?
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/748a903c-36a0-41ba-b415-bda2b2c4f374n%40googlegroups.com.

Reply via email to