gclient sync android webrtc error.

654 views
Skip to first unread message

Yaowen Guo

unread,
Oct 23, 2023, 12:56:23 AM10/23/23
to discuss-webrtc
I run "gclient sync"  after  pull the main branch code from webrtc. Then I got a error. How to fix this?

/opt/webrtc/linux_android# gclient sync
Updating depot_tools...
'/opt/webrtc/depot_tools/.cipd_bin/goma_ctl.py' was not found and may not be supported on this platform!
Syncing projects: 100% (237/237), done.

________ running 'cipd ensure -log-level error -root /opt/webrtc/linux_android -ensure-file /tmp/tmp4qh4hbh2.ensure' in '.'
[P7039 04:51:31.422 client.go:1913 E] [unzip] Failed to install chromium/third_party/android_toolchain/android_toolchain in "src/third_party/android_toolchain/ndk": adding files to the site root: lstat /opt/webrtc/linux_android/.cipd/pkgs/15/NSOM616pOQCfRfDAhC72ltgjyUQp9lAWCMzlmgB18dAC/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/linux/netfilter/xt_connmark.h: no such file or directory
Errors:
  failed to install chromium/third_party/android_toolchain/android_toolchain in "src/third_party/android_toolchain/ndk": adding files to the site root: lstat /opt/webrtc/linux_android/.cipd/pkgs/15/NSOM616pOQCfRfDAhC72ltgjyUQp9lAWCMzlmgB18dAC/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/linux/netfilter/xt_connmark.h: no such file or directory
Error: Command 'cipd ensure -log-level error -root /opt/webrtc/linux_android -ensure-file /tmp/tmp4qh4hbh2.ensure' returned non-zero exit status 1
[P7039 04:51:31.422 client.go:1913 E] [unzip] Failed to install chromium/third_party/android_toolchain/android_toolchain in "src/third_party/android_toolchain/ndk": adding files to the site root: lstat /opt/webrtc/linux_android/.cipd/pkgs/15/NSOM616pOQCfRfDAhC72ltgjyUQp9lAWCMzlmgB18dAC/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/linux/netfilter/xt_connmark.h: no such file or directory
Errors:
  failed to install chromium/third_party/android_toolchain/android_toolchain in "src/third_party/android_toolchain/ndk": adding files to the site root: lstat /opt/webrtc/linux_android/.cipd/pkgs/15/NSOM616pOQCfRfDAhC72ltgjyUQp9lAWCMzlmgB18dAC/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/linux/netfilter/xt_connmark.h: no such file or directory


My ENV is Ubuntu 22.04 LTS.  
Anyone know how to fix this problem?

Navin

unread,
Oct 23, 2023, 12:50:39 PM10/23/23
to discuss-webrtc
Did you find any solution ? I am getting same error.

Suowei

unread,
Oct 25, 2023, 11:49:02 AM10/25/23
to discuss-webrtc

I have this problem too, did you found a solution?

Tobe Yang

unread,
Dec 5, 2023, 7:54:58 AM12/5/23
to discuss-webrtc
i knew this issue, if you are using WSL on windows which file system is case insensitive, gclient sync download file and unzip it, some of this archive files name xt_connmark.h & xt_CONNMARK.h, At this time, only one file can exist at the same time, so  the errors you see appear
Reply all
Reply to author
Forward
0 new messages