Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./build.sh Failed When Cloning WebRTC #26

Open
liuyang2211 opened this issue Feb 26, 2024 · 2 comments
Open

./build.sh Failed When Cloning WebRTC #26

liuyang2211 opened this issue Feb 26, 2024 · 2 comments

Comments

@liuyang2211
Copy link

Refetch WebRTC? (f)ull clone | (r)eset local changes | (N)o: f
Cloning WebRTC
/Users/liuyang/Desktop/xxx/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/vpython3: line 52: /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/.cipd_bin/vpython3: No such file or directory
/Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/vpython3: line 52: exec: /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/.cipd_bin/vpython3: cannot execute: No such file or directory

@fedulvtubudul
Copy link
Collaborator

  1. Do you have python 3 properly installed and configured? Try running python --version and post result here.

  2. When you run the build.sh for the first time, does it have any complaints during Depot Tools installation? What's on your console before the message you've posted?

@liuyang2211
Copy link
Author

1.python --version :
liuyang@liuyangdeMacBook-Pro ~ % python --version
Python 3.11.5

2.It is all my build.sh log :
Last login: Tue Feb 27 09:19:16 on ttys013
liuyang@liuyangdeMacBook-Pro ~ % cd /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master
liuyang@liuyangdeMacBook-Pro mediasoup-client-swift-master % export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7891
liuyang@liuyangdeMacBook-Pro mediasoup-client-swift-master % sudo ./build.sh
Password:
Sorry, try again.
Password:
PROJECT_DIR = /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master
WORK_DIR = /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies
BUILD_DIR = /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/build
OUTPUT_DIR = /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/bin
PATCHES_DIR = /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/patches
WEBRTC_DIR = /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/webrtc/src
Clear old build artifacts? (Y|n): y
Removing dir /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/bin
Removing dir /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/build
OUTPUT_DIR created
BUILD_DIR created
libmediasoupclient is already on disk
Refetch libmediasoupclient (y|N): y
Cloning libmediasoupclient
Cloning into 'libmediasoupclient'...
remote: Enumerating objects: 563, done.
remote: Counting objects: 100% (563/563), done.
remote: Compressing objects: 100% (483/483), done.
remote: Total 563 (delta 68), reused 364 (delta 60), pack-reused 0
Receiving objects: 100% (563/563), 1.03 MiB | 122.00 KiB/s, done.
Resolving deltas: 100% (68/68), done.
Note: switching to '87f71dc3353cf6226525217d1490b4542fa22278'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

depot_tools is already on disk
Refetch depot_tools (y|N): y
Cloning depot_tools
Cloning into 'depot_tools'...
remote: Finding sources: 100% (743/743)
remote: Total 743 (delta 128), reused 466 (delta 128)
Receiving objects: 100% (743/743), 1.15 MiB | 242.00 KiB/s, done.
Resolving deltas: 100% (128/128), done.
WebRTC is already on disk
Refetch WebRTC? (f)ull clone | (r)eset local changes | (N)o: f
Cloning WebRTC
/Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/vpython3: line 52: /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/.cipd_bin/vpython3: No such file or directory
/Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/vpython3: line 52: exec: /Users/liuyang/Desktop/m112_vlm112.2/mediasoup-client-swift-master/Mediasoup/dependencies/depot_tools/.cipd_bin/vpython3: cannot execute: No such file or directory
liuyang@liuyangdeMacBook-Pro mediasoup-client-swift-master %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants