Re: submodules issue on cygwin

2012-10-23 Thread Michael Meeks

On Tue, 2012-10-23 at 10:46 +0200, Michael Stahl wrote:
> > /cygdrive/d/src/libo//translations/Module_translations.mk: No such file or  
> > directory
> > Makefile:17: *** Corrupted module target stack! .  Stop.
...
> had the same problem yesterday, problem was that there were no files
> checked out in the sub-repos.

Right - the basic problem is that the git submodules support does not
fail hard when we fail to check that stuff out. Instead it prints an
anaemic warning of the form:

"failed to checkout submodule baa"

And continues on it's merry way - leaving a disaster error message for
the poor builder later ;-)

IMHO we should fail early, hard, and with a message saying: "try
disabling translations" or somesuch ;-) but I havn't got to a patch for
that yet.

ATB,

Michael.

-- 
michael.me...@suse.com  <><, Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: submodules issue on cygwin

2012-10-23 Thread Michael Stahl
On 23/10/12 01:41, Mathias MICHEL wrote:
> Hello
> 
> When I try to build master since submodules were introduced, I got a  
> failure with this message:
> 
> Entering /cygdrive/d/src/libo/tail_build/prj
> 
> gbuild module /cygdrive/d/src/libo/tail_build: /opt/lo/bin/make -f  
> Makefile -j4 -rs all slowcheck gb_PARTIALBUILD=T
> D:/src/libo/Module_tail_build.mk:27:  
> /cygdrive/d/src/libo//translations/Module_translations.mk: No such file or  
> directory
> Makefile:17: *** Corrupted module target stack! .  Stop.
> 
> I don't know where the double / comes from.
> 
> When I check:
>   - libo/translations is a directory containing 2 files: .git & .gitignore
>   - libo/core/translations contains the git repo with its workdir
> 
> What could be missing here ?

had the same problem yesterday, problem was that there were no files
checked out in the sub-repos.

to fix that, cd into each sub-repo that you have (e.g. dictionaries,
helpcontent2, translations, binfilter) and run "git reset --hard"


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


submodules issue on cygwin

2012-10-22 Thread Mathias MICHEL

Hello

When I try to build master since submodules were introduced, I got a  
failure with this message:


Entering /cygdrive/d/src/libo/tail_build/prj

gbuild module /cygdrive/d/src/libo/tail_build: /opt/lo/bin/make -f  
Makefile -j4 -rs all slowcheck gb_PARTIALBUILD=T
D:/src/libo/Module_tail_build.mk:27:  
/cygdrive/d/src/libo//translations/Module_translations.mk: No such file or  
directory

Makefile:17: *** Corrupted module target stack! .  Stop.

I don't know where the double / comes from.

When I check:
 - libo/translations is a directory containing 2 files: .git & .gitignore
 - libo/core/translations contains the git repo with its workdir

What could be missing here ?

git version is 1.7.9

mm@FAUCON /cygdrive/d/src/libo/clone/translations
$ git log -n 1 --decorate --oneline
2548be5 (HEAD, origin/master, origin/feature/submodules, origin/HEAD,  
master) add a README to the translations module


mm@FAUCON /cygdrive/d/src/libo
$ git log -n 1 --decorate --oneline
bd1c644 (HEAD, origin/master, origin/HEAD, master) remove nonexistant file  
from Zip_uretest


I can provide more logs if needed. just ask.

Regards

--
Mathias
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice