Submodules in tags contains inexistent commit hashes
I tried to update Jami in F-Droid (Android App Store), so I updated the metadata and tried to build it, but it failed with the following message:
Submodule path 'client-electron/contrib/ring-daemon': checked out 'f54fd7fdc6fcb018dfc44f49497becdf33031bc0' error: Server does not allow request for unadvertised object afe4013f34588682a036854c73580622b337ba84 Fetched in submodule path 'client-gnome', but it did not contain afe4013f34588682a036854c73580622b337ba84. Direct fetching of that commit failed. ERROR: VCS error while building app cx.ring: Git submodule update failed
I tried to investigate this issue, so I cloned the repository and updated the submodules, but then I got the following error:
$ git clone https://gerrit-ring.savoirfairelinux.com/ring-project Cloning into 'ring-project'... warning: redirecting to https://review.jami.net/ring-project/ remote: Counting objects: 10, done remote: Finding sources: 100% (2318/2318) remote: Total 2318 (delta 1365), reused 2318 (delta 1365) Receiving objects: 100% (2318/2318), 519.05 KiB | 453.00 KiB/s, done. Resolving deltas: 100% (1365/1365), done. $ git checkout android/release_189 Note: checking out 'android/release_189'. 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 performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at 74d1cab submodules: update nightly branch $ git submodule init Submodule 'client-android' (https://review.jami.net/ring-client-android) registered for path 'client-android' Submodule 'client-electron' (https://review.jami.net/ring-client-electron) registered for path 'client-electron' Submodule 'client-gnome' (https://review.jami.net/ring-client-gnome) registered for path 'client-gnome' Submodule 'client-ios' (https://review.jami.net/ring-client-ios) registered for path 'client-ios' Submodule 'client-macosx' (https://review.jami.net/ring-client-macosx) registered for path 'client-macosx' Submodule 'client-uwp' (https://review.jami.net/ring-client-uwp) registered for path 'client-uwp' Submodule 'client-windows' (https://review.jami.net/ring-client-windows) registered for path 'client-windows' Submodule 'daemon' (https://review.jami.net/ring-daemon) registered for path 'daemon' Submodule 'lrc' (https://review.jami.net/ring-lrc) registered for path 'lrc' $ git submodule update Cloning into '/home/work/ring-project/client-android'... Cloning into '/home/work/ring-project/client-electron'... Cloning into '/home/work/ring-project/client-gnome'... Cloning into '/home/work/ring-project/client-macosx'... Cloning into '/home/work/ring-project/client-ios'... Cloning into '/home/work/ring-project/client-uwp'... Cloning into '/home/work/ring-project/client-windows'... Cloning into '/home/work/ring-project/lrc'... Cloning into '/home/work/ring-project/daemon'... Submodule path 'client-android': checked out 'e6e6018d7981942023bdd7e8df713b573df10637' Submodule path 'client-electron': checked out '395c112c014e2817a3329b69c7d0a1d30ede0625' error: Server does not allow request for unadvertised object afe4013f34588682a036854c73580622b337ba84 Fetched in submodule path 'client-gnome', but it did not contain afe4013f34588682a036854c73580622b337ba84. Direct fetching of that commit failed.
Is there something wrong with the history (rewritten?) or am I doing something wrong?
Thanks and best, Simon