Re: [Libreoffice] make check fails in i18npool
Hi Regina, On Mon, 2011-10-17 at 18:10 +0200, Regina Henschel wrote: I think, that my last working build has at last commit e024f616934bb78fba8c8101264806d507068d7e Author: Christoph Lutz chrl...@googlemail.com Date: Tue Sep 6 19:01:19 2011 +0200 i#118224: kill O(n^2) complexity of unique bookmark name creation But i'm not sure, because I tried a lot in the meantime. How can I clone from that point? Then I would build again to verify it. Ah - so you want to save your changes: git diff /tmp/save.diff and perhaps 'git stash' to double save it ;-) then you can do either: git checkout e024f616934bb78fba8c8101264806d507068d7e which will move you to this revision (you can't commit there of course - and git checkout master will move you back). I'll try adding a git note to this so others know where to find it. Of course - if you have a patch, given the state of the Win32 build, please do just work from that revision, and I'll forward port test-build any patches vs. master on Linux (until we can get this sorted out). Sorry again for the loss of service. Thanks ! Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Hi Regina, On Wed, 2011-10-12 at 18:50 +0200, Regina Henschel wrote: after 'make build' I rum 'make check' and it fails in i18npool ... Oh dearl that is really bad of course, this line: R=c:/git O=$R/LO35SEPT/solver/wntmsci12.pro W= $R/LO35SEPT/workdir/wntmsci12.pro S=$R/LO35SEPT mkdir -p $W/CppunitTest/ (PATH=`cygpath -u $S/solver/wntmsci12.pro`/bin: ${PATH} STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester.exe $W/LinkTarget/CppunitTest/test_i18npool_test_breakiterator.dll --protector unoexceptionprotector.dll unoexceptionprotector -env:UNO_TYPES= file:///$O/bin/udkapi.rdb file:///$O/bin/types.rdb -env:UNO_SERVICES=file:///$O/xml/ure/services.rdb file:///$W/RdbTarget/i18npool_test_breakiterator.rdb -env:URE_INTERNAL_LIB_DIR=file:///$O/bin -env:OOO_BASE_DIR=file:///$O/bin -env:BRAND_BASE_DIR=file:///$O/bin is the one to re-run, preferably inserting a debugger before the cppunittester.exe - to see if we can find what went wrong, a stack trace would be really helpful from wherever it fails there. Perhaps some in some static instance destructor / atexit tear-down code. Also - the log file: $W/CppunitTest/i18npool_test_breakiterator.test.log May have something useful in it - could you poke in there ? Sorry again for the breakage, Thanks, Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Hi Michael, Michael Meeks schrieb: Hi Regina, On Wed, 2011-10-12 at 18:50 +0200, Regina Henschel wrote: after 'make build' I rum 'make check' and it fails in i18npool ... Oh dearl that is really bad of course, this line: R=c:/git O=$R/LO35SEPT/solver/wntmsci12.pro W= $R/LO35SEPT/workdir/wntmsci12.pro S=$R/LO35SEPT mkdir -p $W/CppunitTest/ (PATH=`cygpath -u $S/solver/wntmsci12.pro`/bin: ${PATH} STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester.exe $W/LinkTarget/CppunitTest/test_i18npool_test_breakiterator.dll --protector unoexceptionprotector.dll unoexceptionprotector -env:UNO_TYPES= file:///$O/bin/udkapi.rdb file:///$O/bin/types.rdb -env:UNO_SERVICES=file:///$O/xml/ure/services.rdb file:///$W/RdbTarget/i18npool_test_breakiterator.rdb -env:URE_INTERNAL_LIB_DIR=file:///$O/bin -env:OOO_BASE_DIR=file:///$O/bin -env:BRAND_BASE_DIR=file:///$O/bin is the one to re-run, preferably inserting a debugger before the cppunittester.exe - to see if we can find what went wrong, a stack trace would be really helpful from wherever it fails there. Perhaps some in some static instance destructor / atexit tear-down code. I do not understand, what you expect me to do. Also - the log file: $W/CppunitTest/i18npool_test_breakiterator.test.log May have something useful in it - could you poke in there ? It is only one line: OK (4) Sorry again for the breakage, I wish, the MSVCCygwin problems could be solved. Me last working build is from 2011-08-30. Kind regards Regina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Hi Regina, On Mon, 2011-10-17 at 15:53 +0200, Regina Henschel wrote: R=c:/git O=$R/LO35SEPT/solver/wntmsci12.pro W= $R/LO35SEPT/workdir/wntmsci12.pro S=$R/LO35SEPT mkdir -p $W/CppunitTest/ (PATH=`cygpath -u $S/solver/wntmsci12.pro`/bin: ${PATH} STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester.exe $W/LinkTarget/CppunitTest/test_i18npool_test_breakiterator.dll --protector unoexceptionprotector.dll unoexceptionprotector -env:UNO_TYPES= file:///$O/bin/udkapi.rdb file:///$O/bin/types.rdb -env:UNO_SERVICES=file:///$O/xml/ure/services.rdb file:///$W/RdbTarget/i18npool_test_breakiterator.rdb -env:URE_INTERNAL_LIB_DIR=file:///$O/bin -env:OOO_BASE_DIR=file:///$O/bin -env:BRAND_BASE_DIR=file:///$O/bin is the one to re-run, preferably inserting a debugger before the cppunittester.exe - to see if we can find what went wrong, a stack trace would be really helpful from wherever it fails there. Perhaps some in some static instance destructor / atexit tear-down code. I do not understand, what you expect me to do. Ah - so the command I paste above (extracted from your log) should be re-run under cygwin. In theory if you paste the above line into your cygwin shell - you will run just that one unit test, and it will fail for you. If that is the case, then we need to run it under a debugger. So - we need to insert a debugger command (is there some MSVC debugger you can run, or perhaps just gdb - I'm no windows expert) before the cppunittester.exe so -...STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester.exe ... +...STAR_RESOURCEPATH=$O/bin/ gdb $O/bin/cppunit/cppunittester.exe ... (at least for linux, for me) - and then run the unit test inside the debugger. Perhaps Tor / Fridrich could help wrt. the debugger to use. May have something useful in it - could you poke in there ? It is only one line: OK (4) Great - thanks, further confirming that this is some odd at exit problem. I wish, the MSVCCygwin problems could be solved. Me last working build is from 2011-08-30. Yes; one good piece of news is that Kris did some work to make LibO compiler under LLVM, which has some very precise error / warning support - so (hopefully) we can run a tinderbox that compiles rapidly under Linux, and emulates the Windows warnings: so we can more rapidly close some of the cross-platform holes. Thanks for being patient with the problem. I suppose (since you're not doing huge global changes); would it be a solution to have a note or tag on the last-known-good windows compile that you could checkout and work on top of ? perhaps we could do that. Thanks ! Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Michael Meeks wrote: I suppose (since you're not doing huge global changes); would it be a solution to have a note or tag on the last-known-good windows compile that you could checkout and work on top of ? perhaps we could do that. Oh yes please I've been trying to build this thing on Windows for 3 weeks now. Not that I mind all that much, I'm learning stuff in the process, but other n00bs might be discouraged :-) -- Noel Grandin Disclaimer: http://www.peralex.com/disclaimer.html ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
I suppose (since you're not doing huge global changes); would it be a solution to have a note or tag on the last-known-good windows compile that you could checkout and work on top of ? Yes, but our git repo administrators have made it quite hard to push tags;) (For good reasons, presumably.) I tried creating a tag with exactly such a meaning and pushing it some months ago when I reached the elusive state of having a working Windows build, but it failed miserably with some incomprehensible git error messages. --tml ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Hi Tor, On Mon, 2011-10-17 at 18:32 +0300, Tor Lillqvist wrote: Yes, but our git repo administrators have made it quite hard to push tags;) (For good reasons, presumably.) Ah ! right ... yes, we had problems with legacy tags getting re-pushed left and right and a fight to get rid of them. This is why I mentioned notes, if you do: $ git fetch origin refs/notes/*:refs/notes/* you should be able to do: $ git notes add git object And then add a 'note' to the commit log, such as 'compiles nicely on win32'. That is then shown as/when people do a 'git log' we can add the notes fetch to the 'g' script I suppose to make that easier. Ideally of course; we'd want a standard format message: WIN32_BUILT or something. I tried creating a tag with exactly such a meaning and pushing it some months ago when I reached the elusive state of having a working Windows build, but it failed miserably with some incomprehensible git error messages. A shame indeed; happily the notes feature is not so worried about adding / tweaking / removing notes, so ... any chance you could try adding one for that known-good git hash (if you still have your tag locally) ? Then I'll add a 'g' feature to pull the notes for everyone, and find the last good windows build (unless you want to) ? Thanks ! Michael. -- michael.me...@suse.com , Pseudo Engineer, itinerant idiot ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
(if you still have your tag locally) ? I assume it was before OneGit, but let me check... Then I'll add a 'g' feature to pull the notes for everyone, and find the last good windows build (unless you want to) ? Please go ahead;) --tml ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Hi Michael, Michael Meeks schrieb: [..] I wish, the MSVCCygwin problems could be solved. Me last working build is from 2011-08-30. Yes; one good piece of news is that Kris did some work to make LibO compiler under LLVM, which has some very precise error / warning support - so (hopefully) we can run a tinderbox that compiles rapidly under Linux, and emulates the Windows warnings: so we can more rapidly close some of the cross-platform holes. Thanks for being patient with the problem. I suppose (since you're not doing huge global changes); would it be a solution to have a note or tag on the last-known-good windows compile that you could checkout and work on top of ? perhaps we could do that. I think, that my last working build has at last commit e024f616934bb78fba8c8101264806d507068d7e Author: Christoph Lutz chrl...@googlemail.com Date: Tue Sep 6 19:01:19 2011 +0200 i#118224: kill O(n^2) complexity of unique bookmark name creation But i'm not sure, because I tried a lot in the meantime. How can I clone from that point? Then I would build again to verify it. Kind regards Regina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Hi Michael, Michael Meeks schrieb: Hi Regina, On Mon, 2011-10-17 at 15:53 +0200, Regina Henschel wrote: R=c:/git O=$R/LO35SEPT/solver/wntmsci12.pro W= $R/LO35SEPT/workdir/wntmsci12.pro S=$R/LO35SEPTmkdir -p $W/CppunitTest/ (PATH=`cygpath -u $S/solver/wntmsci12.pro`/bin: ${PATH} STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester.exe $W/LinkTarget/CppunitTest/test_i18npool_test_breakiterator.dll --protector unoexceptionprotector.dll unoexceptionprotector -env:UNO_TYPES= file:///$O/bin/udkapi.rdb file:///$O/bin/types.rdb -env:UNO_SERVICES=file:///$O/xml/ure/services.rdb file:///$W/RdbTarget/i18npool_test_breakiterator.rdb -env:URE_INTERNAL_LIB_DIR=file:///$O/bin -env:OOO_BASE_DIR=file:///$O/bin -env:BRAND_BASE_DIR=file:///$O/bin is the one to re-run, preferably inserting a debugger before the cppunittester.exe - to see if we can find what went wrong, a stack trace would be really helpful from wherever it fails there. Perhaps some in some static instance destructor / atexit tear-down code. I do not understand, what you expect me to do. Ah - so the command I paste above (extracted from your log) should be re-run under cygwin. In theory if you paste the above line into your cygwin shell - you will run just that one unit test, and it will fail for you. If that is the case, then we need to run it under a debugger. The command results in OK(4) Should I do what is advised in the error message: cd C:/git/LO35SEPT source ./Env.Host.sh cd i18npool /opt/lo/bin/make clean # optional /opt/lo/bin/make -r ... re-run 'make' from the top-level Kind regards Regina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
Hi all, Regina Henschel schrieb: [..] I think, that my last working build has at last commit e024f616934bb78fba8c8101264806d507068d7e Author: Christoph Lutz chrl...@googlemail.com Date: Tue Sep 6 19:01:19 2011 +0200 i#118224: kill O(n^2) complexity of unique bookmark name creation But i'm not sure, because I tried a lot in the meantime. How can I clone from that point? Then I would build again to verify it. I testest now and no, it doesn't build :( That was the situation with the error in libcmis. Kind regards Regina ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] make check fails in i18npool
On Wed, 2011-10-12 at 18:50 +0200, Regina Henschel wrote: Hi all, after 'make build' I rum 'make check' and it fails in i18npool with a lot of lines: last bunch of lines are the important ones, looks like another case of the unit test itself actually passing ok, but then probably crashing on exit of the test. Presumably triggered by the reshuffling of the test helper classes. C. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice