Page 1 of 1

Problem with cloning rvgl-base/core (--recursive)

Posted: Wed Sep 02, 2020 5:10 am
by 7wells
Hello @Huki

I have the following problem when trying to clone the complete repo (--recursive):
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/core'...
Host key verification failed.
fatal: Could not read from remote repository.
I remember that the core code is not public but that we could build RVGL (e.g. for Android) nevertheless. Now I am unsure how this works, since cloning the core is not possible. Thanks for helping me! :)

I have all the necessary ssh keys etc. (and cloning the other modules works). See below for full "log":

Code: Select all

PS C:\Users\user\Documents\GitLab\RVGL> git clone https://gitlab.com/re-volt/rvgl-base.git --recursive
Cloning into 'rvgl-base'...
remote: Enumerating objects: 73, done.
remote: Counting objects: 100% (73/73), done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 73 (delta 38), reused 41 (delta 23), pack-reused 0
Unpacking objects: 100% (73/73), 8.95 KiB | 31.00 KiB/s, done.
Submodule 'android' (https://gitlab.com/re-volt/rvgl-android.git) registered for path 'android'
Submodule 'core' (git@gitlab.com:gk7huki/rvgl-core.git) registered for path 'core'
Submodule 'devel' (https://gitlab.com/re-volt/rvgl-devel.git) registered for path 'devel'
Submodule 'distrib/assets' (https://gitlab.com/re-volt/rvgl-assets.git) registered for path 'distrib/assets'
Submodule 'distrib/dcpack' (https://gitlab.com/re-volt/rvgl-dcpack.git) registered for path 'distrib/dcpack'
Submodule 'distrib/platform' (https://gitlab.com/re-volt/rvgl-platform.git) registered for path 'distrib/platform'
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/android'...
remote: Enumerating objects: 2647, done.
remote: Counting objects: 100% (2647/2647), done.
remote: Compressing objects: 100% (1448/1448), done.
remote: Total 2647 (delta 1319), reused 2424 (delta 1096), pack-reused 0
Receiving objects: 100% (2647/2647), 4.85 MiB | 3.98 MiB/s, done.
Resolving deltas: 100% (1319/1319), done.
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/core'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@gitlab.com:gk7huki/rvgl-core.git' into submodule path 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/core' failed
Failed to clone 'core'. Retry scheduled
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/devel'...
remote: Enumerating objects: 2621, done.
remote: Counting objects: 100% (2621/2621), done.
remote: Compressing objects: 100% (1267/1267), done.
remote: Total 2621 (delta 1295), reused 2525 (delta 1208), pack-reused 0
Receiving objects: 100% (2621/2621), 23.69 MiB | 3.83 MiB/s, done.
Resolving deltas: 100% (1295/1295), done.
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/distrib/assets'...
remote: Enumerating objects: 255, done.
remote: Counting objects: 100% (255/255), done.
remote: Compressing objects: 100% (175/175), done.
remote: Total 255 (delta 86), reused 231 (delta 74), pack-reused 0
Receiving objects: 100% (255/255), 6.21 MiB | 3.93 MiB/s, done.
Resolving deltas: 100% (86/86), done.
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/distrib/dcpack'...
remote: Enumerating objects: 269, done.
remote: Counting objects: 100% (269/269), done.
remote: Compressing objects: 100% (214/214), done.
remote: Total 269 (delta 54), reused 263 (delta 52), pack-reused 0
Receiving objects: 100% (269/269), 3.07 MiB | 4.03 MiB/s, done.
Resolving deltas: 100% (54/54), done.
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/distrib/platform'...
remote: Enumerating objects: 219, done.
remote: Counting objects: 100% (219/219), done.
remote: Compressing objects: 100% (163/163), done.
remote: Total 219 (delta 60), reused 188 (delta 40), pack-reused 0
Receiving objects: 100% (219/219), 51.19 MiB | 3.62 MiB/s, done.
Resolving deltas: 100% (60/60), done.
Cloning into 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/core'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@gitlab.com:gk7huki/rvgl-core.git' into submodule path 'C:/Users/user/Documents/GitLab/RVGL/rvgl-base/core' failed
Failed to clone 'core' a second time, aborting
PS C:\Users\user\Documents\GitLab\RVGL>

Re: Problem with cloning rvgl-base/core (--recursive)

Posted: Wed Sep 02, 2020 12:27 pm
by Huki
Clone everything except core - the core repo is private so you won't be able to clone it without private access.

We provide prebuilt core libs for each platform. This is how you can build the android project without core access. For android, this is "distrib/platform/android/<arch>/libmain.so". To use the prebuilt libmain.so, you must run ndk-build with PREBUILT=1.

Look at the "android/build.sh" script for the complete build process. Since you're on Windows, you'll need to adapt these steps for your system.

And keep in mind that currently, you must switch rvgl-base to the 20.0430a tag (and then clone all submodules) to get a clean build. The master will not compile cleanly with the prebuilt libmain.so.

Re: Problem with cloning rvgl-base/core (--recursive)

Posted: Fri Sep 04, 2020 1:23 pm
by 7wells
Thank you! Please excuse my lack of knowledge, but I have a question about master vs. tag. Is the following correct to check out?

Code: Select all

git clone --depth 1 --branch 20.0430a https://gitlab.com/re-volt/rvgl-base.git --recursive
(assuming that I can simply ignore the error message for the core)

Re: Problem with cloning rvgl-base/core (--recursive)

Posted: Fri Sep 04, 2020 5:14 pm
by Huki
That looks correct. Yes, simply ignore the error message for core.

Also, I plan to release an RVGL update very soon (hopefully tomorrow), so I even recommend you to put off building it until then. Did you get to try out the test build that I posted?

Re: Problem with cloning rvgl-base/core (--recursive)

Posted: Sat Sep 05, 2020 7:22 pm
by 7wells
Not yet, but I will do and let you know how it runs on the Fire TV. I am also curious about your update of the mapping app - thanks for both! :)