Hi,
I had compled the setup uptil the command
autoninja -C out/Default chrome which is continuously failing
The detailed error message is as below
[5814/47939] ACTION //third_party/blin...rds(//build/toolchain/linux:clang_x64)
FAILED: gen/third_party/blink/renderer/core/css_value_keywords.cc gen/third_party/blink/renderer/core/css_value_keywords.h
python3 ../../third_party/blink/renderer/build/scripts/run_with_pythonpath.py -I ../../third_party/blink/renderer/build/scripts -I ../../third_party -I ../../tools ../../third_party/blink/renderer/build/scripts/core/css/make_css_value_keywords.py ../../third_party/blink/renderer/core/css/css_value_keywords.json5 --output_dir gen/third_party/blink/renderer/core --gperf gperf
Traceback (most recent call last):
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/gperf.py", line 26, in generate_gperf
gperf = subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gperf'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "../../third_party/blink/renderer/build/scripts/core/css/make_css_value_keywords.py", line 84, in <module>
json5_generator.Maker(CSSValueKeywordsWriter).main()
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 339, in main
writer.write_files(args.output_dir)
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 304, in write_files
self._write_file_if_changed(output_dir, generator(), file_name)
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/gperf.py", line 72, in generator_internal
return generate_gperf(gperf_path, gperf_input, gperf_args)
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/gperf.py", line 53, in generate_gperf
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['gperf', '--key-positions=*', '-P', '-n', '-m', '50', '-D', '-Q', 'CSSValueStringPool']' returned non-zero exit status 127.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in <module>
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File "/usr/lib/python3/dist-packages/requests_unixsocket/__init__.py", line 1, in <module>
import requests
File "/usr/lib/python3/dist-packages/requests/__init__.py", line 43, in <module>
import urllib3
File "/usr/lib/python3/dist-packages/urllib3/__init__.py", line 7, in <module>
from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 39, in <module>
from .response import HTTPResponse
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 155, in <module>
class HTTPResponse(io.IOBase):
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 377, in HTTPResponse
DECODER_ERROR_CLASSES += (brotli.error,)
AttributeError: module 'brotli' has no attribute 'error'
Original exception was:
Traceback (most recent call last):
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/gperf.py", line 26, in generate_gperf
gperf = subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gperf'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "../../third_party/blink/renderer/build/scripts/core/css/make_css_value_keywords.py", line 84, in <module>
json5_generator.Maker(CSSValueKeywordsWriter).main()
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 339, in main
writer.write_files(args.output_dir)
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/json5_generator.py", line 304, in write_files
self._write_file_if_changed(output_dir, generator(), file_name)
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/gperf.py", line 72, in generator_internal
return generate_gperf(gperf_path, gperf_input, gperf_args)
File "/home/mandeep/chromium/src/third_party/blink/renderer/build/scripts/gperf.py", line 53, in generate_gperf
raise subprocess.CalledProcessError(
subprocess.CalledProcessError: Command '['gperf', '--key-positions=*', '-P', '-n', '-m', '50', '-D', '-Q', 'CSSValueStringPool']' returned non-zero exit status 127.
[5823/47939] ACTION //chrome/app:gener...rit(//build/toolchain/linux:clang_x64)
ninja: build stopped: subcommand failed.
Any help would be appreciated on this issue.
Regards,
Mandeep Singh