WebRTC 源码国内镜像 继续讨论:

[0:21:09] error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
[0:21:09] fatal: The remote end hung up unexpectedly
[0:21:09] fatal: early EOF
[0:21:09] fatal: index-pack failed
Traceback (most recent call last):
File “/mnt/hgfs/webrtc/depot_tools/gclient_scm.py”, line 1052, in _Clone
print_stdout=print_stdout, filter_fn=filter_fn)
File “/mnt/hgfs/webrtc/depot_tools/gclient_scm.py”, line 1391, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File “/mnt/hgfs/webrtc/depot_tools/gclient_utils.py”, line 614, in CheckCallAndFilter
rv, args, kwargs.get(‘cwd’, None), None, None)
CalledProcessError: Command ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party /mnt/hgfs/webrtc/webrtc/src/_gclient_third_party_cBey1o’ returned non-zero exit status 128 in /mnt/hgfs/webrtc/webrtc

Traceback (most recent call last):
File “/mnt/hgfs/webrtc/depot_tools/metrics.py”, line 267, in print_notice_and_exit
File “/mnt/hgfs/webrtc/depot_tools/gclient.py”, line 3182, in
File “/mnt/hgfs/webrtc/depot_tools/gclient.py”, line 3168, in main
return dispatcher.execute(OptionParser(), argv)
File “/mnt/hgfs/webrtc/depot_tools/subcommand.py”, line 252, in execute
return command(parser, args[1:])
File “/mnt/hgfs/webrtc/depot_tools/gclient.py”, line 2725, in CMDsync
ret = client.RunOnDeps(‘update’, args)
File “/mnt/hgfs/webrtc/depot_tools/gclient.py”, line 1763, in RunOnDeps
patch_refs=patch_refs, target_branches=target_branches)
File “/mnt/hgfs/webrtc/depot_tools/gclient_utils.py”, line 906, in flush
reraise(e[0], e[1], e[2])
File “/mnt/hgfs/webrtc/depot_tools/gclient_utils.py”, line 983, in run
self.item.run(*self.args, **self.kwargs)
File “/mnt/hgfs/webrtc/depot_tools/gclient.py”, line 933, in run
File “/mnt/hgfs/webrtc/depot_tools/gclient_scm.py”, line 132, in RunCommand
return getattr(self, command)(options, args, file_list)
File “/mnt/hgfs/webrtc/depot_tools/gclient_scm.py”, line 553, in update
self._Clone(revision, url, options)
File “/mnt/hgfs/webrtc/depot_tools/gclient_scm.py”, line 1060, in _Clone
if os.listdir(tmp_dir):
OSError: [Errno 2] No such file or directory: ‘/mnt/hgfs/webrtc/webrtc/src/_gclient_third_party_cBey1o’


遇到了同样的问题,target_os = [“mac”] ,请问有解决的方案没有

git 也要翻墙,我本来也是每次下载了1G就中断了,设置了代理之后就通过了

/data/webrtc/src# date; gclient sync; date
Mon Feb 21 17:10:26 CST 2022
Running depot tools as root is sad.
/data/webrtc/.gclient_entries missing, .gclient file in parent directory /data/webrtc might not be the file you want to use.
Syncing projects: 94% (281/298) src/third_party/nasm

src/third_party/mockito/src (ERROR)

[0:00:03] Started.
[0:00:03] Finished running: git config remote.origin.url

Error: Command ‘git rev-list -n 1 HEAD’ returned non-zero exit status 128 in /data/webrtc/src/third_party/mockito/src
fatal: ambiguous argument ‘HEAD’: unknown revision or path not in the working tree.
Use ‘–’ to separate paths from revisions, like this:
‘git […] – […]’

linux 系统 解决方法: export GIT_SSL_NO_VERIFY=1