Created
July 22, 2017 23:23
-
-
Save atiq-cs/83729726e76ea7d2d1429a09065c61ef to your computer and use it in GitHub Desktop.
V8 GN Build Generatiion failure on Debian 9.0 '4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ tools/dev/v8gen.py -vv x64.debug | |
| ################################################################################ | |
| /usr/bin/python -u tools/mb/mb.py gen -f infra/mb/mb_config.pyl -m developer_default -b x64.debug out.gn/x64.debug | |
| Writing """\ | |
| is_debug = true | |
| target_cpu = "x64" | |
| v8_enable_backtrace = true | |
| v8_enable_slow_dchecks = true | |
| v8_optimized_debug = false | |
| """ to /home/atiq/jv8_2017-07-22-GN/v8/out.gn/x64.debug/args.gn. | |
| /home/atiq/jv8_2017-07-22-GN/v8/buildtools/linux64/gn gen out.gn/x64.debug --check | |
| -> returned 1 | |
| 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/atiq/jv8_2017-07-22-GN/v8/out.gn/x64.debug/ | |
| Command: python -- /home/atiq/jv8_2017-07-22-GN/v8/build/config/linux/pkg-config.py -s /home/atiq/jv8_2017-07-22-GN/v8/build/linux/debian_jessie_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/atiq/jv8_2017-07-22-GN/v8/build/config/linux/pkg-config.py", line 219, in <module> | |
| sys.exit(main()) | |
| File "/home/atiq/jv8_2017-07-22-GN/v8/build/config/linux/pkg-config.py", line 138, in main | |
| prefix = GetPkgConfigPrefixToStrip(options, args) | |
| File "/home/atiq/jv8_2017-07-22-GN/v8/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 //build/config/linux/BUILD.gn:83:3: whence it was called. | |
| pkg_config("glib") { | |
| ^------------------- | |
| See //build/config/compiler/BUILD.gn:171:18: which caused the file to be included. | |
| configs += [ "//build/config/linux:compiler" ] | |
| ^------------------------------ | |
| GN gen failed: 1 | |
| Traceback (most recent call last): | |
| File "tools/dev/v8gen.py", line 304, in <module> | |
| sys.exit(gen.main()) | |
| File "tools/dev/v8gen.py", line 298, in main | |
| return self._options.func() | |
| File "tools/dev/v8gen.py", line 166, in cmd_gen | |
| gn_outdir, | |
| File "tools/dev/v8gen.py", line 208, in _call_cmd | |
| stderr=subprocess.STDOUT, | |
| File "/usr/lib/python2.7/subprocess.py", line 219, in check_output | |
| raise CalledProcessError(retcode, cmd, output=output) | |
| subprocess.CalledProcessError: Command '['/usr/bin/python', '-u', 'tools/mb/mb.py', 'gen', '-f', 'infra/mb/mb_config.pyl', '-m', 'developer_default', '-b', 'x64.debug', 'out.gn/x64.debug']' returned non-zero exit status 1 |
Hello,
I got the same problem building V8 using GN in an Ubuntu 16.04 Box. Does anyone find a solution ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing the same error on Ubuntu 16.04, while trying to setup a build for Android, using V8 tag v6.2.414.37. Does anyone know anymore about this problem?