You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Chromium 102版本编译报错:traffic_annotation_auditor不存在

编译Chromium 102报错:traffic_annotation_auditor不存在的解决办法

报错详情

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)

解决方法

  • 跳过流量注解验证
    旧版本的traffic_annotation_auditor可能已从官方存储桶移除,编译前设置环境变量跳过该检查:

    export SKIP_TRAFFIC_ANNOTATION_VALIDATION=1
    

    或者在生成编译配置时,在gn args中添加参数:

    enable_traffic_annotation = false
    
  • 手动放置工具二进制文件
    从Chromium旧版本可信镜像渠道获取对应Linux 64位的traffic_annotation_auditor文件,将其放到src/tools/traffic_annotation/bin/linux64/目录下,赋予可执行权限:

    chmod +x src/tools/traffic_annotation/bin/linux64/traffic_annotation_auditor
    
  • 重新同步依赖
    更新depot_tools并重新同步项目依赖:

    cd src/third_party/depot_tools
    git pull
    cd ../../
    gclient sync --with_branch_heads
    

内容的提问来源于stack exchange,提问作者k000x

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.14 10:25:00