ubuntu 1804代码下载时候错误
mailonghua @ ubuntu in /project/video_streaming/webrtc/google/ShengWang/webrtc [19:07:27]
$ date; gclient sync; date
2021年 04月 19日 星期一 19:08:10 PDT
Your copy of depot_tools is configured to fetch from an obsolete URL:
https://webrtc.bj2.agoralab.co/webrtc-mirror/depot_tools.git
OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n
Syncing projects: 15% ( 6/40) src/tools
[0:01:03] Still working on:
[0:01:03] src/third_party
[0:01:13] Still working on:
[0:01:13] src/third_party
[0:01:23] Still working on:
[0:01:23] src/third_party
[0:01:33] Still working on:
[0:01:33] src/third_party
[0:01:43] Still working on:
[0:01:43] src/third_party
[0:01:53] Still working on:
[0:01:53] src/third_party
[0:02:03] Still working on:
[0:02:03] src/third_party
[0:02:13] Still working on:
[0:02:13] src/third_party
[0:02:23] Still working on:
[0:02:23] src/third_party
[0:02:33] Still working on:
[0:02:33] src/third_party
[0:02:43] Still working on:
[0:02:43] src/third_party
[0:02:53] Still working on:
[0:02:53] src/third_party
[0:03:03] Still working on:
[0:03:03] src/third_party
[0:03:13] Still working on:
[0:03:13] src/third_party
[0:03:23] Still working on:
[0:03:23] src/third_party
[0:03:33] Still working on:
[0:03:33] src/third_party
[0:03:43] Still working on:
[0:03:43] src/third_party
[0:03:53] Still working on:
[0:03:53] src/third_party
[0:04:03] Still working on:
[0:04:03] src/third_party
[0:04:13] Still working on:
[0:04:13] src/third_party
[0:04:23] Still working on:
[0:04:23] src/third_party
[0:04:33] Still working on:
[0:04:33] src/third_party
[0:04:43] Still working on:
[0:04:43] src/third_party
[0:04:53] Still working on:
[0:04:53] src/third_party
[0:05:03] Still working on:
[0:05:03] src/third_party
[0:05:13] Still working on:
[0:05:13] src/third_party
[0:05:23] Still working on:
[0:05:23] src/third_party
[0:05:33] Still working on:
[0:05:33] src/third_party
[0:05:43] Still working on:
[0:05:43] src/third_party
[0:05:53] Still working on:
[0:05:53] src/third_party
[0:06:03] Still working on:
[0:06:03] src/third_party
[0:06:13] Still working on:
[0:06:13] src/third_party
[0:06:23] Still working on:
[0:06:23] src/third_party
[0:06:33] Still working on:
[0:06:33] src/third_party
[0:06:43] Still working on:
[0:06:43] src/third_party
[0:06:53] Still working on:
[0:06:53] src/third_party
[0:07:03] Still working on:
[0:07:03] src/third_party
[0:07:13] Still working on:
[0:07:13] src/third_party
[0:07:23] Still working on:
[0:07:23] src/third_party
[0:07:33] Still working on:
[0:07:33] src/third_party
[0:07:43] Still working on:
[0:07:43] src/third_party
[0:07:53] Still working on:
[0:07:53] src/third_party
[0:08:03] Still working on:
[0:08:03] src/third_party
[0:08:13] Still working on:
[0:08:13] src/third_party
[0:08:23] Still working on:
[0:08:23] src/third_party
[0:08:33] Still working on:
[0:08:33] src/third_party
[0:08:43] Still working on:
[0:08:43] src/third_party
[0:08:53] Still working on:
[0:08:53] src/third_party
[0:09:03] Still working on:
[0:09:03] src/third_party
[0:09:13] Still working on:
[0:09:13] src/third_party
[0:09:23] Still working on:
[0:09:23] src/third_party
[0:09:33] Still working on:
[0:09:33] src/third_party
[0:09:43] Still working on:
[0:09:43] src/third_party
[0:09:53] Still working on:
[0:09:53] src/third_party
[0:10:03] Still working on:
[0:10:03] src/third_party
[0:10:13] Still working on:
[0:10:13] src/third_party
[0:10:23] Still working on:
[0:10:23] src/third_party
[0:10:33] Still working on:
[0:10:33] src/third_party
[0:10:43] Still working on:
[0:10:43] src/third_party
[0:10:53] Still working on:
[0:10:53] src/third_party
[0:11:03] Still working on:
[0:11:03] src/third_party
[0:11:13] Still working on:
[0:11:13] src/third_party
[0:11:23] Still working on:
[0:11:23] src/third_party
[0:11:33] Still working on:
[0:11:33] src/third_party
[0:11:43] Still working on:
[0:11:43] src/third_party
[0:11:53] Still working on:
[0:11:53] src/third_party
[0:12:03] Still working on:
[0:12:03] src/third_party
[0:12:13] Still working on:
[0:12:13] src/third_party
[0:12:23] Still working on:
[0:12:23] src/third_party
[0:12:33] Still working on:
[0:12:33] src/third_party
[0:12:43] Still working on:
[0:12:43] src/third_party
[0:12:53] Still working on:
[0:12:53] src/third_party
[0:13:03] Still working on:
[0:13:03] src/third_party
[0:13:13] Still working on:
[0:13:13] src/third_party
[0:13:23] Still working on:
[0:13:23] src/third_party
[0:13:33] Still working on:
[0:13:33] src/third_party
[0:13:43] Still working on:
[0:13:43] src/third_party
[0:13:53] Still working on:
[0:13:53] src/third_party
[0:14:03] Still working on:
[0:14:03] src/third_party
[0:14:13] Still working on:
[0:14:13] src/third_party
[0:14:23] Still working on:
[0:14:23] src/third_party
[0:14:33] Still working on:
[0:14:33] src/third_party
[0:14:43] Still working on:
[0:14:43] src/third_party
[0:14:53] Still working on:
[0:14:53] src/third_party
[0:15:03] Still working on:
[0:15:03] src/third_party
[0:15:13] Still working on:
[0:15:13] src/third_party
[0:15:23] Still working on:
[0:15:23] src/third_party
[0:15:33] Still working on:
[0:15:33] src/third_party
[0:15:43] Still working on:
[0:15:43] src/third_party
[0:15:53] Still working on:
[0:15:53] src/third_party
[0:16:03] Still working on:
[0:16:03] src/third_party
[0:16:13] Still working on:
[0:16:13] src/third_party
[0:16:23] Still working on:
[0:16:23] src/third_party
[0:16:33] Still working on:
[0:16:33] src/third_party
[0:16:43] Still working on:
[0:16:43] src/third_party
[0:16:53] Still working on:
[0:16:53] src/third_party
[0:17:03] Still working on:
[0:17:03] src/third_party
[0:17:13] Still working on:
[0:17:13] src/third_party
[0:17:23] Still working on:
[0:17:23] src/third_party
[0:17:33] Still working on:
[0:17:33] src/third_party
[0:17:43] Still working on:
[0:17:43] src/third_party
[0:17:53] Still working on:
[0:17:53] src/third_party
[0:18:03] Still working on:
[0:18:03] src/third_party
[0:18:13] Still working on:
[0:18:13] src/third_party
[0:18:23] Still working on:
[0:18:23] src/third_party
[0:18:33] Still working on:
[0:18:33] src/third_party
[0:18:43] Still working on:
[0:18:43] src/third_party
[0:18:53] Still working on:
[0:18:53] src/third_party
[0:19:03] Still working on:
[0:19:03] src/third_party
[0:19:13] Still working on:
[0:19:13] src/third_party
[0:19:23] Still working on:
[0:19:23] src/third_party
[0:19:33] Still working on:
[0:19:33] src/third_party
[0:19:43] Still working on:
[0:19:43] src/third_party
[0:19:53] Still working on:
[0:19:53] src/third_party
[0:20:03] Still working on:
[0:20:03] src/third_party
[0:20:13] Still working on:
[0:20:13] src/third_party
[0:20:23] Still working on:
[0:20:23] src/third_party
[0:20:33] Still working on:
[0:20:33] src/third_party
[0:20:43] Still working on:
[0:20:43] src/third_party
[0:20:53] Still working on:
[0:20:53] src/third_party
[0:21:03] Still working on:
[0:21:03] src/third_party
[0:21:13] Still working on:
[0:21:13] src/third_party
[0:21:23] Still working on:
[0:21:23] src/third_party
[0:21:33] Still working on:
[0:21:33] src/third_party
[0:21:43] Still working on:
[0:21:43] src/third_party
[0:21:53] Still working on:
[0:21:53] src/third_party
[0:22:03] Still working on:
[0:22:03] src/third_party
[0:22:13] Still working on:
[0:22:13] src/third_party
[0:22:23] Still working on:
[0:22:23] src/third_party
[0:22:33] Still working on:
[0:22:33] src/third_party
[0:22:43] Still working on:
[0:22:43] src/third_party
[0:22:53] Still working on:
[0:22:53] src/third_party
[0:23:03] Still working on:
[0:23:03] src/third_party
[0:23:13] Still working on:
[0:23:13] src/third_party
[0:23:23] Still working on:
[0:23:23] src/third_party
[0:23:33] Still working on:
[0:23:33] src/third_party
[0:23:43] Still working on:
[0:23:43] src/third_party
[0:23:53] Still working on:
[0:23:53] src/third_party
[0:24:03] Still working on:
[0:24:03] src/third_party
[0:24:13] Still working on:
[0:24:13] src/third_party
[0:24:23] Still working on:
[0:24:23] src/third_party
[0:24:33] Still working on:
[0:24:33] src/third_party
[0:24:43] Still working on:
[0:24:43] src/third_party
[0:24:53] Still working on:
[0:24:53] src/third_party
[0:25:03] Still working on:
[0:25:03] src/third_party
[0:25:13] Still working on:
[0:25:13] src/third_party
[0:25:23] Still working on:
[0:25:23] src/third_party
[0:25:33] Still working on:
[0:25:33] src/third_party
[0:25:43] Still working on:
[0:25:43] src/third_party
[0:25:53] Still working on:
[0:25:53] src/third_party
[0:26:03] Still working on:
[0:26:03] src/third_party
[0:26:13] Still working on:
[0:26:13] src/third_party
[0:26:23] Still working on:
[0:26:23] src/third_party
[0:26:33] Still working on:
[0:26:33] src/third_party
[0:26:43] Still working on:
[0:26:43] src/third_party
[0:26:53] Still working on:
[0:26:53] src/third_party
[0:27:03] Still working on:
[0:27:03] src/third_party
[0:27:13] Still working on:
[0:27:13] src/third_party
[0:27:23] Still working on:
[0:27:23] src/third_party
[0:27:33] Still working on:
[0:27:33] src/third_party
[0:27:43] Still working on:
[0:27:43] src/third_party
[0:27:53] Still working on:
[0:27:53] src/third_party
[0:28:03] Still working on:
[0:28:03] src/third_party
[0:28:13] Still working on:
[0:28:13] src/third_party
[0:28:23] Still working on:
[0:28:23] src/third_party
[0:28:33] Still working on:
[0:28:33] src/third_party
[0:28:43] Still working on:
[0:28:43] src/third_party
[0:28:53] Still working on:
[0:28:53] src/third_party
[0:29:03] Still working on:
[0:29:03] src/third_party
[0:31:23] Still working on:
[0:31:23] src/third_party
6>WARNING: subprocess ‘“git” “-c” “core.deltaBaseCacheLimit=2g” “clone” “–no-checkout” “–progress” “https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party” “/opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/_gclient_third_party_O2blMv”’ in /opt/project/video_streaming/webrtc/google/ShengWang/webrtc failed; will retry after a short nap…
[0:31:33] Still working on:
[0:31:33] src/third_party
[0:31:43] Still working on:
[0:31:43] src/third_party
[0:31:53] Still working on:
[0:31:53] src/third_party
[0:32:03] Still working on:
[0:32:03] src/third_party
[0:32:13] Still working on:
[0:32:13] src/third_party
[1:30:34] Still working on:
[1:30:34] src/third_party
[1:30:44] Still working on:
[1:30:44] src/third_party
[1:30:54] Still working on:
[1:30:54] src/third_party
[1:31:04] Still working on:
[1:31:04] src/third_party
6>WARNING: subprocess ‘“git” “-c” “core.deltaBaseCacheLimit=2g” “clone” “–no-checkout” “–progress” “https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party” “/opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/_gclient_third_party_O2blMv”’ in /opt/project/video_streaming/webrtc/google/ShengWang/webrtc failed; will retry after a short nap…
[1:31:14] Still working on:
[1:31:14] src/third_party
[1:31:24] Still working on:
[1:31:24] src/third_party
[1:31:34] Still working on:
[1:31:34] src/third_party
[1:31:44] Still working on:
[1:31:44] src/third_party
[1:31:55] Still working on:
[1:31:55] src/third_party
[1:32:05] Still working on:
[1:32:05] src/third_party
[1:32:15] Still working on:
[1:32:15] src/third_party
[1:32:25] Still working on:
[1:32:25] src/third_party
[1:32:35] Still working on:
[1:32:35] src/third_party
[1:32:45] Still working on:
[1:32:45] src/third_party
[1:32:55] Still working on:
[1:32:55] src/third_party
[1:33:05] Still working on:
[1:33:05] src/third_party
[1:33:15] Still working on:
[1:33:15] src/third_party
[1:33:25] Still working on:
[1:33:25] src/third_party
[1:33:35] Still working on:
[1:33:35] src/third_party
[1:33:45] Still working on:
[1:33:45] src/third_party
[1:33:55] Still working on:
[1:33:55] src/third_party
[1:34:05] Still working on:
[1:34:05] src/third_party
[1:34:15] Still working on:
[1:34:15] src/third_party
[1:34:25] Still working on:
[1:34:25] src/third_party
[1:34:35] Still working on:
[1:34:35] src/third_party
[1:34:45] Still working on:
[1:34:45] src/third_party
[1:34:55] Still working on:
[1:34:55] src/third_party
[1:35:05] Still working on:
[1:35:05] src/third_party
[1:35:15] Still working on:
[1:35:15] src/third_party
[1:35:25] Still working on:
[1:35:25] src/third_party
[1:35:35] Still working on:
[1:35:35] src/third_party
[1:35:45] Still working on:
[1:35:45] src/third_party
[1:35:55] Still working on:
[1:35:55] src/third_party
[1:36:05] Still working on:
[1:36:05] src/third_party
[1:36:15] Still working on:
[1:36:15] src/third_party
[1:36:25] Still working on:
[1:36:25] src/third_party
[1:36:35] Still working on:
[1:36:35] src/third_party
[1:36:45] Still working on:
[1:36:45] src/third_party
[1:36:55] Still working on:
[1:36:55] src/third_party
[1:37:05] Still working on:
[1:37:05] src/third_party
[1:37:15] Still working on:
[1:37:15] src/third_party
[1:37:25] Still working on:
[1:37:25] src/third_party
[1:37:35] Still working on:
[1:37:35] src/third_party
[1:37:45] Still working on:
[1:37:45] src/third_party
[1:37:55] Still working on:
[1:37:55] src/third_party
[1:38:05] Still working on:
[1:38:05] src/third_party
[1:38:15] Still working on:
[1:38:15] src/third_party
[1:38:25] Still working on:
[1:38:25] src/third_party
[1:38:35] Still working on:
[1:38:35] src/third_party
[1:38:45] Still working on:
[1:38:45] src/third_party
[1:38:55] Still working on:
[1:38:55] src/third_party
[1:39:05] Still working on:
[1:39:05] src/third_party
[1:39:15] Still working on:
[1:39:15] src/third_party
[1:39:25] Still working on:
[1:39:25] src/third_party
[1:39:35] Still working on:
[1:39:35] src/third_party
[1:39:45] Still working on:
[1:39:45] src/third_party
[1:39:55] Still working on:
[1:39:55] src/third_party
[1:40:05] Still working on:
[1:40:05] src/third_party
[1:40:15] Still working on:
[1:40:15] src/third_party
[1:40:25] Still working on:
[1:40:25] src/third_party
[1:40:35] Still working on:
[1:40:35] src/third_party
[1:41:05] Still working on:
[1:41:05] src/third_party
[1:41:15] Still working on:
[1:41:15] src/third_party
[1:41:25] Still working on:
[1:41:25] src/third_party
[1:46:15] Still working on:
[1:46:15] src/third_party
[1:46:25] Still working on:
[1:46:25] src/third_party
[1:46:35] Still working on:
[1:46:35] src/third_party
[1:46:45] Still working on:
[1:46:45] src/third_party
[1:46:55] Still working on:
[1:46:55] src/third_party
6>WARNING: subprocess ‘“git” “-c” “core.deltaBaseCacheLimit=2g” “clone” “–no-checkout” “–progress” “https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party” “/opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/_gclient_third_party_O2blMv”’ in /opt/project/video_streaming/webrtc/google/ShengWang/webrtc failed; will retry after a short nap…
[1:47:01] Still working on:
[1:47:01] src/third_party
Syncing projects: 17% ( 7/40) src/third_party
src/testing (ERROR)
[0:00:02] Started.
[0:00:02] Finished running: git config remote.origin.url
[0:00:02] Finished running: git rev-list -n 1 HEAD
[0:00:02] Finished running: git rev-parse --abbrev-ref=strict HEAD
[0:00:02] Finished running: git rev-parse 5a5fb44e80d7fa2a1bb7c86467d7217335e6bae8
Error: 5>
5> ____ src/testing at 5a5fb44e80d7fa2a1bb7c86467d7217335e6bae8
5> You have unstaged changes.
5> Please commit, stash, or reset.
Warnings:
Conflicting directory /opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/third_party moved to /opt/project/video_streaming/webrtc/google/ShengWang/webrtc/_bad_scm/src/third_party9CgnVZ.
2021年 04月 19日 星期一 20:55:37 PDT
搞定了,你们重新试试。
同步有遇到这个问题都吗,这是什么原因呢,配置完全是按文档来的,总是会停止下载
gclient config
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:fb963f0f43e265a6
Failed to download the file, check your network connection
所在位置 F:\apktool\213\node-webrtc-develop\build\external\depot_tools\src\cipd.ps1:116 字符: 10
Failed to bootstrap or update CIPD client
gclient sync
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:fb963f0f43e265a6
Failed to download the file, check your network connection
所在位置 F:\apktool\213\node-webrtc-develop\build\external\depot_tools\src\cipd.ps1:116 字符: 10
Failed to bootstrap or update CIPD client
src (ERROR)
下载CIPD失败,怎么回事。https://chrome-infra-packages.appspot.com 这个网址不能访问。怎么办。我的系统是win64
windows系统同步会报错,请问这个怎么解决啊?
Windows不能使用MING
ERROR: The installation of the Chrome OS default fonts failed.
This is expected if your repo is installed on a remote file system.
It is recommended to install your repo on a local file system.
You can skip the installation of the Chrome OS default founts with
the command line option: --no-chromeos-fonts.
这个错误除了不安装ChromeOS,还有其他解决办法吗?
谷歌禁止了cpid的更新,导致gclient config这一步失败了,怎么办?我用的树莓派编译的
为啥10.14.5还提示这个error
编译 iOS/macOS 的时候 如果 同步webrtc 过了 只需要 ```
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
cd $WORKSPACE/webrtc/src &&
gn gen out/Release “–args=is_debug=false”
cd $WORKSPACE/webrtc/src &&
ninja -C out/Release
我编译成功了,环境是vs2017, winsdk是10.0.18362.1,但是生成的很多exe运行都产生同样的一个错误,用vs2017 debug也没法跟踪,还没启动就崩溃。
比如运行peerconnection_client.exe,直接报应用程序无法正常启动(0xc0000142);
vs2017 debug模式下提示:
0x000007FEFF95D5A4 (rpcrt4.dll)处(位于 peerconnection_client.exe 中)引发的异常:
0xC0000005: 读取位置 0x0000000000000000 时发生访问冲突。
一直停在这里下载不了 怎么办Syncing projects: 27% (10/37) src/buildtools/third_party/libc++/trunk
webrtc 下载 结束 和 刚开始的时候有问题
zhongwen@ubuntu:~$ export WORKSPACE=
pwd
zhongwen@ubuntu:~$ cd $WORKSPACE
zhongwen@ubuntu:~$ rm -rf depot_tools && git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Cloning into ‘depot_tools’…
remote: Enumerating objects: 162, done.
remote: Counting objects: 100% (162/162), done.
remote: Compressing objects: 100% (126/126), done.
remote: Total 32099 (delta 42), reused 151 (delta 35)
Receiving objects: 100% (32099/32099), 32.60 MiB | 10.70 MiB/s, done.
Resolving deltas: 100% (21166/21166), done.
Checking connectivity… done.
zhongwen@ubuntu:~$
zhongwen@ubuntu:~$ cd $WORKSPACE/depot_tools && git checkout gitlab
Branch gitlab set up to track remote branch gitlab from origin.
Switched to a new branch ‘gitlab’
zhongwen@ubuntu:~/depot_tools$ chmod +x $WORKSPACE/depot_tools/cipd
zhongwen@ubuntu:~/depot_tools$
zhongwen@ubuntu:~/depot_tools$ export PATH=$PATH:$WORKSPACE/depot_tools
zhongwen@ubuntu:~/depot_tools$ cd…
cd…: command not found
zhongwen@ubuntu:~/depot_tools$ rm -rf $WORKSPACE/webrtc && mkdir $WORKSPACE/webrtc
zhongwen@ubuntu:~/depot_tools$ cd $WORKSPACE/webrtc && gclient config --name src https://chromium.googlesource.com/external/webrtc.git@gitlab
/home/zhongwen/depot_tools/update_depot_tools config --name src https://chromium.googlesource.com/external/webrtc.git@gitlab
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
zhongwen@ubuntu:~/webrtc$
zhongwen@ubuntu:~/webrtc$ export CDS_CLANG_BUCKET_OVERRIDE=http://120.92.49.206:3232/chromiumsrc/commondatastorage/raw/master/public/chromium-browser-clang
zhongwen@ubuntu:~/webrtc$
zhongwen@ubuntu:~/webrtc$ #cd ~/depot_tools; git fetch; git reset --hard origin/gitlab; chmod +x ~/depot_tools/cipd
zhongwen@ubuntu:~/webrtc$
zhongwen@ubuntu:~/webrtc$ cd $WORKSPACE/webrtc && gclient sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab
/home/zhongwen/depot_tools/update_depot_tools sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab
________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/webrtc.git /home/zhongwen/webrtc/_gclient_src_kE97fr’ in ‘/home/zhongwen/webrtc’
Cloning into ‘/home/zhongwen/webrtc/_gclient_src_kE97fr’…
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 317914 (delta 0), reused 0 (delta 0) MiB/s
Receiving objects: 100% (317914/317914), 256.51 MiB | 8.73 MiB/s, done.
Resolving deltas: 100% (235456/235456), done.
Checking connectivity… done.
/bin/sh: 1: curl: not found37) src/buildtools
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[0:02:18] Still working on:
[0:02:18] src/third_party
[0:02:18] src/tools
[0:02:28] Still working on:
[0:02:28] src/third_party
[0:02:28] src/tools
[0:02:38] Still working on:
[0:02:38] src/third_party
[0:02:38] src/tools
[0:02:48] Still working on:
[0:02:48] src/third_party
[0:02:48] src/tools
[0:02:59] Still working on:
[0:02:59] src/third_party
[0:02:59] src/tools
[0:03:09] Still working on:
[0:03:09] src/third_party
[0:03:09] src/tools
[0:03:19] Still working on:
[0:03:19] src/third_party
[0:03:19] src/tools
[0:03:29] Still working on:
[0:03:29] src/third_party
[0:03:29] src/tools
[0:03:39] Still working on:
[0:03:39] src/third_party
[0:03:39] src/tools
[0:03:49] Still working on:
[0:03:49] src/third_party
[0:03:49] src/tools
[0:03:59] Still working on:
[0:03:59] src/third_party
[0:03:59] src/tools
[0:04:09] Still working on:
[0:04:09] src/third_party
[0:04:09] src/tools
[0:04:19] Still working on:
[0:04:19] src/third_party
[0:04:19] src/tools
[0:04:29] Still working on:
[0:04:29] src/third_party
[0:04:29] src/tools
[0:04:39] Still working on:
[0:04:39] src/third_party
[0:04:39] src/tools
[0:04:49] Still working on:
[0:04:49] src/third_party
[0:04:49] src/tools
[0:04:59] Still working on:
[0:04:59] src/third_party
[0:04:59] src/tools
[0:05:09] Still working on:
[0:05:09] src/third_party
[0:05:09] src/tools
[0:05:19] Still working on:
[0:05:19] src/third_party
[0:05:19] src/tools
[0:05:29] Still working on:
[0:05:29] src/third_party
[0:05:29] src/tools
[0:05:32] Still working on:
[0:05:32] src/third_party
[0:05:32] src/tools
/bin/sh: 1: curl: not found37) src/tools
/bin/sh: 1: curl: not found
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[0:06:49] Still working on:
[0:06:49] src/third_party
[0:06:59] Still working on:
[0:06:59] src/third_party
[0:07:09] Still working on:
[0:07:09] src/third_party
[0:07:19] Still working on:
[0:07:19] src/third_party
[0:07:29] Still working on:
[0:07:29] src/third_party
[0:07:39] Still working on:
[0:07:39] src/third_party
[0:07:49] Still working on:
[0:07:49] src/third_party
[0:07:59] Still working on:
[0:07:59] src/third_party
[0:08:09] Still working on:
[0:08:09] src/third_party
[0:08:19] Still working on:
[0:08:19] src/third_party
[0:08:29] Still working on:
[0:08:29] src/third_party
[0:08:39] Still working on:
[0:08:39] src/third_party
[0:08:49] Still working on:
[0:08:49] src/third_party
[0:08:59] Still working on:
[0:08:59] src/third_party
[0:09:09] Still working on:
[0:09:09] src/third_party
[0:09:19] Still working on:
[0:09:19] src/third_party
[0:09:24] Still working on:
[0:09:24] src/third_party
Syncing projects: 100% (37/37), done.
________ running ‘cipd ensure -log-level error -root /home/zhongwen/webrtc -ensure-file /tmp/tmprLc0Dn.ensure’ in ‘.’
SHA256 digest of the downloaded CIPD client is incorrect:
Expecting e647f6534fd79d9fc1e3b0071623109be14e6b0477ad862f37eac86c0668f6f3
Got 74f178d7c953f13c99a3a70d23cd8303c94ebee5b08da81a9ab30817e568c1fa
Refusing to run it. Check that *.digests file is up-to-date.
Error: Command ‘cipd ensure -log-level error -root /home/zhongwen/webrtc -ensure-file /tmp/tmprLc0Dn.ensure’ returned non-zero exit status 1
编译后并没有工程可以依赖的 aar文件 这个编译webrtc源码起什么作用呢 编译成aar 的脚本 是在**\src\tools_webrtc\android** 目录下的 build_aar.py 和 release_aar.py但是 源码编译起什么作用呢?
你好,下载不下来啊。报错。
[0:09:43] Receiving objects: 0% (16387/1710627), 9.56 MiB | 54.00 KiB/s
[0:09:45] Receiving objects: 0% (16601/1710627), 9.68 MiB | 60.00 KiB/s
[0:09:47] Receiving objects: 0% (16797/1710627), 9.80 MiB | 66.00 KiB/s
[0:09:49] Receiving objects: 0% (17002/1710627), 9.93 MiB | 69.00 KiB/s
[0:09:50] Receiving objects: 1% (17211/1710627), 10.05 MiB | 70.00 KiB/s
[0:09:52] Receiving objects: 1% (17429/1710627), 10.18 MiB | 71.00 KiB/s
[0:09:54] Receiving objects: 1% (17640/1710627), 10.30 MiB | 73.00 KiB/s
[0:09:56] Receiving objects: 1% (17846/1710627), 10.43 MiB | 72.00 KiB/s
[0:09:58] Receiving objects: 1% (18062/1710627), 10.55 MiB | 70.00 KiB/s
[0:10:00] Receiving objects: 1% (18279/1710627), 10.68 MiB | 69.00 KiB/s
[0:10:01] Receiving objects: 1% (18496/1710627), 10.80 MiB | 69.00 KiB/s
[0:10:03] Receiving objects: 1% (18718/1710627), 10.93 MiB | 69.00 KiB/s
[0:10:05] Receiving objects: 1% (18930/1710627), 11.05 MiB | 69.00 KiB/s
[0:10:07] Receiving objects: 1% (19139/1710627), 11.18 MiB | 71.00 KiB/s
[0:10:09] Receiving objects: 1% (19357/1710627), 11.30 MiB | 70.00 KiB/s
[0:10:10] Receiving objects: 1% (19567/1710627), 11.43 MiB | 70.00 KiB/s
[0:10:12] Receiving objects: 1% (19666/1710627), 11.49 MiB | 68.00 KiB/s
[0:10:13] Receiving objects: 1% (19765/1710627), 11.55 MiB | 66.00 KiB/s
[0:10:14] Receiving objects: 1% (19869/1710627), 11.61 MiB | 65.00 KiB/s
[0:10:16] Receiving objects: 1% (20081/1710627), 11.74 MiB | 64.00 KiB/s
[0:10:18] Receiving objects: 1% (20293/1710627), 11.86 MiB | 64.00 KiB/s
[0:10:19] Receiving objects: 1% (20409/1710627), 11.93 MiB | 61.00 KiB/s
[0:10:20] Receiving objects: 1% (20519/1710627), 11.99 MiB | 60.00 KiB/s
[0:10:22] Receiving objects: 1% (20727/1710627), 12.11 MiB | 64.00 KiB/s
[0:10:23] Receiving objects: 1% (20943/1710627), 12.24 MiB | 64.00 KiB/s
[0:10:25] Receiving objects: 1% (21163/1710627), 12.36 MiB | 66.00 KiB/s
[0:10:28] Receiving objects: 1% (21500/1710627), 12.55 MiB | 70.00 KiB/s
[0:10:30] Receiving objects: 1% (21720/1710627), 12.68 MiB | 69.00 KiB/s
[0:10:32] Receiving objects: 1% (21942/1710627), 12.80 MiB | 69.00 KiB/s
[0:10:34] Receiving objects: 1% (22149/1710627), 12.92 MiB | 65.00 KiB/s
[0:10:36] Receiving objects: 1% (22359/1710627), 13.04 MiB | 62.00 KiB/s
[0:10:38] Receiving objects: 1% (22566/1710627), 13.17 MiB | 64.00 KiB/s
[0:10:40] Receiving objects: 1% (22771/1710627), 13.29 MiB | 64.00 KiB/s
[0:10:42] Receiving objects: 1% (22985/1710627), 13.42 MiB | 65.00 KiB/s
[0:10:43] Receiving objects: 1% (23191/1710627), 13.54 MiB | 68.00 KiB/s
[0:10:45] Receiving objects: 1% (23414/1710627), 13.67 MiB | 70.00 KiB/s
[0:10:47] Receiving objects: 1% (23643/1710627), 13.79 MiB | 69.00 KiB/s
[0:10:49] Receiving objects: 1% (23857/1710627), 13.92 MiB | 69.00 KiB/s
[0:10:51] Receiving objects: 1% (24072/1710627), 14.04 MiB | 69.00 KiB/s
[0:10:53] Receiving objects: 1% (24288/1710627), 14.17 MiB | 65.00 KiB/s
[0:10:55] Receiving objects: 1% (24501/1710627), 14.29 MiB | 66.00 KiB/s
[0:10:56] Receiving objects: 1% (24609/1710627), 14.36 MiB | 65.00 KiB/s
[0:10:58] Receiving objects: 1% (24819/1710627), 14.48 MiB | 64.00 KiB/s
[0:11:00] Receiving objects: 1% (25043/1710627), 14.61 MiB | 63.00 KiB/s
[0:11:02] Receiving objects: 1% (25268/1710627), 14.73 MiB | 65.00 KiB/s
[0:11:03] Receiving objects: 1% (25376/1710627), 14.79 MiB | 64.00 KiB/s
[0:11:05] Receiving objects: 1% (25589/1710627), 14.92 MiB | 66.00 KiB/s
[0:11:06] Receiving objects: 1% (25805/1710627), 15.04 MiB | 68.00 KiB/s
[0:11:07] Receiving objects: 1% (25913/1710627), 15.11 MiB | 67.00 KiB/s
[0:11:10] Receiving objects: 1% (26250/1710627), 15.29 MiB | 70.00 KiB/s
[0:11:12] Receiving objects: 1% (26462/1710627), 15.42 MiB | 71.00 KiB/s
[0:11:13] Receiving objects: 1% (26684/1710627), 15.54 MiB | 71.00 KiB/s
[0:11:15] Receiving objects: 1% (26903/1710627), 15.67 MiB | 72.00 KiB/s
[0:11:18] Receiving objects: 1% (27227/1710627), 15.86 MiB | 72.00 KiB/s
[0:11:20] Receiving objects: 1% (27424/1710627), 15.97 MiB | 71.00 KiB/s
[0:16:20] error: RPC failed; result=18, HTTP code = 200
[0:16:20] fatal: The remote end hung up unexpectedly
[0:16:20] fatal: early EOF
[0:16:20] fatal: index-pack failed
________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/third_party /home/shenlei/webrtc/src/_gclient_third_party_oKkDnR’ in ‘/home/shenlei/webrtc’
[0:16:22] Cloning into ‘/home/shenlei/webrtc/src/_gclient_third_party_oKkDnR’…
[0:17:13] fatal: unable to access ‘http://120.92.49.206:3232/chromiumsrc/third_party.git/’: Empty reply from server
Traceback (most recent call last):
File “/home/shenlei/depot_tools/gclient_scm.py”, line 1065, in _Clone
print_stdout=print_stdout, stdout=stdout)
File “/home/shenlei/depot_tools/gclient_scm.py”, line 1389, in _Run
gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs)
File “/home/shenlei/depot_tools/gclient_utils.py”, line 344, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File “/home/shenlei/depot_tools/gclient_utils.py”, line 606, in CheckCallAndFilter
rv, args, kwargs.get(‘cwd’, None), None, None)
CalledProcessError: Command ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/third_party /home/shenlei/webrtc/src/_gclient_third_party_oKkDnR’ returned non-zero exit status 128 in /home/shenlei/webrtc
Traceback (most recent call last):
File “/home/shenlei/depot_tools/metrics.py”, line 267, in print_notice_and_exit
yield
File “/home/shenlei/depot_tools/gclient.py”, line 3168, in
sys.exit(main(sys.argv[1:]))
File “/home/shenlei/depot_tools/gclient.py”, line 3154, in main
return dispatcher.execute(OptionParser(), argv)
File “/home/shenlei/depot_tools/subcommand.py”, line 252, in execute
return command(parser, args[1:])
File “/home/shenlei/depot_tools/gclient.py”, line 2711, in CMDsync
ret = client.RunOnDeps(‘update’, args)
File “/home/shenlei/depot_tools/gclient.py”, line 1737, in RunOnDeps
patch_refs=patch_refs, target_branches=target_branches)
File “/home/shenlei/depot_tools/gclient_utils.py”, line 894, in flush
reraise(e[0], e[1], e[2])
File “/home/shenlei/depot_tools/gclient_utils.py”, line 971, in run
self.item.run(*self.args, **self.kwargs)
File “/home/shenlei/depot_tools/gclient.py”, line 914, in run
file_list)
File “/home/shenlei/depot_tools/gclient_scm.py”, line 133, in RunCommand
return getattr(self, command)(options, args, file_list)
File “/home/shenlei/depot_tools/gclient_scm.py”, line 568, in update
self._Clone(revision, url, options)
File “/home/shenlei/depot_tools/gclient_scm.py”, line 1073, in _Clone
if os.listdir(tmp_dir):
OSError: [Errno 2] 没有那个文件或目录: ‘/home/shenlei/webrtc/src/_gclient_third_party_oKkDnR’
BRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_ANDROID -DABSL_ALLOCATOR_NOTHROW=1 -I…/… -Igen -I…/…/third_party/abseil-cpp -Igen/sdk/android/generated_external_classes_jni -Igen/sdk/android/generated_native_api_jni -Igen/sdk/android/generated_native_api_jni -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=…/…/tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -ffunction-sections -fno-short-enums --target=aarch64-linux-android -isystem…/…/third_party/android_ndk/sysroot/usr/include/aarch64-linux-android -D__ANDROID_API__=21 -mno-outline -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -Oz -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -fdebug-info-for-profiling -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wc++11-narrowing -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -Wundef -Wunused-lambda-capture -Wno-shorten-64-to-32 -std=c++14 -fno-exceptions -fno-rtti -nostdinc++ -isystem…/…/buildtools/third_party/libc++/trunk/include -isystem…/…/buildtools/third_party/libc++abi/trunk/include --sysroot=…/…/third_party/android_ndk/sysroot -isystem…/…/third_party/android_ndk/sources/android/support/include -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c …/…/sdk/android/native_api/jni/java_types.cc -o obj/sdk/android/native_api_jni/java_types.o
…/…/sdk/android/native_api/jni/java_types.cc:315:18: error: no member named ‘Java_ArrayList_addZ_JUE’ in namespace ‘JNI_ArrayList’; did you mean ‘Java_ArrayList_addZ_JLO’?
JNI_ArrayList::Java_ArrayList_addZ_JUE(env_, j_list_, element);
~
~~~~~~~~^Java_ArrayList_addZ_JLO
gen/sdk/android/generated_external_classes_jni/jni/ArrayList_jni.h:328:17: note: ‘Java_ArrayList_addZ_JLO’ declared here
static jboolean Java_ArrayList_addZ_JLO(JNIEnv* env, const base::android::JavaRef& obj,
^
1 error generated.
[4/7432] CXX obj/sdk/android/opensles_audio_device_module/opensles_recorder.o
ninja: build stopped: subcommand failed.
编译时遇到上面的问题,系统 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
更新了jdk:
openjdk version “1.8.0_222”
OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1~14.04-b10)
OpenJDK 64-Bit Server VM (build 25.222-b10, mixed mode)
各位有这个问题吗?
linux平台可以下载,编译通过。
但在windows平台上,在执行以下步骤时,出现错误:
请大神们,帮忙看下是什么原因导致的。谢谢!
ubuntu18.04 编译linux源码通过。
编译android源码,执行最后一步ninja -C android/Release,报错:
ninja: Entering directory `android/Release’
[6/7380] ACTION //build/android:prepare_android_lint_cache(//build/toolchain/android:android_clang_arm64)
FAILED: gen/build/android/prepare_android_lint_cache/result.xml gen/build/android/prepare_android_lint_cache/config.xml
python …/…/build/android/gyp/lint.py --lint-path …/…/third_party/android_sdk/public/tools-lint/bin/lint --cache-dir android_lint_cache --platform-xml-path …/…/third_party/android_sdk/public/platform-tools/api/api-versions.xml --android-sdk-version=26 --depfile gen/build/android/prepare_android_lint_cache.d --config-path …/…/tools_webrtc/android/suppressions.xml --product-dir=. --processed-config-path gen/build/android/prepare_android_lint_cache/config.xml --result-path gen/build/android/prepare_android_lint_cache/result.xml --include-unexpected-failures --manifest-path …/…/build/android/AndroidManifest.xml --create-cache --silent
Traceback (most recent call last):
File “…/…/build/android/gyp/lint.py”, line 399, in
sys.exit(main())
File “…/…/build/android/gyp/lint.py”, line 395, in main
add_pydeps=False)
File “/media/lv/bigdisk/source/webrtc_root/webrtc/src/build/android/gyp/util/build_utils.py”, line 650, in CallAndWriteDepfileIfStale
pass_changes=True)
File “/media/lv/bigdisk/source/webrtc_root/webrtc/src/build/android/gyp/util/md5_check.py”, line 89, in CallAndRecordIfStale
function(*args)
File “/media/lv/bigdisk/source/webrtc_root/webrtc/src/build/android/gyp/util/build_utils.py”, line 635, in on_stale_md5
function(*args)
File “…/…/build/android/gyp/lint.py”, line 389, in
silent=args.silent),
File “…/…/build/android/gyp/lint.py”, line 206, in _OnStaleMd5
fail_func=fail_func)
File “/media/lv/bigdisk/source/webrtc_root/webrtc/src/build/android/gyp/util/build_utils.py”, line 226, in CheckOutput
raise CalledProcessError(cwd, args, stdout + stderr)
util.build_utils.CalledProcessError: Command failed: ( cd /media/lv/bigdisk/source/webrtc_root/webrtc/src; third_party/android_sdk/public/tools-lint/bin/lint -Werror --exitcode --showall --xml android/Release/gen/build/android/prepare_android_lint_cache/result.xml --config android/Release/gen/build/android/prepare_android_lint_cache/config.xml /tmp/tmpUDeoGO/SRC_ROOT1 )
Exception in thread “main” java.lang.NoClassDefFoundError: org/jetbrains/kotlin/cli/jvm/index/JvmDependenciesIndex
at com.android.tools.lint.Main.run(Main.java:165)
at com.android.tools.lint.Main.main(Main.java:141)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.kotlin.cli.jvm.index.JvmDependenciesIndex
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 2 more
[15/7380] CXX obj/sdk/android/video_jni/video_encoder_wrapper.o
ninja: build stopped: subcommand failed.
我使用Ubuntu16的虚拟机,同步代码时一直报这个错误,是为什么
需要debian_sid_mips_sysroot.tar.xz,如何从你的镜像拿到?现在直接报错Failed to download http://120.92.49.206:3232/chromiumsrc/chrome-linux-sysroot/raw/master/public/toolchain/958731a68a169631c0450efb15410ccc4135ef2a/debian_sid_mips_sysroot.tar.xz
./build/linux/sysroot_scripts/install-sysroot.py --arch=mipsel
Installing Debian sid mips root image: /home/ubuntu/webrtc/src/build/linux/debian_sid_mips-sysroot
Downloading http://120.92.49.206:3232/chromiumsrc/chrome-linux-sysroot/raw/master/public/toolchain/958731a68a169631c0450efb15410ccc4135ef2a/debian_sid_mips_sysroot.tar.xz
Failed to download http://120.92.49.206:3232/chromiumsrc/chrome-linux-sysroot/raw/master/public/toolchain/958731a68a169631c0450efb15410ccc4135ef2a/debian_sid_mips_sysroot.tar.xz
wget http://120.92.49.206:3232/chromiumsrc/chrome-linux-sysroot/raw/master/public/toolchain/958731a68a169631c0450efb15410ccc4135ef2a/debian_sid_mips_sysroot.tar.xz
–2020-05-05 08:40:31-- http://120.92.49.206:3232/chromiumsrc/chrome-linux-sysroot/raw/master/public/toolchain/958731a68a169631c0450efb15410ccc4135ef2a/debian_sid_mips_sysroot.tar.xz
Connecting to 120.92.49.206:3232… connected.
HTTP request sent, awaiting response… 404 Not Found
2020-05-05 08:40:31 ERROR 404: Not Found.
rm -rf depot_tools && git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Cloning into ‘depot_tools’…
fatal: unable to access ‘http://103.210.161.2:3232/chromiumsrc/depot_tools.git/’: Failed to connect to 103.210.161.2 port 3232: Connection refused
拉取完代码之后编译报这个错误,是什么问题?
[0:09:38] Receiving objects: 6% (114402/1710627), 150.14 MiB | 680.00 KiB/s
[0:09:39] Receiving objects: 6% (115610/1710627), 150.82 MiB | 706.00 KiB/s
[0:09:40] Receiving objects: 6% (116341/1710627), 151.11 MiB | 498.00 KiB/s
[0:16:16] error: RPC failed; curl 18 transfer closed with outstanding read data remaining
[0:16:16] fatal: The remote end hung up unexpectedly
[0:16:16] fatal: early EOF
[0:16:16] fatal: index-pack failed
________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/third_party /home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’ in ‘/home/wb/webrtc_1/webrtc’
[0:16:18] Cloning into ‘/home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’…
[0:16:19] fatal: unable to access ‘http://120.92.49.206:3232/chromiumsrc/third_party.git/’: The requested URL returned error: 503
________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/third_party /home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’ in ‘/home/wb/webrtc_1/webrtc’
[0:16:20] Cloning into ‘/home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’…
[0:16:22] fatal: unable to access ‘http://120.92.49.206:3232/chromiumsrc/third_party.git/’: The requested URL returned error: 503
________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/third_party /home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’ in ‘/home/wb/webrtc_1/webrtc’
[0:16:24] Cloning into ‘/home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’…
[0:16:25] fatal: unable to access ‘http://120.92.49.206:3232/chromiumsrc/third_party.git/’: The requested URL returned error: 503
Traceback (most recent call last):
File “/home/wb/webrtc_1/depot_tools/gclient_scm.py”, line 1065, in _Clone
print_stdout=print_stdout, stdout=stdout)
File “/home/wb/webrtc_1/depot_tools/gclient_scm.py”, line 1389, in _Run
gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs)
File “/home/wb/webrtc_1/depot_tools/gclient_utils.py”, line 344, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File “/home/wb/webrtc_1/depot_tools/gclient_utils.py”, line 606, in CheckCallAndFilter
rv, args, kwargs.get(‘cwd’, None), None, None)
CalledProcessError: Command ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src/third_party /home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’ returned non-zero exit status 128 in /home/wb/webrtc_1/webrtc
Traceback (most recent call last):
File “/home/wb/webrtc_1/depot_tools/metrics.py”, line 267, in print_notice_and_exit
yield
File “/home/wb/webrtc_1/depot_tools/gclient.py”, line 3168, in
sys.exit(main(sys.argv[1:]))
File “/home/wb/webrtc_1/depot_tools/gclient.py”, line 3154, in main
return dispatcher.execute(OptionParser(), argv)
File “/home/wb/webrtc_1/depot_tools/subcommand.py”, line 252, in execute
return command(parser, args[1:])
File “/home/wb/webrtc_1/depot_tools/gclient.py”, line 2711, in CMDsync
ret = client.RunOnDeps(‘update’, args)
File “/home/wb/webrtc_1/depot_tools/gclient.py”, line 1737, in RunOnDeps
patch_refs=patch_refs, target_branches=target_branches)
File “/home/wb/webrtc_1/depot_tools/gclient_utils.py”, line 894, in flush
reraise(e[0], e[1], e[2])
File “/home/wb/webrtc_1/depot_tools/gclient_utils.py”, line 971, in run
self.item.run(*self.args, **self.kwargs)
File “/home/wb/webrtc_1/depot_tools/gclient.py”, line 914, in run
file_list)
File “/home/wb/webrtc_1/depot_tools/gclient_scm.py”, line 133, in RunCommand
return getattr(self, command)(options, args, file_list)
File “/home/wb/webrtc_1/depot_tools/gclient_scm.py”, line 568, in update
self._Clone(revision, url, options)
File “/home/wb/webrtc_1/depot_tools/gclient_scm.py”, line 1073, in _Clone
if os.listdir(tmp_dir):
OSError: [Errno 2] 没有那个文件或目录: ‘/home/wb/webrtc_1/webrtc/src/_gclient_third_party_uJQzVi’
为啥下载一半总是会报错,求大佬看一下
请问下,下载的时候src/third_party和src/base下载不全,如何解决呢?
[0:16:07] Still working on:
[0:16:07] src/third_party
[0:16:17] Still working on:
[0:16:17] src/third_party
[0:16:27] Still working on:
[0:16:27] src/third_party
[0:16:37] Still working on:
[0:16:37] src/third_party
[0:16:47] Still working on:
[0:16:47] src/third_party
Syncing projects: 100% (37/37), done.
________ running ‘cipd ensure -log-level error -root /home1/zhangzj/webrtc -ensure-file /tmp/tmp1L_J5o.ensure’ in ‘.’
curl: (6) Could not resolve host: chrome-infra-packages.appspot.com
Error: Command ‘cipd ensure -log-level error -root /home1/zhangzj/webrtc -ensure-file /tmp/tmp1L_J5o.ensure’ returned non-zero exit status 6
gclient sync出现这个错误是什么原因?
我的python版本是2.6.6,试了下3.8,报错不支持python3. 网络有什么问题吗,我没翻墙。使用的是最近正在编辑更新的方法。
D:\WebRTC\webrtc>gclient sync
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.ap
pspot.com/client?platform=windows-amd64&version=git_revision:9f9afb5ef6ef9d4887
e8aa2bb617dfdd798f8005…
Failed to download the file, check your network connection
所在位置 D:\WebRTC\depot_tools\cipd.ps1:116 字符: 10
tion:String) [], RuntimeException
connection
Failed to bootstrap or update CIPD client
File “D:\WebRTC\depot_tools\gclient.py”, line 1861
for name, rev in entries.items()
^
SyntaxError: invalid syntax
到这步遇到问题
好吧,
Ubuntu18.04, gclient sync时先报这个,但能够继续下载
然后下载过程中提示这个,和上面的那层楼的老哥一样
然后报错下图就停了
求助!!!
****@localhost : ~/workspace/webrtc/webrtc $ gclient sync
Your copy of depot_tools is configured to fetch from an obsolete URL:
https://gitlab.agora.io/webrtc/depot_tools.git
OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n
curl: (7) Failed to connect to chrome-infra-packages.appspot.com port 443: 拒绝连接
^C
****@localhost : ~/workspace/webrtc/webrtc $ gclient sync
Your copy of depot_tools is configured to fetch from an obsolete URL:
https://gitlab.agora.io/webrtc/depot_tools.git
OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] y
Remote URL updated.
这个是要选yes 还是no ,都试了,都有connect timeout出现
我在执行gclient时出现下面的错误,求助该怎么解决。
[root@localhost webrtc]# gclient
depot_tools update failed. Conflict in /root/webrtc/depot_tools
error: Your local changes to the following files would be overwritten by checkout:
update_depot_tools
Please, commit your changes or stash them before you can switch branches.
Aborting
curl: (56) Proxy CONNECT aborted
curl: (56) Proxy CONNECT aborted
/root/webrtc/depot_tools/bootstrap_python3:行32: bootstrap-3.8.0.chromium.8_bin/python3/bin/python3: 没有那个文件或目录
Traceback (most recent call last):
File “/root/webrtc/depot_tools/gclient.py”, line 2031, in
@metrics.collector.collect_metrics(‘gclient recurse’)
File “/root/webrtc/depot_tools/metrics.py”, line 246, in _decorator
if not self.config.should_collect_metrics:
File “/root/webrtc/depot_tools/metrics.py”, line 122, in should_collect_metrics
if not self.is_googler:
File “/root/webrtc/depot_tools/metrics.py”, line 98, in is_googler
self._ensure_initialized()
File “/root/webrtc/depot_tools/metrics.py”, line 67, in _ensure_initialized
req = urllib.urlopen(metrics_utils.APP_URL + ‘/should-upload’)
File “/usr/lib64/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib64/python2.7/urllib2.py”, line 431, in open
response = self._open(req, data)
File “/usr/lib64/python2.7/urllib2.py”, line 449, in _open
‘_open’, req)
File “/usr/lib64/python2.7/urllib2.py”, line 409, in _call_chain
result = func(*args)
File “/usr/lib64/python2.7/urllib2.py”, line 1258, in https_open
context=self._context, check_hostname=self._check_hostname)
File “/usr/lib64/python2.7/urllib2.py”, line 1211, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File “/usr/lib64/python2.7/httplib.py”, line 1056, in request
self._send_request(method, url, body, headers)
File “/usr/lib64/python2.7/httplib.py”, line 1090, in _send_request
self.endheaders(body)
File “/usr/lib64/python2.7/httplib.py”, line 1052, in endheaders
self._send_output(message_body)
File “/usr/lib64/python2.7/httplib.py”, line 890, in _send_output
self.send(msg)
File “/usr/lib64/python2.7/httplib.py”, line 852, in send
self.connect()
File “/usr/lib64/python2.7/httplib.py”, line 1266, in connect
HTTPConnection.connect(self)
File “/usr/lib64/python2.7/httplib.py”, line 836, in connect
self._tunnel()
File “/usr/lib64/python2.7/httplib.py”, line 813, in _tunnel
(version, code, message) = response._read_status()
File “/usr/lib64/python2.7/httplib.py”, line 417, in _read_status
raise BadStatusLine(line)
httplib.BadStatusLine: ‘’
咱们最新版本镜像预计什么时候发布?
kernel32.SetConsoleMode to enable ANSI sequences failed
Running: ‘C:\Users\zhuxiaoguang.vpython-root\11e4d5\Scripts\python.exe’ ‘E:\tools\depot_tools\gclient.py’ sync --nohooks --with_branch_heads
kernel32.SetConsoleMode to enable ANSI sequences failed
Syncing projects: 100% ( 1/ 1) src
src (ERROR)
[0:00:00] Started.
[0:00:00]
Traceback (most recent call last):
File “E:\tools\depot_tools\gclient_scm.py”, line 1043, in _Clone
self._Run(clone_cmd, options, cwd=self._root_dir, retry=True,
File “E:\tools\depot_tools\gclient_scm.py”, line 1411, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File “E:\tools\depot_tools\gclient_utils.py”, line 634, in CheckCallAndFilter
show_header_if_necessary(needs_header, attempt)
File “E:\tools\depot_tools\gclient_utils.py”, line 567, in show_header_if_necessary
stdout_write(header.encode())
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 41, in write
self.__convertor.write(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 162, in write
self.write_and_convert(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 184, in write_and_convert
text = self.convert_osc(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 246, in convert_osc
for match in self.ANSI_OSC_RE.finditer(text):
TypeError: cannot use a string pattern on a bytes-like object
[0:00:01] _____ removing non-empty tmp dir D:\workspace\c++\opensource\other\webrtc-code_gclient_src_nkc08ptb
Traceback (most recent call last):
File “E:\tools\depot_tools\metrics.py”, line 267, in print_notice_and_exit
yield
File “E:\tools\depot_tools\gclient.py”, line 3195, in
sys.exit(main(sys.argv[1:]))
File “E:\tools\depot_tools\gclient.py”, line 3181, in main
return dispatcher.execute(OptionParser(), argv)
File “E:\tools\depot_tools\subcommand.py”, line 252, in execute
return command(parser, args[1:])
File “E:\tools\depot_tools\gclient.py”, line 2737, in CMDsync
ret = client.RunOnDeps(‘update’, args)
File “E:\tools\depot_tools\gclient.py”, line 1779, in RunOnDeps
work_queue.flush(revision_overrides, command, args, options=self._options,
File “E:\tools\depot_tools\gclient_utils.py”, line 965, in flush
reraise(e[0], e[1], e[2])
File “E:\tools\depot_tools\gclient_utils.py”, line 67, in reraise
raise value
File “E:\tools\depot_tools\gclient_utils.py”, line 1042, in run
self.item.run(*self.args, **self.kwargs)
File “E:\tools\depot_tools\gclient.py”, line 925, in run
self._got_revision = self._used_scm.RunCommand(command, options, args,
File “E:\tools\depot_tools\gclient_scm.py”, line 132, in RunCommand
return getattr(self, command)(options, args, file_list)
File “E:\tools\depot_tools\gclient_scm.py”, line 546, in update
self._Clone(revision, url, options)
File “E:\tools\depot_tools\gclient_scm.py”, line 1043, in _Clone
self._Run(clone_cmd, options, cwd=self._root_dir, retry=True,
File “E:\tools\depot_tools\gclient_scm.py”, line 1411, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File “E:\tools\depot_tools\gclient_utils.py”, line 634, in CheckCallAndFilter
show_header_if_necessary(needs_header, attempt)
File “E:\tools\depot_tools\gclient_utils.py”, line 567, in show_header_if_necessary
stdout_write(header.encode())
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 41, in write
self.__convertor.write(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 162, in write
self.write_and_convert(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 184, in write_and_convert
text = self.convert_osc(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 246, in convert_osc
for match in self.ANSI_OSC_RE.finditer(text):
TypeError: cannot use a string pattern on a bytes-like object
Subprocess failed with return code 1.
卡在这了
[0:48:16] Still working on:
[0:48:16] src/third_party/catapult
Syncing projects: 100% (41/41), done.
Traceback (most recent call last):
File “E:\tools\depot_tools\metrics.py”, line 267, in print_notice_and_exit
yield
File “E:\tools\depot_tools\gclient.py”, line 3195, in
sys.exit(main(sys.argv[1:]))
File “E:\tools\depot_tools\gclient.py”, line 3181, in main
return dispatcher.execute(OptionParser(), argv)
File “E:\tools\depot_tools\subcommand.py”, line 252, in execute
return command(parser, args[1:])
File “E:\tools\depot_tools\gclient.py”, line 2737, in CMDsync
ret = client.RunOnDeps(‘update’, args)
File “E:\tools\depot_tools\gclient.py”, line 1814, in RunOnDeps
self.RunHooksRecursively(self._options, pm)
File “E:\tools\depot_tools\gclient.py”, line 1084, in RunHooksRecursively
hook.run()
File “E:\tools\depot_tools\gclient.py”, line 250, in run
gclient_utils.CheckCallAndFilter(
File “E:\tools\depot_tools\gclient_utils.py”, line 634, in CheckCallAndFilter
show_header_if_necessary(needs_header, attempt)
File “E:\tools\depot_tools\gclient_utils.py”, line 567, in show_header_if_necessary
stdout_write(header.encode())
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 41, in write
self.__convertor.write(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 162, in write
self.write_and_convert(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 184, in write_and_convert
text = self.convert_osc(text)
File “E:\tools\depot_tools\third_party\colorama\ansitowin32.py”, line 246, in convert_osc
for match in self.ANSI_OSC_RE.finditer(text):
TypeError: cannot use a string pattern on a bytes-like object
sync完成了,但是python脚本错误
$ gclient sync
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:9f9afb5ef6ef9d4887e8aa2bb617dfdd798f8005…
Failed to download the file, check your network connection
▒▒▒▒λ▒▒ D:\depot_tools\cipd.ps1:116 ▒ַ▒: 5
Failed to bootstrap or update CIPD client
每次同步时就下载这个CIPD client ,请问是什么原因呢?
你好 我想问一下 下载不下来了是什么情况呢
你好,我按文档 在Ubuntu 18.04下面执行到最后一步 ninja -C out/Release 时,一直报 error: unknown warning option ‘-Wno-implicit-int-float-conversion’; did you mean ‘-Wno-float-overflow-conversion’? [-Werror,-Wunknown-warning-option]
error: unknown warning option ‘-Wno-c99-designator’; did you mean ‘-Wno-gnu-designator’? [-Werror,-Wunknown-warning-option]
error: unknown warning option ‘-Wno-reorder-init-list’ [-Werror,-Wunknown-warning-option]
error: unknown warning option ‘-Wno-final-dtor-non-final-class’; did you mean ‘-Wno-abstract-final-class’? [-Werror,-Wunknown-warning-option]
error: unknown warning option ‘-Wno-sizeof-array-div’; did you mean ‘-Wno-sizeof-array-decay’? [-Werror,-Wunknown-warning-option] 错误。
请问应该怎么解决?谢谢!
git clone 502错误怎么回事啊?
git clone https://gitlab.agora.io/webrtc/depot_tools.git报502错误,下载不了啊,已经添加过 60.191.137.148 gitlab.agora.io,请问还需要什么配置才可以下载
gclient sync的时候报错,错误打印如下,麻烦问下是什么原因导致?
Cloning into ‘/Users/duxuan/Desktop/sshuziyun/webrtc/webrtc2/_gclient_src_tW38D9’…
[0:03:07] Cloning into ‘/Users/duxuan/Desktop/sshuziyun/webrtc/webrtc2/_gclient_src_tW38D9’…
fatal: unable to access ‘https://gitlab.agora.io/webrtc-mirror/src.git/’: The requested URL returned error: 504
[0:04:08] fatal: unable to access ‘https://gitlab.agora.io/webrtc-mirror/src.git/’: The requested URL returned error: 504
gclient sync 是如图所示打印,请问问题出在什么地方?谢谢。
以下是.gclient相关
[0:05:15] fatal: unable to access ‘https://gitlab.agora.io/webrtc-mirror/src.git/’: The requested URL returned error: 504
________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://gitlab.agora.io/webrtc-mirror/src.git /home/kevin/refcode/webrtc/_gclient_src_nsfrHO’ in ‘/home/kevin/refcode/webrtc’
Cloning into ‘/home/kevin/refcode/webrtc/_gclient_src_nsfrHO’…
[0:05:17] Cloning into ‘/home/kevin/refcode/webrtc/_gclient_src_nsfrHO’…
fatal: unable to access ‘https://gitlab.agora.io/webrtc-mirror/src.git/’: The requested URL returned error: 504
[0:06:18] fatal: unable to access ‘https://gitlab.agora.io/webrtc-mirror/src.git/’: The requested URL returned error: 504
Traceback (most recent call last):
File “/home/kevin/webrtc/src/third_party/depot_tools/gclient_scm.py”, line 1090, in _Clone
print_stdout=print_stdout, stdout=stdout)
这种提示算是下载完成了吗?谢谢。
谢谢!我试着去编译一下。
我是在linux64下面编译webrtc。
执行到如下图红线和红三角所示命令:
出现错误如下:
在 /home/ubuntu/pro/webrtc_Agora/src/buildtools/linux64/目录,执行ls命令
可以看到,只有一个文件clang-format.sha1,后来clang-format.sha被我误删除了。
在源码根目录执行如下命令:
gn.bat gn gn.py是存在的。
请问各位前辈,这个问题该如何解决?
有没有伙伴遇到过这种错误,貌似是clang-cl: error: no such file or directory: ‘/showIncludes:user’ 引起的,为什么会有这种错误呢?
为什么我的一直报这个错 tar有的呀
拉下来的 iOS代码不是最新的M84
是需要额外配置么
请教下拉取最新版本源码的方式
都是502,是不是服务器挂了。 还是解决下。 外网都也不拉不下来。
% git clone https://gitlab.agora.io/webrtc/depot_tools.git
Cloning into ‘depot_tools’…
fatal: unable to access ‘https://gitlab.agora.io/webrtc/depot_tools.git/’: The requested URL returned error: 502
咱们服务器是不是不能使用了。
现在镜像显示502,帮忙给处理下吧。谢谢
depot_tools The requested URL returned error: 504
请问下这个报错是什么
同步问题 gclient sync
问题现象描述:一直卡在,下载 third_party 模块,过不去。
查看日志:git clone是找到了下载源的,并且开始了下载,但是每次都是在下载到1G左右的时候失败,The remote end hung up unexpectedly(git服务断开了连接),然后不停尝试和重复这个错误。
问题分析:git代理Nginx原因
参考这篇文章:https://www.cnblogs.com/cyleon/p/9982394.html
希望得到的帮助:
希望此webrtc镜像的git源的维护伙伴,参考上边的文章,设置下Nginx代理,感谢。
gclient sync失败
windows编译 执行 git.sh 这个文件在哪里啊?
页面上的windows编译过程和页面开头的一些配置前后不一致,比如depot_tools的地址。
webrtc windows版本同步始终提示 :
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:9f9afb5ef6ef9d4887e8aa2bb617dfdd798f8005…
Failed to download the file, check your network connection
所在位置 C:\github\webrtc_pc_m84\depot_tools\cipd.ps1:116 字符: 5
Failed to bootstrap or update CIPD client
换了电脑也不行。
fatal: unable to access ‘https://gitlab.agora.io/webrtc-mirror/chromium/src/base/’: The requested URL returned error: 504
bash: fatal:: command not found
大佬 看看呗同步的时候网络连接出错了
安装报错了
当前是M88版本的吗? 想做升级, 想一步到位? 不是同步的googlesource 的 master版本的吧?
在host上配置 60.191.137.148 gitlab.agora.io clone depot_tools的时候报443 是不是服务不稳定还是什么问题
现在是不支持windows了么,还是网络需要什么配置?
windows版本 是把这里os版本改成windows么
请问gclient sync的时候老是遇到
[1:35:00] Receiving objects: 25% (572849/2223792), 1.03 GiB | 468.00 KiB/s
[1:35:02] Receiving objects: 25% (573033/2223792), 1.03 GiB | 469.00 KiB/s
[1:35:03] Receiving objects: 25% (573033/2223792), 1.03 GiB | 469.00 KiB/s
[1:35:04] Receiving objects: 25% (573033/2223792), 1.03 GiB | 470.00 KiB/s
[1:35:05] Receiving objects: 25% (573033/2223792), 1.03 GiB | 469.00 KiB/s
[1:35:05] error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
[1:35:05] fatal: The remote end hung up unexpectedly
[1:35:05] fatal: early EOF
[1:35:05] fatal: index-pack failed
Traceback (most recent call last):
File “/root/daixy/webrtc/depot_tools/gclient_scm.py”, line 1052, in _Clone
print_stdout=print_stdout, filter_fn=filter_fn)
File “/root/daixy/webrtc/depot_tools/gclient_scm.py”, line 1391, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File “/root/daixy/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 /root/daixy/webrtc/webrtc/src/_gclient_third_party_h4Ts4X’ returned non-zero exit status 128 in /root/daixy/webrtc/webrtc
[1:35:10] _____ Conflicting directory found in /root/daixy/webrtc/webrtc/src/third_party. Moving to /root/daixy/webrtc/webrtc/_bad_scm/src/third_partym8QpjR.
Warnings:
Conflicting directory /root/daixy/webrtc/webrtc/src/third_party moved to /root/daixy/webrtc/webrtc/_bad_scm/src/third_partym8QpjR.
Traceback (most recent call last):
File “/root/daixy/webrtc/depot_tools/metrics.py”, line 267, in print_notice_and_exit
yield
File “/root/daixy/webrtc/depot_tools/gclient.py”, line 3182, in
sys.exit(main(sys.argv[1:]))
File “/root/daixy/webrtc/depot_tools/gclient.py”, line 3168, in main
return dispatcher.execute(OptionParser(), argv)
File “/root/daixy/webrtc/depot_tools/subcommand.py”, line 252, in execute
return command(parser, args[1:])
File “/root/daixy/webrtc/depot_tools/gclient.py”, line 2725, in CMDsync
ret = client.RunOnDeps(‘update’, args)
File “/root/daixy/webrtc/depot_tools/gclient.py”, line 1763, in RunOnDeps
patch_refs=patch_refs, target_branches=target_branches)
File “/root/daixy/webrtc/depot_tools/gclient_utils.py”, line 906, in flush
reraise(e[0], e[1], e[2])
File “/root/daixy/webrtc/depot_tools/gclient_utils.py”, line 983, in run
self.item.run(*self.args, **self.kwargs)
File “/root/daixy/webrtc/depot_tools/gclient.py”, line 933, in run
file_list)
File “/root/daixy/webrtc/depot_tools/gclient_scm.py”, line 132, in RunCommand
return getattr(self, command)(options, args, file_list)
File “/root/daixy/webrtc/depot_tools/gclient_scm.py”, line 555, in update
self._DeleteOrMove(options.force)
File “/root/daixy/webrtc/depot_tools/gclient_scm.py”, line 207, in _DeleteOrMove
shutil.move(self.checkout_path, dest_path)
File “/usr/lib/python2.7/shutil.py”, line 325, in move
copy2(src, real_dst)
File “/usr/lib/python2.7/shutil.py”, line 153, in copy2
copyfile(src, dst)
File “/usr/lib/python2.7/shutil.py”, line 96, in copyfile
with open(src, ‘rb’) as fsrc:
IOError: [Errno 2] No such file or directory: ‘/root/daixy/webrtc/webrtc/src/third_party’
gn gen out/Release “–args=is_debug=false”
报错:
gn.py: Could not find gn executable at: /root/daixy/webrtc/webrtc/src/buildtools/linux64/gn
请问这种怎么解决啊,反复试了无数遍,总是卡在这一步。
如果把gclient sync换成gclient sync --nohooks --no-history就会报如下错误
在ubuntu18.04 上编译碰到如下错误:
gn.py: Could not find gn executable at: /openWork/webrtcPro/webrtc/src/buildtools/linux64/gn
本人执行环境ubuntu18.04 64位,当运行 gn gen out/Release "–args=is_debug=false"后,出现以下错误:
且路径src/buildtools/linux64下不存在gn文件。
有下载成功的吗?我再ubuntu下下载android代码,使用gclient sync的话一会就断了报错
ninja -C out/Release
ninja: Entering directory `out/Release’
[1/1] Regenerating ninja files
ninja: error: ‘…/…/third_party/libaom/source/libaom/av1/common/alloccommon.c’, needed by ‘obj/third_party/libaom/libaom/alloccommon.o’, missing and no known rule to make it
我看到libaom在gitignore里,那是不是代表我要自己从github上下载?
请问为什么我同步下来的源码中modules下没有audio_conference_mixer
各位大佬,问一下这个错怎么解决?
android 版本通过 gclient sync --nohooks --no-history 通不过之后,后续编译的时候是否还需要再执行 ```
cd $WORKSPACE/webrtc && gclient sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab
android 版本编译的时候提示
ninja: error: ‘…/…/resources/audio_processing/test/py_quality_assessment/noise_tracks/city.wav’, needed by ‘py_quality_assessment/noise_tracks/city.wav’, missing and no known rule to make it
请问这个如何处理?
补充下,我下载的是linux版本
File “/home/wwd/depot_tools/gclient.py”, line 933, in run
file_list)
File “/home/wwd/depot_tools/gclient_scm.py”, line 132, in RunCommand
return getattr(self, command)(options, args, file_list)
File “/home/wwd/depot_tools/gclient_scm.py”, line 555, in update
self._DeleteOrMove(options.force)
File “/home/wwd/depot_tools/gclient_scm.py”, line 207, in _DeleteOrMove
shutil.move(self.checkout_path, dest_path)
File “/usr/lib/python2.7/shutil.py”, line 325, in move
copy2(src, real_dst)
File “/usr/lib/python2.7/shutil.py”, line 153, in copy2
copyfile(src, dst)
File “/usr/lib/python2.7/shutil.py”, line 96, in copyfile
with open(src, ‘rb’) as fsrc:
IOError: [Errno 2] No such file or directory: ‘/home/wwd/webrtc/src/third_party’
Sun Apr 11 01:27:35 PDT 2021
root@ubuntu:/home/wwd/webrtc#
root@ubuntu:/home/wwd/webrtc#
root@ubuntu:/home/wwd/webrtc#
帮忙看下,一直在这个地方停住不下载了,重复N次也一样
ubuntu 1804代码下载时候错误
mailonghua @ ubuntu in /project/video_streaming/webrtc/google/ShengWang/webrtc [19:07:27]
$ date; gclient sync; date
2021年 04月 19日 星期一 19:08:10 PDT
Your copy of depot_tools is configured to fetch from an obsolete URL:
https://webrtc.bj2.agoralab.co/webrtc-mirror/depot_tools.git
OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n
Syncing projects: 15% ( 6/40) src/tools
[0:01:03] Still working on:
[0:01:03] src/third_party
[0:01:13] Still working on:
[0:01:13] src/third_party
[0:01:23] Still working on:
[0:01:23] src/third_party
[0:01:33] Still working on:
[0:01:33] src/third_party
[0:01:43] Still working on:
[0:01:43] src/third_party
[0:01:53] Still working on:
[0:01:53] src/third_party
[0:02:03] Still working on:
[0:02:03] src/third_party
[0:02:13] Still working on:
[0:02:13] src/third_party
[0:02:23] Still working on:
[0:02:23] src/third_party
[0:02:33] Still working on:
[0:02:33] src/third_party
[0:02:43] Still working on:
[0:02:43] src/third_party
[0:02:53] Still working on:
[0:02:53] src/third_party
[0:03:03] Still working on:
[0:03:03] src/third_party
[0:03:13] Still working on:
[0:03:13] src/third_party
[0:03:23] Still working on:
[0:03:23] src/third_party
[0:03:33] Still working on:
[0:03:33] src/third_party
[0:03:43] Still working on:
[0:03:43] src/third_party
[0:03:53] Still working on:
[0:03:53] src/third_party
[0:04:03] Still working on:
[0:04:03] src/third_party
[0:04:13] Still working on:
[0:04:13] src/third_party
[0:04:23] Still working on:
[0:04:23] src/third_party
[0:04:33] Still working on:
[0:04:33] src/third_party
[0:04:43] Still working on:
[0:04:43] src/third_party
[0:04:53] Still working on:
[0:04:53] src/third_party
[0:05:03] Still working on:
[0:05:03] src/third_party
[0:05:13] Still working on:
[0:05:13] src/third_party
[0:05:23] Still working on:
[0:05:23] src/third_party
[0:05:33] Still working on:
[0:05:33] src/third_party
[0:05:43] Still working on:
[0:05:43] src/third_party
[0:05:53] Still working on:
[0:05:53] src/third_party
[0:06:03] Still working on:
[0:06:03] src/third_party
[0:06:13] Still working on:
[0:06:13] src/third_party
[0:06:23] Still working on:
[0:06:23] src/third_party
[0:06:33] Still working on:
[0:06:33] src/third_party
[0:06:43] Still working on:
[0:06:43] src/third_party
[0:06:53] Still working on:
[0:06:53] src/third_party
[0:07:03] Still working on:
[0:07:03] src/third_party
[0:07:13] Still working on:
[0:07:13] src/third_party
[0:07:23] Still working on:
[0:07:23] src/third_party
[0:07:33] Still working on:
[0:07:33] src/third_party
[0:07:43] Still working on:
[0:07:43] src/third_party
[0:07:53] Still working on:
[0:07:53] src/third_party
[0:08:03] Still working on:
[0:08:03] src/third_party
[0:08:13] Still working on:
[0:08:13] src/third_party
[0:08:23] Still working on:
[0:08:23] src/third_party
[0:08:33] Still working on:
[0:08:33] src/third_party
[0:08:43] Still working on:
[0:08:43] src/third_party
[0:08:53] Still working on:
[0:08:53] src/third_party
[0:09:03] Still working on:
[0:09:03] src/third_party
[0:09:13] Still working on:
[0:09:13] src/third_party
[0:09:23] Still working on:
[0:09:23] src/third_party
[0:09:33] Still working on:
[0:09:33] src/third_party
[0:09:43] Still working on:
[0:09:43] src/third_party
[0:09:53] Still working on:
[0:09:53] src/third_party
[0:10:03] Still working on:
[0:10:03] src/third_party
[0:10:13] Still working on:
[0:10:13] src/third_party
[0:10:23] Still working on:
[0:10:23] src/third_party
[0:10:33] Still working on:
[0:10:33] src/third_party
[0:10:43] Still working on:
[0:10:43] src/third_party
[0:10:53] Still working on:
[0:10:53] src/third_party
[0:11:03] Still working on:
[0:11:03] src/third_party
[0:11:13] Still working on:
[0:11:13] src/third_party
[0:11:23] Still working on:
[0:11:23] src/third_party
[0:11:33] Still working on:
[0:11:33] src/third_party
[0:11:43] Still working on:
[0:11:43] src/third_party
[0:11:53] Still working on:
[0:11:53] src/third_party
[0:12:03] Still working on:
[0:12:03] src/third_party
[0:12:13] Still working on:
[0:12:13] src/third_party
[0:12:23] Still working on:
[0:12:23] src/third_party
[0:12:33] Still working on:
[0:12:33] src/third_party
[0:12:43] Still working on:
[0:12:43] src/third_party
[0:12:53] Still working on:
[0:12:53] src/third_party
[0:13:03] Still working on:
[0:13:03] src/third_party
[0:13:13] Still working on:
[0:13:13] src/third_party
[0:13:23] Still working on:
[0:13:23] src/third_party
[0:13:33] Still working on:
[0:13:33] src/third_party
[0:13:43] Still working on:
[0:13:43] src/third_party
[0:13:53] Still working on:
[0:13:53] src/third_party
[0:14:03] Still working on:
[0:14:03] src/third_party
[0:14:13] Still working on:
[0:14:13] src/third_party
[0:14:23] Still working on:
[0:14:23] src/third_party
[0:14:33] Still working on:
[0:14:33] src/third_party
[0:14:43] Still working on:
[0:14:43] src/third_party
[0:14:53] Still working on:
[0:14:53] src/third_party
[0:15:03] Still working on:
[0:15:03] src/third_party
[0:15:13] Still working on:
[0:15:13] src/third_party
[0:15:23] Still working on:
[0:15:23] src/third_party
[0:15:33] Still working on:
[0:15:33] src/third_party
[0:15:43] Still working on:
[0:15:43] src/third_party
[0:15:53] Still working on:
[0:15:53] src/third_party
[0:16:03] Still working on:
[0:16:03] src/third_party
[0:16:13] Still working on:
[0:16:13] src/third_party
[0:16:23] Still working on:
[0:16:23] src/third_party
[0:16:33] Still working on:
[0:16:33] src/third_party
[0:16:43] Still working on:
[0:16:43] src/third_party
[0:16:53] Still working on:
[0:16:53] src/third_party
[0:17:03] Still working on:
[0:17:03] src/third_party
[0:17:13] Still working on:
[0:17:13] src/third_party
[0:17:23] Still working on:
[0:17:23] src/third_party
[0:17:33] Still working on:
[0:17:33] src/third_party
[0:17:43] Still working on:
[0:17:43] src/third_party
[0:17:53] Still working on:
[0:17:53] src/third_party
[0:18:03] Still working on:
[0:18:03] src/third_party
[0:18:13] Still working on:
[0:18:13] src/third_party
[0:18:23] Still working on:
[0:18:23] src/third_party
[0:18:33] Still working on:
[0:18:33] src/third_party
[0:18:43] Still working on:
[0:18:43] src/third_party
[0:18:53] Still working on:
[0:18:53] src/third_party
[0:19:03] Still working on:
[0:19:03] src/third_party
[0:19:13] Still working on:
[0:19:13] src/third_party
[0:19:23] Still working on:
[0:19:23] src/third_party
[0:19:33] Still working on:
[0:19:33] src/third_party
[0:19:43] Still working on:
[0:19:43] src/third_party
[0:19:53] Still working on:
[0:19:53] src/third_party
[0:20:03] Still working on:
[0:20:03] src/third_party
[0:20:13] Still working on:
[0:20:13] src/third_party
[0:20:23] Still working on:
[0:20:23] src/third_party
[0:20:33] Still working on:
[0:20:33] src/third_party
[0:20:43] Still working on:
[0:20:43] src/third_party
[0:20:53] Still working on:
[0:20:53] src/third_party
[0:21:03] Still working on:
[0:21:03] src/third_party
[0:21:13] Still working on:
[0:21:13] src/third_party
[0:21:23] Still working on:
[0:21:23] src/third_party
[0:21:33] Still working on:
[0:21:33] src/third_party
[0:21:43] Still working on:
[0:21:43] src/third_party
[0:21:53] Still working on:
[0:21:53] src/third_party
[0:22:03] Still working on:
[0:22:03] src/third_party
[0:22:13] Still working on:
[0:22:13] src/third_party
[0:22:23] Still working on:
[0:22:23] src/third_party
[0:22:33] Still working on:
[0:22:33] src/third_party
[0:22:43] Still working on:
[0:22:43] src/third_party
[0:22:53] Still working on:
[0:22:53] src/third_party
[0:23:03] Still working on:
[0:23:03] src/third_party
[0:23:13] Still working on:
[0:23:13] src/third_party
[0:23:23] Still working on:
[0:23:23] src/third_party
[0:23:33] Still working on:
[0:23:33] src/third_party
[0:23:43] Still working on:
[0:23:43] src/third_party
[0:23:53] Still working on:
[0:23:53] src/third_party
[0:24:03] Still working on:
[0:24:03] src/third_party
[0:24:13] Still working on:
[0:24:13] src/third_party
[0:24:23] Still working on:
[0:24:23] src/third_party
[0:24:33] Still working on:
[0:24:33] src/third_party
[0:24:43] Still working on:
[0:24:43] src/third_party
[0:24:53] Still working on:
[0:24:53] src/third_party
[0:25:03] Still working on:
[0:25:03] src/third_party
[0:25:13] Still working on:
[0:25:13] src/third_party
[0:25:23] Still working on:
[0:25:23] src/third_party
[0:25:33] Still working on:
[0:25:33] src/third_party
[0:25:43] Still working on:
[0:25:43] src/third_party
[0:25:53] Still working on:
[0:25:53] src/third_party
[0:26:03] Still working on:
[0:26:03] src/third_party
[0:26:13] Still working on:
[0:26:13] src/third_party
[0:26:23] Still working on:
[0:26:23] src/third_party
[0:26:33] Still working on:
[0:26:33] src/third_party
[0:26:43] Still working on:
[0:26:43] src/third_party
[0:26:53] Still working on:
[0:26:53] src/third_party
[0:27:03] Still working on:
[0:27:03] src/third_party
[0:27:13] Still working on:
[0:27:13] src/third_party
[0:27:23] Still working on:
[0:27:23] src/third_party
[0:27:33] Still working on:
[0:27:33] src/third_party
[0:27:43] Still working on:
[0:27:43] src/third_party
[0:27:53] Still working on:
[0:27:53] src/third_party
[0:28:03] Still working on:
[0:28:03] src/third_party
[0:28:13] Still working on:
[0:28:13] src/third_party
[0:28:23] Still working on:
[0:28:23] src/third_party
[0:28:33] Still working on:
[0:28:33] src/third_party
[0:28:43] Still working on:
[0:28:43] src/third_party
[0:28:53] Still working on:
[0:28:53] src/third_party
[0:29:03] Still working on:
[0:29:03] src/third_party
[0:31:23] Still working on:
[0:31:23] src/third_party
6>WARNING: subprocess ‘“git” “-c” “core.deltaBaseCacheLimit=2g” “clone” “–no-checkout” “–progress” “https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party” “/opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/_gclient_third_party_O2blMv”’ in /opt/project/video_streaming/webrtc/google/ShengWang/webrtc failed; will retry after a short nap…
[0:31:33] Still working on:
[0:31:33] src/third_party
[0:31:43] Still working on:
[0:31:43] src/third_party
[0:31:53] Still working on:
[0:31:53] src/third_party
[0:32:03] Still working on:
[0:32:03] src/third_party
[0:32:13] Still working on:
[0:32:13] src/third_party
[1:30:34] Still working on:
[1:30:34] src/third_party
[1:30:44] Still working on:
[1:30:44] src/third_party
[1:30:54] Still working on:
[1:30:54] src/third_party
[1:31:04] Still working on:
[1:31:04] src/third_party
6>WARNING: subprocess ‘“git” “-c” “core.deltaBaseCacheLimit=2g” “clone” “–no-checkout” “–progress” “https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party” “/opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/_gclient_third_party_O2blMv”’ in /opt/project/video_streaming/webrtc/google/ShengWang/webrtc failed; will retry after a short nap…
[1:31:14] Still working on:
[1:31:14] src/third_party
[1:31:24] Still working on:
[1:31:24] src/third_party
[1:31:34] Still working on:
[1:31:34] src/third_party
[1:31:44] Still working on:
[1:31:44] src/third_party
[1:31:55] Still working on:
[1:31:55] src/third_party
[1:32:05] Still working on:
[1:32:05] src/third_party
[1:32:15] Still working on:
[1:32:15] src/third_party
[1:32:25] Still working on:
[1:32:25] src/third_party
[1:32:35] Still working on:
[1:32:35] src/third_party
[1:32:45] Still working on:
[1:32:45] src/third_party
[1:32:55] Still working on:
[1:32:55] src/third_party
[1:33:05] Still working on:
[1:33:05] src/third_party
[1:33:15] Still working on:
[1:33:15] src/third_party
[1:33:25] Still working on:
[1:33:25] src/third_party
[1:33:35] Still working on:
[1:33:35] src/third_party
[1:33:45] Still working on:
[1:33:45] src/third_party
[1:33:55] Still working on:
[1:33:55] src/third_party
[1:34:05] Still working on:
[1:34:05] src/third_party
[1:34:15] Still working on:
[1:34:15] src/third_party
[1:34:25] Still working on:
[1:34:25] src/third_party
[1:34:35] Still working on:
[1:34:35] src/third_party
[1:34:45] Still working on:
[1:34:45] src/third_party
[1:34:55] Still working on:
[1:34:55] src/third_party
[1:35:05] Still working on:
[1:35:05] src/third_party
[1:35:15] Still working on:
[1:35:15] src/third_party
[1:35:25] Still working on:
[1:35:25] src/third_party
[1:35:35] Still working on:
[1:35:35] src/third_party
[1:35:45] Still working on:
[1:35:45] src/third_party
[1:35:55] Still working on:
[1:35:55] src/third_party
[1:36:05] Still working on:
[1:36:05] src/third_party
[1:36:15] Still working on:
[1:36:15] src/third_party
[1:36:25] Still working on:
[1:36:25] src/third_party
[1:36:35] Still working on:
[1:36:35] src/third_party
[1:36:45] Still working on:
[1:36:45] src/third_party
[1:36:55] Still working on:
[1:36:55] src/third_party
[1:37:05] Still working on:
[1:37:05] src/third_party
[1:37:15] Still working on:
[1:37:15] src/third_party
[1:37:25] Still working on:
[1:37:25] src/third_party
[1:37:35] Still working on:
[1:37:35] src/third_party
[1:37:45] Still working on:
[1:37:45] src/third_party
[1:37:55] Still working on:
[1:37:55] src/third_party
[1:38:05] Still working on:
[1:38:05] src/third_party
[1:38:15] Still working on:
[1:38:15] src/third_party
[1:38:25] Still working on:
[1:38:25] src/third_party
[1:38:35] Still working on:
[1:38:35] src/third_party
[1:38:45] Still working on:
[1:38:45] src/third_party
[1:38:55] Still working on:
[1:38:55] src/third_party
[1:39:05] Still working on:
[1:39:05] src/third_party
[1:39:15] Still working on:
[1:39:15] src/third_party
[1:39:25] Still working on:
[1:39:25] src/third_party
[1:39:35] Still working on:
[1:39:35] src/third_party
[1:39:45] Still working on:
[1:39:45] src/third_party
[1:39:55] Still working on:
[1:39:55] src/third_party
[1:40:05] Still working on:
[1:40:05] src/third_party
[1:40:15] Still working on:
[1:40:15] src/third_party
[1:40:25] Still working on:
[1:40:25] src/third_party
[1:40:35] Still working on:
[1:40:35] src/third_party
[1:41:05] Still working on:
[1:41:05] src/third_party
[1:41:15] Still working on:
[1:41:15] src/third_party
[1:41:25] Still working on:
[1:41:25] src/third_party
[1:46:15] Still working on:
[1:46:15] src/third_party
[1:46:25] Still working on:
[1:46:25] src/third_party
[1:46:35] Still working on:
[1:46:35] src/third_party
[1:46:45] Still working on:
[1:46:45] src/third_party
[1:46:55] Still working on:
[1:46:55] src/third_party
6>WARNING: subprocess ‘“git” “-c” “core.deltaBaseCacheLimit=2g” “clone” “–no-checkout” “–progress” “https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party” “/opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/_gclient_third_party_O2blMv”’ in /opt/project/video_streaming/webrtc/google/ShengWang/webrtc failed; will retry after a short nap…
[1:47:01] Still working on:
[1:47:01] src/third_party
Syncing projects: 17% ( 7/40) src/third_party
src/testing (ERROR)
[0:00:02] Started.
[0:00:02] Finished running: git config remote.origin.url
[0:00:02] Finished running: git rev-list -n 1 HEAD
[0:00:02] Finished running: git rev-parse --abbrev-ref=strict HEAD
[0:00:02] Finished running: git rev-parse 5a5fb44e80d7fa2a1bb7c86467d7217335e6bae8
Error: 5>
5> ____ src/testing at 5a5fb44e80d7fa2a1bb7c86467d7217335e6bae8
5> You have unstaged changes.
5> Please commit, stash, or reset.
Warnings:
Conflicting directory /opt/project/video_streaming/webrtc/google/ShengWang/webrtc/src/third_party moved to /opt/project/video_streaming/webrtc/google/ShengWang/webrtc/_bad_scm/src/third_party9CgnVZ.
2021年 04月 19日 星期一 20:55:37 PDT
按照之前的方法sync完了,这个问题应该怎么办?是因为没有证书吗
root@ubuntu:/usr/local/src/workspace/webrtc# gclient sync --nohooks --no-history
Your copy of depot_tools is configured to fetch from an obsolete URL:
https://webrtc.bj2.agoralab.co/webrtc-mirror/depot_tools.git
OK to update it to https://chromium.googlesource.com/chromium/tools/depot_tools.git ? [Y/n] n
curl: (7) Failed to connect to 127.0.0.1 port 1080: Connection refused
curl: (7) Failed to connect to 127.0.0.1 port 1080: Connection refused
/usr/local/src/workspace/depot_tools/bootstrap_python3: line 32: bootstrap-3.8.0.chromium.8_bin/python3/bin/python3: No such file or directory
Syncing projects: 100% (40/40), done.
________ running ‘cipd ensure -log-level error -root /usr/local/src/workspace/webrtc -ensure-file /tmp/tmp87KOhH.ensure’ in ‘.’
curl: (7) Failed to connect to 127.0.0.1 port 1080: Connection refused
Error: Command ‘cipd ensure -log-level error -root /usr/local/src/workspace/webrtc -ensure-file /tmp/tmp87KOhH.ensure’ returned non-zero exit status 7
root@ubuntu:/usr/local/src/workspace/webrtc#
ubuntu18.04下载包时报错IOERROR:[errno 2]
windows需要代理才能下载webrtc? 如果代理可以访问外网那岂不是直接按照官网操作就行了?。。。
您好呀,我在下载过程中,尝试使用代理和不使用代理,但结果都是卡到这个地方。不知是否需要配置其他环境?
D:\web_rtc_0729\code>gclient config --name src https://chromium.googlesource.com/external/webrtc.git@gitlab
Downloading CIPD client for windows-amd64 from https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:bd09df254cc0d6ca4319f23c16b9039091be5b00…
Failed to download the file, check your network connection
所在位置 D:\web_rtc\depot_tools\cipd.ps1:116 字符: 5
Failed to bootstrap or update CIPD client
您好,我是在Ubuntu20.04环境下编译的,在生成编译文件
gn gen out/Debug-device-arm64 --args='target_os="linux" target_cpu="arm64"'
时出现了以下的问题:请问下为什么会出现这样的报错??
windows下 depot_tools 已经单独从https://chromium.googlesource.com/chromium/src.git/+/58.0.3029.96/docs/windows_build_instructions.md 下载, 但是运行gclient 命令,显示,无法下载CIPD client。
从cmd 行中提取的地址去浏览下下载(https://chrome-infra-packages.appspot.com/client?platform=windows-amd64&version=git_revision:8e9b0c80860d00dfe951f7ea37d74e210d376c13…)
回复 no such tag.-------- 至此 gclient sync 执行的后续py脚本无法继续,也就无法继续获取webrtc 源码,求助,急急急急急急—万分感谢
gclient sync 每次下载到third_party模块,进行到1.03G左右就失败了,重试还是一样,已经重试了两天了,没一次下载成功
[0:37:11] Receiving objects: 25% (572054/2223792), 1.02 GiB | 497.00 KiB/s
[0:37:12] Receiving objects: 25% (572054/2223792), 1.02 GiB | 495.00 KiB/s
[0:37:13] Receiving objects: 25% (572264/2223792), 1.02 GiB | 487.00 KiB/s
[0:37:15] Receiving objects: 25% (573033/2223792), 1.03 GiB | 493.00 KiB/s
[0:37:16] Receiving objects: 25% (573033/2223792), 1.03 GiB | 498.00 KiB/s
[0:37:17] Receiving objects: 25% (573033/2223792), 1.03 GiB | 495.00 KiB/s
[0:37:18] error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
[0:37:18] fetch-pack: unexpected disconnect while reading sideband packet
[0:37:18] fatal: early EOF
[0:37:18] fatal: fetch-pack: invalid index-pack output
[0:37:19]
________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://webrtc.bj2.agoralab.co/webrtc-mirror/chromium/src/third_party D:\work\webrtc\src_gclient_third_party_smm4pymv’ in ‘D:\work\webrtc’ attempt 2 / 4
在centOS系统下,下载老是卡在这里
请问这是什么原因啊,怎么解决呢
Your copy of depot_tools is configured to fetch from an obsolete URL:
https://webrtc.bj2.agoralab.co/webrtc-mirror/depot_tools.git
OK to update it to chromium/tools/depot_tools.git - Git at Google ? [Y/n] n
Syncing projects: 41% (16/39) src/tools/swarming_client
一直卡在swarming_client 这个地方,开了VPN也不行,这个怎么能处理呢?
谁有下载好的ubuntu系统的webrtc源码包呢?能麻烦传一份到网盘呢哈哈
真是良心公司
Mac 电脑下 准备编译 Android的,报如下的错误:
________ running ‘cipd ensure -log-level error -root /Users/zhenzhen/SELF/webrtcNew/webrtc -ensure-file /var/folders/m_/lyvwjlqn3zz6hzdwxcdnpqww0000gp/T/tmpgknxzc8c.ensure’ in ‘.’
Errors:
failed to resolve gn/gn/mac-amd64@git_revision:5ed3c9cc67b090d5e311e4bd2aba072173e82db9 (line 4): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
failed to resolve infra/tools/luci/isolate/mac-amd64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 10): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
failed to resolve infra/tools/luci/isolated/mac-amd64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 11): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
failed to resolve infra/tools/luci/swarming/mac-amd64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 12): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
Error: Command ‘cipd ensure -log-level error -root /Users/zhenzhen/SELF/webrtcNew/webrtc -ensure-file /var/folders/m_/lyvwjlqn3zz6hzdwxcdnpqww0000gp/T/tmpgknxzc8c.ensure’ returned non-zero exit status 1
Errors:
failed to resolve gn/gn/mac-amd64@git_revision:5ed3c9cc67b090d5e311e4bd2aba072173e82db9 (line 4): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
failed to resolve infra/tools/luci/isolate/mac-amd64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 10): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
failed to resolve infra/tools/luci/isolated/mac-amd64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 11): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
failed to resolve infra/tools/luci/swarming/mac-amd64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 12): prpc: when sending request: Post “https://chrome-infra-packages.appspot.com/prpc/cipd.Repository/ResolveVersion”: dial tcp 142.250.149.153:443: i/o timeout
[5/4360] RC obj/modules/desktop_capture/desktop_capture_unittests/cursor_unittest_resources.res
FAILED: obj/modules/desktop_capture/desktop_capture_unittests/cursor_unittest_resources.res
E:/depot_tools/bootstrap-3_8_0_chromium_8_bin/python/bin/python.exe …/…/build/toolchain/win/tool_wrapper.py rc-wrapper environment.x64 rc.exe /nologo “-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include” “-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include” “-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um” “-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt” “-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared” “-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um” “-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt” “-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt” -DUSE_AURA=1 "-DCR_CLANG_REVISION=“llvmorg-13-init-3462-gfe5c2c3c-2"” -D_HAS_NODISCARD -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -D_LIBCPP_DEBUG=0 -D_LIBCPP_NO_AUTO_LINK -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_VB -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_WIN -DABSL_ALLOCATOR_NOTHROW=1 -DABSL_FLAGS_STRIP_NAMES=0 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_HAS_ABSL=1 -DWEBRTC_UNIT_TEST -I…/… -Igen -I…/…/third_party/abseil-cpp -I…/…/third_party/libyuv/include -I…/…/third_party/googletest/custom -I…/…/third_party/googletest/src/googlemock/include -I…/…/third_party/googletest/custom -I…/…/third_party/googletest/src/googletest/include -I…/…/third_party/abseil-cpp /foobj/modules/desktop_capture/desktop_capture_unittests/cursor_unittest_resources.res …/…/modules/desktop_capture/win/cursor_unittest_resources.rc
Traceback (most recent call last):
File “F:\linephone\webrtc\webrtc-checkout\src\build\toolchain\win\rc\rc.py”, line 276, in
sys.exit(main())
File “F:\linephone\webrtc\webrtc-checkout\src\build\toolchain\win\rc\rc.py”, line 270, in main
rc_exe_exit_code = CompareToMsRcOutput(preprocessed_output, is_utf8, flags)
File “F:\linephone\webrtc\webrtc-checkout\src\build\toolchain\win\rc\rc.py”, line 244, in CompareToMsRcOutput
rc_exe_exit_code = subprocess.call(msrc_cmd)
File “E:\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\lib\subprocess.py”, line 172, in call
return Popen(*popenargs, **kwargs).wait()
File “E:\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\lib\subprocess.py”, line 394, in init
errread, errwrite)
File “E:\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\lib\subprocess.py”, line 644, in _execute_child
startupinfo)
WindowsError: [Error 2]
[14/4360] CXX obj/modules/utility/utility_unittests/process_thread_impl_unittest.obj
ninja: build stopped: subcommand failed.
用vs21017cmd 可以编译但是直接win+r cmd编译报上述错误 求解
gn.py: Could not find gn executable at:
自行下载:下载Linux gn, https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+/latest
下载后出现新的问题:
gn gen out/Release
ERROR at //build/config/BUILDCONFIG.gn:401:1: Unknown function.
set_sources_assignment_filter(sources_assignment_filter)
不要用最新版gn,会报错:
ERROR at //build/config/BUILDCONFIG.gn:495:1: Unknown function.
set_sources_assignment_filter(sources_assignment_filter).因为这个函数随着gn的更新,已经在2020年废弃了。
打算到github找一个2020年前的版本。
gn-linux-arm64.zip (865.6 KB)
gn-linux-amd64 .zip (865.7 KB)
xproto:
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc’
to the PKG_CONFIG_PATH environment variable
Package ‘xproto’, required by ‘xau’, not found
Could not run pkg-config.
See //build/config/linux/gtk/BUILD.gn:13:1: whence it was called.
pkg_config(“gtk_internal_config”) {
^----------------------------------
See //examples/BUILD.gn:695:17: which caused the file to be included.
deps += [ “//build/config/linux/gtk” ]
^-------------------------
‘’’
git_package=“renderproto kbproto xextproto xineramaproto inputproto fixesproto randrproto compositeproto damageproto”
for i in $git_package;
do
echo 下载 $i …
git clone git://anongit.freedesktop.org/git/xorg/proto/$i >> download-$i.txt 2>&1
#git clone git://anongit.freedesktop.org/git/xorg/proto/xorgproto
git clone https://github.com/freedesktop/xorg-xproto.git
echo 安装 $i …
cd $i && ./autogen.sh >>…/install-$i.txt 2>&1 && sudo make install >>…/install-$i.txt 2>&1 && cd …
done
‘’’
各种缺文件,已崩溃:
gn path debug: /home/user/work/webRTC/webrtc/src/buildtools/linux64/gn [‘gen’, ‘out/Release’, ‘–args=is_debug=false’]
ERROR at //third_party/protobuf/BUILD.gn:353:12: Can’t load input file.
deps = [ “//third_party/zlib” ]
^-------------------
Unable to load:
/home/user/work/webRTC/webrtc/src/third_party/zlib/BUILD.gn
I also checked in the secondary tree for:
/home/user/work/webRTC/webrtc/src/build/secondary/third_party/zlib/BUILD.gn
@qinxingxing 下面的包现在还available吗?
Err:17 https://webrtc.org.cn/mirror xenial/main amd64 Packages
404 Not Found
碰到几个问题了, 请大神支招啊:
1、怎么才能同步gn呢?
gn gen out/Release “–args=is_debug=false”
gn.py: Could not find gn executable at: /home/user/webrtc/src/buildtools/linux64/gn
2、代码是否同步完成了?
user@user-Latitude-5490:~/webrtc/src$ date; gclient sync; date
2022年 05月 11日 星期三 09:49:49 CST
Your copy of depot_tools is configured to fetch from an obsolete URL:
https://webrtc.bj2.agoralab.co/webrtc-mirror/depot_tools.git
OK to update it to chromium/tools/depot_tools.git - Git at Google ? [Y/n] n
curl: (7) Failed to connect to chrome-infra-packages.appspot.com port 443: Connection timed out
curl: (7) Failed to connect to chrome-infra-packages.appspot.com port 443: Connection timed out
/home/user/work/webRTC/depot_tools/bootstrap_python3: line 32: bootstrap-3.8.0.chromium.8_bin/python3/bin/python3: No such file or directory
/home/user/webrtc/.gclient_entries missing, .gclient file in parent directory /home/user/webrtc might not be the file you want to use.
Syncing projects: 100% (40/40), done.
________ running ‘cipd ensure -log-level error -root /home/user/work/webRTC/webrtc -ensure-file /tmp/tmpDvXtc3.ensure’ in ‘.’
curl: (7) Failed to connect to chrome-infra-packages.appspot.com port 443: Connection timed out
Error: Command ‘cipd ensure -log-level error -root /home/user/work/webRTC/webrtc -ensure-file /tmp/tmpDvXtc3.ensure’ returned non-zero exit status 7
在编译时,提示…/…/third_party/llvm-build/Release+Asserts/bin/clang++: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27’ not found (required by …/…/third_party/llvm-build/Release+Asserts/bin/clang++)
ubuntu16, 不支持GLIBC_2.27, ubuntu18是支持的。
在ubuntu16上直接安装GLIBC_2.27, 估计会导致系统不稳定。
如果要在ubuntu16上做编译,怎么处理? 不想升级ubuntu18.
不知道是地址的问题?
[0:32:17] Receiving objects: 23% (533115/2223792), 1012.95 MiB | 3.25 MiB/s
[0:32:18] Receiving objects: 24% (539213/2223792), 1018.07 MiB | 3.41 MiB/s
[0:32:19] Receiving objects: 24% (549471/2223792), 1021.49 MiB | 3.41 MiB/s
[0:32:21] Receiving objects: 24% (552009/2223792), 1.00 GiB | 3.40 MiB/s
[0:32:23] Receiving objects: 25% (555948/2223792), 1.00 GiB | 3.41 MiB/s
[0:32:24] Receiving objects: 25% (556462/2223792), 1.01 GiB | 3.41 MiB/s
[0:32:25] Receiving objects: 25% (558203/2223792), 1.01 GiB | 3.25 MiB/s
[0:32:27] fatal: the remote end hung up unexpectedly
[0:32:27] fatal: early EOF
[0:32:27] fatal: index-pack failed
Traceback (most recent call last):
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient_scm.py”, line 1052, in _Clone
print_stdout=print_stdout, filter_fn=filter_fn)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient_scm.py”, line 1391, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/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 /home/ubuntu/workspace/webrtc/webrtc_m84/src/_gclient_third_party_HWadUi’ returned non-zero exit status 128 in /home/ubuntu/workspace/webrtc/webrtc_m84
[0:32:31] _____ Conflicting directory found in /home/ubuntu/workspace/webrtc/webrtc_m84/src/third_party. Moving to /home/ubuntu/workspace/webrtc/webrtc_m84/_bad_scm/src/third_partySZbSi1.
Warnings:
Conflicting directory /home/ubuntu/workspace/webrtc/webrtc_m84/src/third_party moved to /home/ubuntu/workspace/webrtc/webrtc_m84/_bad_scm/src/third_partySZbSi1.
Traceback (most recent call last):
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/metrics.py”, line 267, in print_notice_and_exit
yield
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient.py”, line 3182, in
sys.exit(main(sys.argv[1:]))
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient.py”, line 3168, in main
return dispatcher.execute(OptionParser(), argv)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/subcommand.py”, line 252, in execute
return command(parser, args[1:])
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient.py”, line 2725, in CMDsync
ret = client.RunOnDeps(‘update’, args)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient.py”, line 1763, in RunOnDeps
patch_refs=patch_refs, target_branches=target_branches)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient_utils.py”, line 906, in flush
reraise(e[0], e[1], e[2])
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient_utils.py”, line 983, in run
self.item.run(*self.args, **self.kwargs)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient.py”, line 933, in run
file_list)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient_scm.py”, line 132, in RunCommand
return getattr(self, command)(options, args, file_list)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient_scm.py”, line 555, in update
self._DeleteOrMove(options.force)
File “/home/ubuntu/workspace/webrtc/webrtc_m84/depot_tools/gclient_scm.py”, line 207, in _DeleteOrMove
shutil.move(self.checkout_path, dest_path)
File “/usr/lib/python2.7/shutil.py”, line 325, in move
copy2(src, real_dst)
File “/usr/lib/python2.7/shutil.py”, line 153, in copy2
copyfile(src, dst)
File “/usr/lib/python2.7/shutil.py”, line 96, in copyfile
with open(src, ‘rb’) as fsrc:
IOError: [Errno 2] No such file or directory: ‘/home/ubuntu/workspace/webrtc/webrtc_m84/src/third_party’
2022年 07月 26日 星期二 17:19:59 CST
@JeffZ @qinxingxing 下载android平台的一直卡在,能帮忙看一下原因吗,好像好多人遇到了,但是都没有解决办法,非常感谢
求救,镜像总是下载到40%就失败了
android版本:
执行cd $WORKSPACE/webrtc && gclient sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab后,遇见Error: Wrong revision format: https://chromium.googlesource.com/chromium/src/build.git@gitlab should be of the form patch_repo@target_branch:patch_ref.
请问一下 有没有交流群
无法拉取到 WebRTC 源码
要如何解决?
遇到这个问题怎么办
➜ src git:(4147webrtc_android) ✗ ninja -C android/Release
ninja: Entering directory `android/Release'
ninja: error: '../../third_party/android_sdk/public/platforms/android-29/android.jar', needed by 'gen/sdk/android/generated_external_classes_jni/Integer_jni.h', missing and no known rule to make it