Anansi_safe
2022-06-19 04:35
采纳率: 0%
浏览 26

chromium编译时出现的问题?

报错提示好像是时间戳的问题,该如何解决?

args.gn编译参数

img


报错

img

"C:\vun\depot_tools\ninja.exe" -C out/x64.debug chrome -j 10

ninja: Entering directory `out/x64.debug'

[6/47285] ACTION //base:build_date(//build/toolchain/win:win_clang_x64)

FAILED: gen/base/generated_build_date.h

C:/vun/depot_tools/bootstrap-2@3_8_10_chromium_23_bin/python3/bin/python3.exe ../../build/write_build_date_header.py gen/base/generated_build_date.h -2142000

Traceback (most recent call last):

File "../../build/write_build_date_header.py", line 37, in <module>

sys.exit(main())

File "../../build/write_build_date_header.py", line 19, in main

date = datetime.datetime.utcfromtimestamp(int(args.timestamp))

OSError: [Errno 22] Invalid argument

[15/47285] ACTION //chrome/browser/extensions/api:api_regi...enerator_registration(//build/toolchain/win:win_clang_x64)

ninja: build stopped: subcommand failed.

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题