Closed MuhammadAzamat closed 2 years ago
Hi @MuhammadAzamat, that would mean that the build can't find your depot_tools. Please make sure that is downloaded and available on the path. You must be able to run gclient
from anywhere in the shell before building.
Thanks @jim-signal Yes I fixed it, but now it says, That ".gclient seems broken, the URL is different" If I can compile ringrtc-2.3.1 with the webrtc to use in version signal-android-4.61, because in ringrtc-2.3.20 changed webrtc version, and main classes also changed.
Preparing Android workspace
Downloading WebRTC dependencies to /home/muhammad/projects/android_webrtc/ringrtc/src/webrtc from version 4103
Updating depot_tools...
Error:
Your .gclient file seems to be broken. The requested URL is different from what
is actually checked out in /home/muhammad/projects/android_webrtc/ringrtc/src/webrtc/src.
The .gclient file contains:
URL: git@github.com:signalapp/webrtc.git (git)
Cache mirror: not used
The local checkout in /home/muhammad/projects/android_webrtc/ringrtc/src/webrtc/src reports:
https://github.com/signalapp/webrtc.git (git)
You should ensure that the URL listed in .gclient is correct and either change
it or fix the checkout.
make: *** [Makefile:35: out/android.env] Error 1
It seems that version 2.3.1 is referencing git@github.com:signalapp/webrtc.git
but in a later version that was switched to https://github.com/signalapp/webrtc.git
. For such a large jump forward in versions, I highly recommend you remove the webrtc directory and then re-run prepare-workspace:
rm -rf src/webrtc
./bin/prepare-workspace android
Unfortunately it will take a while to download, but all the updated files would be downloaded anyway in this case.
Hi @jim-signal I'm doing what You adviced, the downloading started successfully, but it hang up after while, it passed 24 hours and more. What can You advice?
$ ./bin/prepare-workspace android
Downloading WebRTC dependencies to /home/muhammad/projects/android_webrtc/ringrtc/src/webrtc from version 4103
Updating depot_tools...
Enter passphrase for key '/home/muhammad/.ssh/id_rsa':
Enter passphrase for key '/home/muhammad/.ssh/id_rsa':
Syncing projects: 100% (261/261), done.
and I'm waiting for end sync, but still such problem
Hello @MuhammadAzamat, it looks like you are trying to build an old version of RingRTC. It is possible that the newest version of depot_tools doesn't work with the old webrtc version. We can't support that combination, only the latest version of RingRTC. Is there a reason you need build v2.3.1?
Hello @jim-signal As I mentioned, I'm trying to run signal server and android app. So I worked with this since 2019. Now I can not start with last stable server version and compatible version of android app. I succeded to run signal-server-3.21 and signal-android-4.61, that's why I need recompile ringrtc-2.3.1 which is used in signal-android-4.6. My tasks are:
I'm looking forward to Your HELP.
You could look here: https://webrtc.googlesource.com/src/+/main/docs/native-code/development/index.md
Thank You @jim-signal I will try it now. But can You help with other things, please?
You could look here: https://webrtc.googlesource.com/src/+/main/docs/native-code/development/index.md
* Look at the section "Working with Release Branches" and you could try to update depot_tools and src/webrtc outside of the RingRTC build scripts...
Have problem when try to switch to another tags or branches
How to fix it?