Error in gperf python script when building Chrome

754 views
Skip to first unread message

Simon Que

unread,
Nov 29, 2016, 6:37:53 PM11/29/16
to Chromium-dev
I'm building Chrome for CrOS using ninja after reimaging my system. I had to set up a few authentication bits and I might be missing a few more.

I'm running into this error that I've never seen before (pasted below).

I suspect there is something wrong with the paths. But if I entered the Release dir and ran with "ninja -C .", I get the same error, eve though all of the files in that python command exist, including the output file, ColorData.cpp.

Simon

===================================================
[78/29076] ACTION //third_party/WebKit/Source/platform:color_data(//build/toolchain/cros:target)
FAILED: gen/blink/platform/ColorData.cpp 
python ../../third_party/WebKit/Source/build/scripts/gperf.py gperf --key-positions=\* -D -s 2 ../../third_party/WebKit/Source/platform/ColorData.gperf --output-file=gen/blink/platform/ColorData.cpp
Traceback (most recent call last):
  File "../../third_party/WebKit/Source/build/scripts/gperf.py", line 26, in <module>
    main()
  File "../../third_party/WebKit/Source/build/scripts/gperf.py", line 23, in main
    subprocess.check_call(unknownargs)
  File "/usr/lib/python2.7/subprocess.py", line 535, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


Scott Graham

unread,
Nov 29, 2016, 6:40:17 PM11/29/16
to Simon Que, Chromium-dev
You probably didn't run build/install_build_deps.sh?

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Scott Graham

unread,
Nov 29, 2016, 6:40:46 PM11/29/16
to Simon Que, Chromium-dev
Er, build/install-build-deps.sh.
Reply all
Reply to author
Forward
0 new messages