자동 닌자 오류

자동 닌자 오류

Chromium을 빌드하고 웹사이트에 표시된 단계를 따르려고 하는데 다음 명령을 실행할 때:

$ autoninja -C out/Default chrome
$ autoninja -C out/Default chrome/test:unit_tests

이 오류가 발생하여 이 오류를 제거하기 위해 가능한 모든 방법을 시도했지만 성공하지 못했습니다.

이 오류를 해결하는 데 도움이 필요합니까?

ninja: Entering directory `out/Default'
[265/43203] ACTION //third_party/blink/renderer/platform:color_data(//build/toolchain/linux:clang_x64)

FAILED: gen/third_party/blink/renderer/platform/color_data.cc  python
../../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/gperf.py gperf --key-positions=\* -D -s 2
../../third_party/blink/renderer/platform/color_data.gperf
--output-file=gen/third_party/blink/renderer/platform/color_data.cc

Traceback (most recent call last):

File "../../third_party/blink/renderer/build/scripts/gperf.py", line
89, in <module>
    main()    File "../../third_party/blink/renderer/build/scripts/gperf.py", line 86, in
main
    generate_gperf(gperf_path, open(infile).read(), gperf_args))    File "../../third_party/blink/renderer/build/scripts/gperf.py", line
46, in generate_gperf
    127, cmd, output='Command not found.')

subprocess.CalledProcessError: Command '['gperf', '--key-positions=*',
'-D', '-s', '2']' returned non-zero exit status 127 
[272/43203] 

CXX obj/mojo/core/impl_for_embedder/core.o 

ninja: build stopped:

 subcommand failed.

관련 정보