webrtc源码下载问题

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
yield
File “/mnt/hgfs/webrtc/depot_tools/gclient.py”, line 3182, in
sys.exit(main(sys.argv[1:]))
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_list)
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’
我在下载源码的时候遇到了这个问题,请问下有没有哪位大佬遇到过呢,能不能方便分享一下解决方案呢,小弟感激不尽…

6个回答
Bothoni 回复于 2021-08-05 05:23

遇到同样问题,请问您解决了没?

回复·0
killer 回复于 2021-12-08 07:28

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

回复·0
Vincent Xu630 回复于 2021-12-30 06:28

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

回复·0
shun.he 回复于 2022-02-21 09:50

同步带包mockito异常
/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 […] – […]’

回复·0
kenchen 回复于 2022-05-12 07:21

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

回复·1

加了这个,也是类似错误

苗xy 回复于 2022-06-29 03:43

遇到类似问题了,试了两次都差不多,正在寻求解决方案,https://webrtc.org.cn/mirror/里面说

//因为gclient sync获取源码之后,会向谷歌获取其它数据,如果因此报错,不想看到这个错误的话,可以设置代理之后再次sync

是不是我们说的这种啊问题呢

回复·0