# 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" ]