pelya / commandergenius

Port of SDL library and several games to the Android OS.
http://libsdl-android.sourceforge.net/
GNU Lesser General Public License v2.1
533 stars 248 forks source link

Git submodule command does not succeed. #95

Open kinnefix opened 5 years ago

kinnefix commented 5 years ago

While following build instructions in readme.txt, I'm stuck at successfully issuing the following command git submodule update --init --recursive The error is printed as below:

error: Server does not allow request for unadvertised object 1407ec0e1775366aed527b6113dd14a02d046c09
Fetched in submodule path 'project/jni/application/c-dogs/src/src/tests/cbehave/rlutil', but it did not contain 1407ec0e1775366aed527b6113dd14a02d046c09. Direct fetching of that commit failed.
Failed to recurse into submodule path 'project/jni/application/c-dogs/src/src/tests/cbehave'
Cloning into '/home/kinnefix/commandergenius/project/jni/application/commandergenius/commandergenius/GsKit'...
Username for 'https://github.com': 
Password for 'https://github.com': 
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/gerstrong/GsKit.git/'
fatal: clone of 'https://github.com/gerstrong/GsKit.git' into submodule path '/home/kinnefix/commandergenius/project/jni/application/commandergenius/commandergenius/GsKit' failed
Failed to clone 'GsKit'. Retry scheduled
Cloning into '/home/kinnefix/commandergenius/project/jni/application/commandergenius/commandergenius/GsKit'...
Username for 'https://github.com': 
Password for 'https://github.com': 
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/gerstrong/GsKit.git/'
fatal: clone of 'https://github.com/gerstrong/GsKit.git' into submodule path '/home/kinnefix/commandergenius/project/jni/application/commandergenius/commandergenius/GsKit' failed
Failed to clone 'GsKit' a second time, aborting
Cloning into '/home/kinnefix/commandergenius/project/jni/application/xserver/xserver/android/android-shmem'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pelya/android-shmem.git' into submodule path '/home/kinnefix/commandergenius/project/jni/application/xserver/xserver/android/android-shmem' failed
Failed to clone 'android/android-shmem'. Retry scheduled
Cloning into '/home/kinnefix/commandergenius/project/jni/application/xserver/xserver/android/android-shmem'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pelya/android-shmem.git' into submodule path '/home/kinnefix/commandergenius/project/jni/application/xserver/xserver/android/android-shmem' failed
Failed to clone 'android/android-shmem' a second time, aborting
error: Server does not allow request for unadvertised object bf7cf6f5f2d5a932ac1b7e3fcc4efd2291ba0dcb
Fetched in submodule path 'project/jni/boost/src', but it did not contain bf7cf6f5f2d5a932ac1b7e3fcc4efd2291ba0dcb. Direct fetching of that commit failed.

What could be the problem?

pelya commented 5 years ago

Please update your SDL repository, I have removed C-Dogs submodule a month ago.

On Wed, Aug 29, 2018 at 9:42 AM, kinnefix notifications@github.com wrote:

While following build instructions in readme.txt, I'm stuck at successfully issuing the following command git submodule update --init --recursive The error is printed as below: `error: Server does not allow request for unadvertised object 1407ec0e1775366aed527b6113dd14a02d046c09 Fetched in submodule path 'project/jni/application/c- dogs/src/src/tests/cbehave/rlutil', but it did not contain 1407ec0e1775366aed527b6113dd14a02d046c09. Direct fetching of that commit failed. Failed to recurse into submodule path 'project/jni/application/c- dogs/src/src/tests/cbehave' Cloning into '/home/kinnefix/commandergenius/project/jni/ application/commandergenius/commandergenius/GsKit'... Username for 'https://github.com': Password for 'https://github.com': remote: Repository not found. fatal: Authentication failed for 'https://github.com/gerstrong/GsKit.git/' fatal: clone of 'https://github.com/gerstrong/GsKit.git' into submodule path '/home/kinnefix/commandergenius/project/jni/ application/commandergenius/commandergenius/GsKit' failed Failed to clone 'GsKit'. Retry scheduled Cloning into '/home/kinnefix/commandergenius/project/jni/ application/commandergenius/commandergenius/GsKit'... Username for 'https://github.com': Password for 'https://github.com': remote: Repository not found. fatal: Authentication failed for 'https://github.com/gerstrong/GsKit.git/' fatal: clone of 'https://github.com/gerstrong/GsKit.git' into submodule path '/home/kinnefix/commandergenius/project/jni/ application/commandergenius/commandergenius/GsKit' failed Failed to clone 'GsKit' a second time, aborting Cloning into '/home/kinnefix/commandergenius/project/jni/ application/xserver/xserver/android/android-shmem'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:pelya/android-shmem.git' into submodule path '/home/kinnefix/commandergenius/project/jni/ application/xserver/xserver/android/android-shmem' failed Failed to clone 'android/android-shmem'. Retry scheduled Cloning into '/home/kinnefix/commandergenius/project/jni/ application/xserver/xserver/android/android-shmem'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:pelya/android-shmem.git' into submodule path '/home/kinnefix/commandergenius/project/jni/ application/xserver/xserver/android/android-shmem' failed Failed to clone 'android/android-shmem' a second time, aborting error: Server does not allow request for unadvertised object bf7cf6f5f2d5a932ac1b7e3fcc4efd2291ba0dcb Fetched in submodule path 'project/jni/boost/src', but it did not contain bf7cf6f5f2d5a932ac1b7e3fcc4efd2291ba0dcb. Direct fetching of that commit failed.`

What could be the problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/95, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewD3KKyFQvP5XbNrz8HDFVodfkfiAks5uVje9gaJpZM4WQ7JZ .

vu1seek commented 5 years ago

I tried the following instructions just now from a fresh start, and got the same error as OP.

git clone git@github.com:pelya/commandergenius.git sdl-android cd sdl-android git submodule update --init --recursive rm -f project/jni/application/src ln -s xserver project/jni/application/src ./build.sh

ERROR:

Submodule path 'project/jni/application/xserver/xserver': checked out '6ea1ce707be8ae1b5260bf7c5e36db568c7431c9' Submodule 'android/android-shmem' (git@github.com:pelya/android-shmem.git) registered for path 'android/android-shmem' Cloning into 'android/android-shmem'... Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:pelya/android-shmem.git' into submodule path 'android/android-shmem' failed Failed to recurse into submodule path 'project/jni/application/xserver/xserver'

diehard88 commented 5 years ago

@gitxchen

git clone git@github.com :pelya/commandergenius.git sdl-android

Do I see an empty space between '.com' and ':pelya'?

:thinking:

:flushed: