I am getting the following error while setting up Chromium in with BOARD=veyron_minnie if it matters.
gn gen out_$SDK_BOARD/Release --args="$GN_ARGS"
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/abhishekbh/projects/chromium/src/out_veyron_minnie/Release/
Command: python -- /home/abhishekbh/projects/chromium/src/build/config/linux/pkg-config.py -s /home/abhishekbh/projects/chromium/.cros_cache/chrome-sdk/tarballs/veyron_minnie+10171.0.0+sysroot_chromeos-base_chromeos-chrome.tar.xz -a arm --system_libdir lib nss -v -lssl3
Returned 1.
stderr:
Traceback (most recent call last):
File "/home/abhishekbh/projects/chromium/src/build/config/linux/pkg-config.py", line 232, in <module>
sys.exit(main())
File "/home/abhishekbh/projects/chromium/src/build/config/linux/pkg-config.py", line 139, in main
prefix = GetPkgConfigPrefixToStrip(options, args)
File "/home/abhishekbh/projects/chromium/src/build/config/linux/pkg-config.py", line 80, in GetPkgConfigPrefixToStrip
"--variable=prefix"] + args, env=os.environ)
File "/usr/lib/python2.7/subprocess.py", line 212, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
See //third_party/nss/BUILD.gn:15:3: whence it was called.
pkg_config("system_nss_no_ssl_config") {
^---------------------------------------
See //crypto/BUILD.gn:221:25: which caused the file to be included.
public_configs += [ "//third_party/nss:system_nss_no_ssl_config" ]