bootstrap.py in src/tools/gn/boostrap fails with 'No such file or directory' error
Reported by
r...@arista.com,
Apr 6 2016
|
|||||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36
Steps to reproduce the problem:
1. Run ./bootstrap.py
2. Fails with error:
Traceback (most recent call last):
File "bootstrap.py", line 522, in <module>
sys.exit(main(sys.argv[1:]))
File "bootstrap.py", line 110, in main
return run_build(tempdir, options)
File "bootstrap.py", line 65, in run_build
build_gn_with_ninja_manually(tempdir, options)
File "bootstrap.py", line 149, in build_gn_with_ninja_manually
check_call(cmd)
File "bootstrap.py", line 38, in check_call
subprocess.check_call(cmd, cwd=GN_ROOT, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 535, in check_call
retcode = call(*popenargs, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
What is the expected behavior?
No error, create binary for GN and BUILD.gn for itself.
What went wrong?
(Traceback copy pasted above)
Did this work before? N/A
Chrome version: 47.0.2526.111 Channel: n/a
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0
,
Apr 7 2016
,
Apr 12 2016
Tagging gn for investigation.
,
Apr 12 2016
and CCing tfarina@
,
Apr 12 2016
I think bootstrap.py is really only supported on linux at the moment. I'm not sure how much additional work it would be to make it work on Mac.
,
Apr 12 2016
It used to work on Mac, but I haven't tried in a long time. I don't have access to my Mac at this moment, and it will take a couple of weeks before I can get to it again.
,
Apr 13 2017
This issue has been available for more than 365 days, and should be re-evaluated. Please re-triage this issue. The Hotlist-Recharge-Cold label is applied for tracking purposes, and should not be removed after re-triaging the issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 13 2017
At this point I wouldn't consider mac supported. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 Deleted