Status: Assigned
Owner:
machenb...@chromium.orgComponents: Infrastructure
Type: Bug
New issue 7905 by
reinstei...@gmail.com: generating v8 build files fails on mac os
https://bugs.chromium.org/p/v8/issues/detail?id=7905I followed the instructions from
https://github.com/v8/v8/wiki/Building-from-Sourcehere are my repro steps:
fetch v8
cd v8
gclient sync
tools/dev/v8gen.py x64.debug -vv
terminal Output:
################################################################################
/usr/local/opt/python@2/bin/python2.7 -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 /Users/michaelreinstein/wwwroot/v8/
out.gn/x64.debug/args.gn.
/Users/michaelreinstein/wwwroot/v8/buildtools/mac/gn gen
out.gn/x64.debug --check
-> returned 1
ERROR at dynamically parsed input that //build/config/mac/mac_sdk.gni:84:19 loaded :1:1: Invalid token.
machine_os_build="17F77"
^
I have no idea what this is.
See //build/toolchain/mac/BUILD.gn:14:1: whence it was imported.
import("//build/config/mac/mac_sdk.gni")
^--------------------------------------
See //BUILD.gn:646:1: which caused the file to be included.
action("js2c") {
^---------------
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/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command
'['/usr/local/opt/python@2/bin/python2.7', '-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
it seems that this line in build/config/mac/mac_sdk.gni is the one that fails:
_mac_sdk_result = exec_script(script_name, sdk_info_args, "scope")
any ideas?
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings