Laundry list of cross compilation issues

2015-05-20 Thread Richard Cochran
First off, thanks to everyone who tried to help me with my strange cross compilation endeavor. I am happy to say that I finally got it working. Although I cannot post proper patches to fix the cross issues, still I would like to provide a starting point, in case someone else wants to clean this

Re: current fresh release not tagged in git?

2015-05-18 Thread Richard Cochran
On Mon, May 18, 2015 at 01:50:42PM +0200, Richard Cochran wrote: On Mon, May 18, 2015 at 12:21:24PM +0200, Rene Engelhard wrote: Forgot git fetch --tags? I did 'git remote update origin', and I thought that includes tags. Now I see. The tag 'libreoffice-4.4.3.2' is not the branch called

current fresh release not tagged in git?

2015-05-18 Thread Richard Cochran
Dear list, It appears that LO Fresh 4.4.3 is not tagged in git. git tag | grep libreoffice-4 ... libreoffice-4.4.0.1 libreoffice-4.4.0.2 libreoffice-4.4.0.3 libreoffice-4.4.1.1 libreoffice-4.4.1.2 libreoffice-4.4.2.1 git branch -a | grep libreoffice-4 ...

Re: Build dependency on external cppunit

2015-05-18 Thread Richard Cochran
On Mon, May 11, 2015 at 05:57:38PM +0200, Michael Stahl wrote: On 08.05.2015 16:53, Miklos Vajna wrote: In any case: if test $cross_compiling != yes; then libo_CHECK_SYSTEM_MODULE([cppunit],[CPPUNIT],[cppunit = 1.12.0]) fi in configure.ac where cppunit is disabled in case of

Re: current fresh release not tagged in git?

2015-05-18 Thread Richard Cochran
On Mon, May 18, 2015 at 12:21:24PM +0200, Rene Engelhard wrote: Forgot git fetch --tags? I did 'git remote update origin', and I thought that includes tags. Hm. Thanks, Richard ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org

Re: Build dependency on external cppunit

2015-05-11 Thread Richard Cochran
On Mon, May 11, 2015 at 06:41:06AM +0200, Andras Timar wrote: On Fri, May 8, 2015 at 5:09 PM, Richard Cochran richardcoch...@gmail.com wrote: I specifically did 'make build' in order to avoid the tests, but the build system compiles the tests anyhow. The 'build' target includes tests

Re: Build dependency on external cppunit

2015-05-11 Thread Richard Cochran
On Mon, May 11, 2015 at 08:56:31AM +0200, Richard Cochran wrote: Thanks, that is very useful to know. Actually, that target fails in the same way as 'build' does: In file included from /mnt/storage/git/libreoffice/sal/cppunittester/cppunittester.cxx:28:0: /mnt/storage/git/libreoffice/include

Re: Build dependency on external cppunit

2015-05-09 Thread Richard Cochran
On Fri, May 08, 2015 at 07:07:01PM +0200, Miklos Vajna wrote: What's your cross-compilation target? x86_64 http://tinderbox.libreoffice.org/MASTER/status.html says that the Android and iOS cross-compilation targets work fine (those columns are green), as far as I see. That doesn't surprise

Re: Build dependency on external cppunit

2015-05-09 Thread Richard Cochran
On Fri, May 08, 2015 at 08:07:19PM +0300, Tor Lillqvist wrote: Well, we have tinderbox slaves that cross-compile for Android and iOS constantly, so it can't be totally broken. Those only work because the makefiles are full of special hacks for those two targets. For example: find external

Re: Build dependency on external cppunit

2015-05-09 Thread Richard Cochran
On Sat, May 09, 2015 at 02:31:16PM +0200, David Tardon wrote: At the very least, you would need to be consistent about passing --host and --build to the externals: Cross-compilation support for the bundled projects was added to these that needed to be cross-compiled. Doing it for all of

Re: Build dependency on external cppunit

2015-05-09 Thread Richard Cochran
On Sat, May 09, 2015 at 06:59:47PM +0300, Tor Lillqvist wrote: I think you missed the meaning of host in GNU autoconf terminology;) (np, I confuse those constantly myself, too, unless I am ver careful) Yes, the gnu terminology is confusing to me, too. But no, this time I am not confused! Both

Build dependency on external cppunit

2015-05-08 Thread Richard Cochran
Dear list, I am trying to build Version 4.4.0.3 with a -j30 parallel build, but I am running into this error. In file included from /git/libreoffice/sal/cppunittester/cppunittester.cxx:28:0: /git/libreoffice/include/cppunittester/protectorfactory.hxx:24:31: fatal error:

Re: Build dependency on external cppunit

2015-05-08 Thread Richard Cochran
On Fri, May 08, 2015 at 02:48:53PM +0200, Miklos Vajna wrote: Hi Richard, On Fri, May 08, 2015 at 02:12:45PM +0200, Richard Cochran richardcoch...@gmail.com wrote: Can't I just force cppunit to build manually beforehand? make cppunit.all Tried that already, too. Here is what I got

Re: Build dependency on external cppunit

2015-05-08 Thread Richard Cochran
On Fri, May 08, 2015 at 04:53:49PM +0200, Miklos Vajna wrote: On Fri, May 08, 2015 at 03:55:35PM +0200, Richard Cochran richardcoch...@gmail.com wrote: Ok, it is somehow related to the cross compile configuration. The 'make cppunit.all' works as expected with a native build. Isn't

Re: Build dependency on external cppunit

2015-05-08 Thread Richard Cochran
On Fri, May 08, 2015 at 03:31:39PM +0200, Richard Cochran wrote: I should probably add that I am trying to cross compile LO (I know, I know, don't ask why), and it is clear that building cross is not fully implemented, but in this case I think it should still work. Ok, it is somehow related

Re: Build dependency on external cppunit

2015-05-08 Thread Richard Cochran
On Fri, May 08, 2015 at 12:08:23PM +0200, Stephan Bergmann wrote: On 05/08/2015 10:45 AM, Richard Cochran wrote: 1. Where is the dependency from sal-cppunit specified? in sal/Executable_cppunittester.mk: $(eval $(call gb_Executable_use_externals,cppunittester,\ boost_headers