最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

cronet - Chromium build error with traffic_annotation_auditor - Stack Overflow

programmeradmin4浏览0评论

Hi When I build chromium with old version 102. I encountered these error message, it seems traffic_annotation_auditor does not exists. anyone got these errors?

File gs://chromium-tools-traffic_annotation/d6f4d194a53be2fa152ad77642e1bb90e2cebe86 for src/tools/traffic_annotation/bin/linux64/traffic_annotation_auditor does not exist.
Error: Command 'python3 src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --num_threads=4 --bucket chromium-tools-traffic_annotation -d src/tools/traffic_annotation/bin/linux64' returned non-zero exit status 1 in /home/kevin/chromium
0> File gs://chromium-tools-traffic_annotation/d6f4d194a53be2fa152ad77642e1bb90e2cebe86 for src/tools/traffic_annotation/bin/linux64/traffic_annotation_auditor does not exist, skipping.
File gs://chromium-tools-traffic_annotation/d6f4d194a53be2fa152ad77642e1bb90e2cebe86 for src/tools/traffic_annotation/bin/linux64/traffic_annotation_auditor does not exist.
Downloading 1 files took 2.457978 second(s)

Hi When I build chromium with old version 102. I encountered these error message, it seems traffic_annotation_auditor does not exists. anyone got these errors?

File gs://chromium-tools-traffic_annotation/d6f4d194a53be2fa152ad77642e1bb90e2cebe86 for src/tools/traffic_annotation/bin/linux64/traffic_annotation_auditor does not exist.
Error: Command 'python3 src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --num_threads=4 --bucket chromium-tools-traffic_annotation -d src/tools/traffic_annotation/bin/linux64' returned non-zero exit status 1 in /home/kevin/chromium
0> File gs://chromium-tools-traffic_annotation/d6f4d194a53be2fa152ad77642e1bb90e2cebe86 for src/tools/traffic_annotation/bin/linux64/traffic_annotation_auditor does not exist, skipping.
File gs://chromium-tools-traffic_annotation/d6f4d194a53be2fa152ad77642e1bb90e2cebe86 for src/tools/traffic_annotation/bin/linux64/traffic_annotation_auditor does not exist.
Downloading 1 files took 2.457978 second(s)

Share Improve this question edited Feb 17 at 15:47 3CxEZiVlQ 38.8k11 gold badges76 silver badges90 bronze badges asked Feb 17 at 8:47 k000xk000x 112 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Just faced this same issue while building Chrome 90 today. I circumvented the issue by commenting out this particular hook from the chromium/src/DEPS file. Just comment out this particular code (for Linux/Android) -

#     {
#     'name': 'tools_traffic_annotation_linux',
#     'pattern': '.',
#     'condition': 'host_os == "linux" and checkout_traffic_annotation_tools',
#     'action': [ 'python',
#                 'src/third_party/depot_tools/download_from_google_storage.py',
#                 '--no_resume',
#                 '--no_auth',
#                 '--num_threads=4',
#                 '--bucket', 'chromium-tools-traffic_annotation',
#                 '-d', 'src/tools/traffic_annotation/bin/linux64',
#     ],
#   },

Although it's a not a definitive fix for this issue, but building without this hook doesn't seem to produce any errors. Probably it doesn't affect the build system in any way. Probably someone with better knowledge of Chrome Build Internals can help. For now this works for me.

发布评论

评论列表(0)

  1. 暂无评论