[guardian-dev] Gibberbot submodule failure: otr4j

Hans-Christoph Steiner hans at guardianproject.info
Tue Mar 12 20:35:50 EDT 2013


I fixed it and pushed.  There was a remnant of the old external:

git rm --cached external/otr4j

.hc

On 03/12/2013 08:01 PM, Hans-Christoph Steiner wrote:
> 
> Its also on my machine.  My guess is that you have to update the .gitmodules
> file, commit and push.  I just did a fresh clone again and I still have that
> issue:
> 
> $ git clone git at github.com:guardianproject/Gibberbot.git
> Cloning into 'Gibberbot'...
> Host key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
> +--[ RSA 2048]----+
> |        .        |
> |       + .       |
> |      . B .      |
> |     o * +       |
> |    X * S        |
> |   + O o . .     |
> |    .   E . o    |
> |       . . o     |
> |        . .      |
> +-----------------+
> 
> remote: Counting objects: 11623, done.
> remote: Compressing objects: 100% (3654/3654), done.
> remote: Total 11623 (delta 7147), reused 11426 (delta 6967)
> Receiving objects: 100% (11623/11623), 21.11 MiB | 3.68 MiB/s, done.
> Resolving deltas: 100% (7147/7147), done.
> $ cd Gibberbot/
> $ git submodule init
> Submodule 'external/ActionBarSherlock'
> (git://github.com/JakeWharton/ActionBarSherlock.git) registered for path
> 'external/ActionBarSherlock'
> Submodule 'external/MemorizingTrustManager'
> (git at github.com:devrandom/MemorizingTrustManager.git) registered for path
> 'external/MemorizingTrustManager'
> Submodule 'external/OnionKit' (git://github.com/guardianproject/OnionKit.git)
> registered for path 'external/OnionKit'
> Submodule 'external/asmack' (https://github.com/guardianproject/asmack)
> registered for path 'external/asmack'
> No submodule mapping found in .gitmodules for path 'external/otr4j'
> 
> 
> On 03/12/2013 07:26 PM, Dev Random wrote:
>> We have otr4j in-tree.  I don't see it in .gitmodules, so not sure why
>> Jenkins is looking for it.
>>
>> BTW, I note that the git commit ends with 77beef... what are the chances
>> of that? :-D
>>
>> On 13-03-12 01:22 PM, Hans-Christoph Steiner wrote:
>>>
>>> I added Gibberbot to the debeater Jenkins, and it can't find the submodule for
>>> otr4j, same goes with my laptop as well:
>>>
>>> etching upstream changes from origin
>>> Commencing build of Revision 750b4d444f3f65e4be7525430ac9e2f8ee77beef
>>> (origin/master)
>>> Checking out Revision 750b4d444f3f65e4be7525430ac9e2f8ee77beef (origin/master)
>>> FATAL: Command "git submodule init" returned status code 1:
>>> stdout: Submodule 'external/ActionBarSherlock'
>>> (git://github.com/JakeWharton/ActionBarSherlock.git) registered for path
>>> 'external/ActionBarSherlock'
>>> Submodule 'external/MemorizingTrustManager'
>>> (git at github.com:devrandom/MemorizingTrustManager.git) registered for path
>>> 'external/MemorizingTrustManager'
>>> Submodule 'external/OnionKit' (git://github.com/guardianproject/OnionKit.git)
>>> registered for path 'external/OnionKit'
>>> Submodule 'external/asmack' (https://github.com/guardianproject/asmack)
>>> registered for path 'external/asmack'
>>>
>>> stderr: No submodule mapping found in .gitmodules for path 'external/otr4j'
>>>
>>> hudson.plugins.git.GitException: Command "git submodule init" returned status
>>> code 1:
>>> stdout: Submodule 'external/ActionBarSherlock'
>>> (git://github.com/JakeWharton/ActionBarSherlock.git) registered for path
>>> 'external/ActionBarSherlock'
>>> Submodule 'external/MemorizingTrustManager'
>>> (git at github.com:devrandom/MemorizingTrustManager.git) registered for path
>>> 'external/MemorizingTrustManager'
>>> Submodule 'external/OnionKit' (git://github.com/guardianproject/OnionKit.git)
>>> registered for path 'external/OnionKit'
>>> Submodule 'external/asmack' (https://github.com/guardianproject/asmack)
>>> registered for path 'external/asmack'
>>>
>>> stderr: No submodule mapping found in .gitmodules for path 'external/otr4j'
>>>
>>> 	at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:772)
>>> 	at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738)
>>> 	at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:748)
>>> 	at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.submoduleInit(CliGitAPIImpl.java:358)
>>> 	at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setupSubmoduleUrls(CliGitAPIImpl.java:698)
>>> 	at
>>> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setupSubmoduleUrls(CliGitAPIImpl.java:692)
>>> 	at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1237)
>>> 	at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1208)
>>> 	at hudson.FilePath.act(FilePath.java:852)
>>> 	at hudson.FilePath.act(FilePath.java:834)
>>> 	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1208)
>>> 	at hudson.model.AbstractProject.checkout(AbstractProject.java:1256)
>>> 	at
>>> hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:590)
>>> 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
>>> 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:495)
>>> 	at hudson.model.Run.execute(Run.java:1502)
>>> 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>>> 	at hudson.model.ResourceController.execute(ResourceController.java:88)
>>> 	at hudson.model.Executor.run(Executor.java:237)
>>> _______________________________________________
>>> Guardian-dev mailing list
>>>
>>> Post: Guardian-dev at lists.mayfirst.org
>>> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
>>>
>>> To Unsubscribe
>>>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>>>         Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/c1.android%40niftybox.net
>>>
>>> You are subscribed as: c1.android at niftybox.net
>>>
>>


More information about the Guardian-dev mailing list