Hi,
Since a while I am trying to build libreoffice with yocto [1][2]
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.
Native build means:
* configure with
--enable-debug \
--enable-dbgutil \
\
--enable-python=system \
--without-x \
--with-system-curl \
--with-system-boost \
--without-boost-date-time \
--without-boost-iostreams \
--without-boost-system \
--with-system-icu \
--with-system-expat \
--disable-postgresql-sdbc \
--disable-lotuswordpro \
--disable-firebird-sdbc \
--disable-liblangtag \
--disable-openssl \
--disable-gltf \
--disable-collada \
--disable-scripting-beanshell \
--disable-scripting-javascript \
--disable-graphite \
--disable-pdfimport \
--disable-orcus \
--disable-coinmp
* 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
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'
Even after several debug sessions on saxparser I have no idea what is
missing for saxparser working as expected. Is it the XParser'.idl and
the other idl-files? If yes where would saxparser search for it.
I would really appreciate help on this as I have the feeling I am
close to full build..
Andreas
[1] https://www.yoctoproject.org/
[2] https://github.com/schnitzeltony/meta-libreoffice
From 98774bf61294703183118b7953f6a92cad6da068 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Thu, 26 Nov 2015 17:48:19 +0100
Subject: [PATCH] cppumaker: output more detailed error message
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [oe specific]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
codemaker/source/cppumaker/cpputype.cxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx
index 0b3e9fd..26a9a73 100644
--- a/codemaker/source/cppumaker/cpputype.cxx
+++ b/codemaker/source/cppumaker/cpputype.cxx
@@ -3385,11 +3385,7 @@ static OUString failsToSupply(const OUString& name_, const OString& baseName)
{
return OUString(
"\n"
- "#if OSL_DEBUG_LEVEL > 0\n"
- " ::rtl::OUString(\"component context fails to supply service '" +
name_ + "' of type '" + OStringToOUString(baseName, RTL_TEXTENCODING_UTF8) + "'\")\n"
- "#else\n"
- " ::rtl::OUString(\"service not supplied\")\n"
- "#endif\n");
+ " ::rtl::OUString(\"component context fails to supply service '" +
name_ + "' of type '" + OStringToOUString(baseName, RTL_TEXTENCODING_UTF8) + "'\")\n");
}
void ServiceType::dumpHxxFile(
--
2.1.0
Context
- Build build tools only · Andreas Müller
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.