Build build tools only
mstahl at redhat.com
Mon Nov 30 02:02:03 PST 2015
On 28.11.2015 21:15, Andreas Müller wrote:
> Since a while I am trying to build libreoffice with yocto 
> cross-build system for my embedded devices.
> When building with yocto there are two temporary sysroots: One native
> for all the binaries run on build host during build and one for the
> cross target to link against the libraries.
> What causes me trouble for a while is native saxparser.
> * compile by something like (inspired by make target cross-toolset)
> make -f Makefile.gbuild build-tools
> * install all binaries an their libs manually into native sysroot
why do you want to install the build tools? that's another manual step
that nobody else is currently doing, so you'll going to have to maintain
it yourself when things change.
> From what I've seen so far there are many binaries used during cross
> build seem to work as expected.
> saxparser fails with (patch attached causing more detailed error message)
> ERROR: component context fails to supply service
> 'com.sun.star.xml.sax.Parser' of type 'com.sun.star.xml.sax.XParser'
it fails to create a UNO service, which according to "git grep
com.sun.star.xml.sax.Parser | grep \\.component" is from
sax/source/expatwrap/expwrap.component, which according to git grep
"gb_Library_set_componentfile.*expwrap" is sax/Library_expwrap.mk aka
More information about the LibreOffice