According to the build log, this issue is caused by the recent change of
gyp.
https://code.google.com/p/gyp/source/browse/trunk/gyp?r=1667

build_mozc.py has internally called gyp as 'python /usr/bin/gyp'.
This was OK because /usr/bin/gyp was a python script.
However, gyp r1667 replaced /usr/bin/gyp with a bash script.
Then 'python /usr/bin/gyp' now results in a syntax error.

I guess you can simply get rid of 'sys.executable' from build_mozc.py
at the following line to solve this issue.
https://code.google.com/p/mozc/source/browse/trunk/src/build_mozc.py?r=124#610
- command_line = [sys.executable, gyp_command,
+ command_line = [gyp_command,

Hope this helps.

Reply via email to