C++音视频

代码改变世界

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

背景

接上一篇文章,这次是fetch --nohooks webrtc失败了

fetch --nohooks webrtc
curl: (7) Failed to connect to chrome-infra-packages.appspot.com port 443: Connection timed out
/home/****/webrtc/depot_tools/bootstrap_python3: line 32: bootstrap-2@3.8.10.chromium.23_bin/python3/bin/python3: No such file or directory
cat: /home/jinlun/webrtc/depot_tools/python3_bin_reldir.txt: No such file or directory
/home/****/webrtc/depot_tools/vpython3: line 52: /home/****/webrtc/depot_tools/.cipd_bin/vpython3: No such file or directory

看来还需要设置curl代理

设置临时代理

export http_proxy=http://192.168.40.169:21882
export https_proxy=http://192.168.40.169:21882

正常拉取代码

fetch --nohooks webrtc
Running: gclient root
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
Running: gclient config --spec 'solutions = [
  {
    "name": "src",
    "url": "https://webrtc.googlesource.com/src.git",
    "deps_file": "DEPS",
    "managed": False,
    "custom_deps": {},
  },
]
'
Running: gclient sync --nohooks --with_branch_heads

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://webrtc.googlesource.com/src.git /home/****/webrtc/_gclient_src_4e90wzdy' in '/home/****/webrtc'
Cloning into '/home/****/webrtc/_gclient_src_4e90wzdy'...
remote: Sending approximately 326.78 MiB ...
remote: Counting objects: 59, done
remote: Finding sources: 100% (59/59)
Receiving objects:  59% (237630/398439), 115.59 MiB | 1.13 MiB/s 
posted on 2022-03-10 21:59  shunxiang  阅读(2345)  评论(0编辑  收藏  举报