*Ubuntu 18.04.3 LTS*
*x64*

Hey everyone! 

So I am following this link <https://v8.dev/docs/build-gn> to build v8 
using the convenience workflow.
I set the path to the gm.py and my local repo looks like:

*/*
*depot_tools/**/***
*v8/**/***

I am not sure how to connect the file the subprocess.py is trying to 
include. Here is the stack trace when I run the command "*gm x64.release*" 
in the *v8/* directory:

# gn gen out/x64.release
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned 
non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "value")
                ^----------
Current dir: /home/dev/Documents/v8/depot_tools/v8/out/x64.release/
Command: python /home/dev/Documents/v8/depot_tools/v8/build/config/linux/pkg
-config.py -s /home/dev/Documents/v8/depot_tools/v8/build/linux/
debian_sid_amd64-sysroot -a x64 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
Returned 1.
stderr:


Traceback (most recent call last):
  File 
"/home/dev/Documents/v8/depot_tools/v8/build/config/linux/pkg-config.py", 
line 248, in <module>
    sys.exit(main())
  File 
"/home/dev/Documents/v8/depot_tools/v8/build/config/linux/pkg-config.py", 
line 143, in main
    prefix = GetPkgConfigPrefixToStrip(options, args)
  File 
"/home/dev/Documents/v8/depot_tools/v8/build/config/linux/pkg-config.py", 
line 82, in GetPkgConfigPrefixToStrip
    "--variable=prefix"] + args, env=os.environ)
  File "/usr/lib/python2.7/subprocess.py", line 216, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


See //build/config/linux/BUILD.gn:89:3: whence it was called.
  pkg_config("glib") {
  ^-------------------
See //build/config/compiler/BUILD.gn:244:18: which caused the file to be 
included.
    configs += [ "//build/config/linux:compiler" ]



-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/9d921a28-8fe3-40ff-a07b-fcd128b73c9c%40googlegroups.com.

Reply via email to