`git submodule sync` fixed this for me. Perhaps mach should do this as
part of it's bootstrapping/prep.

jack.

On Thu, Feb 12, 2015 at 7:07 PM, Tetsuharu OHZEKI
<saneyuki.s...@gmail.com> wrote:
> Have you tried `mach update-submodules` before mach clean? it might resolve
> your problem.
>
> Tetsuharu OHZEKI
> 2015/02/13 10:42 "Gilles Leblanc" <gilles.lebl...@gmail.com>:
>
>> Hello,
>>
>> If I do either a *./mach clean* or *./mach build* I get the following
>> error:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *fatal: reference is not a tree:
>> f9da46ed02736508d75333008d54506eec87a33bUnable to checkout
>> 'f9da46ed02736508d75333008d54506eec87a33b' in submodule path
>> 'support/android-rs-glue'Error running mach:    ['clean']The error occurred
>> in code that was called by the mach command. This is eithera bug in the
>> called code itself or in the way that mach is calling it.You should
>> consider filing a bug for this issue.If filing a bug, please include the
>> full output of mach, including this errormessage.The details of the failure
>> are as follows:CalledProcessError: Command '['git', 'submodule', 'update',
>> '--init', '--recursive', '--', 'support/android-rs-glue']' returned
>> non-zero exit status 1  File
>> "/home/bleakcabal/Documents/servo/python/servo/build_commands.py", line
>> 165, in clean    self.ensure_bootstrapped()  File
>> "./python/servo/command_base.py", line 176, in ensure_bootstrapped    "--",
>> module_path])  File "/usr/lib/python2.7/subprocess.py", line 540, in
>> check_call    raise CalledProcessError(retcode, cmd)*
>>
>> Which then lead to git seing new commits for *support/android-rs-glue*
>> which doesn't even seem to exist anymore upstream.
>>
>> This happens on my unmodified local master even after running a *git reset
>> --hard upstream/master.*
>>
>> Does anyone know what is happening?
>> _______________________________________________
>> dev-servo mailing list
>> dev-servo@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-servo
>>
> _______________________________________________
> dev-servo mailing list
> dev-servo@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-servo
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to