[Slackbuilds-users] LibreOffice 6.2.5.2 fails to build at Expat

Christoph Willing chris.willing at linux.com
Thu Oct 17 11:10:15 UTC 2019


On 17/10/19 3:21 pm, Andrzej Telszewski wrote:
> Hi,
> 
> I'm trying to build LibreOffice 6.2.5.2, but it fails.
> (Excerpt from build log listed at the end of message).
> 
> My build environment variables are the following:
> JAVA=jdk LOLANGS=en-US
> 
> I'm building against _jdk_ and not _openjdk7_.
> 
> I'm pretty sure this build has succeeded in the past.
> (Unfortunately, I don't have the package any more).
> 
> Please advice.
> Thanks!
> 
> The first error in the build log is the following:
> 
> [CXX] l10ntools/source/helper.cxx
> [CXX] l10ntools/source/common.cxx
> [CXX] l10ntools/source/merge.cxx
> In file included from /usr/include/expat.h:37:0,
>                  from
> /tmp/slackrepo-desktop/slackrepo.R9x3UX/build_LibreOffice/libreoffice-6.2.5.2/shell/inc/xml_parser.hxx:23,
> 
>                  from
> /tmp/slackrepo-desktop/slackrepo.R9x3UX/build_LibreOffice/libreoffice-6.2.5.2/shell/source/all/xml_parser.cxx:21:
> 
> /usr/include/expat_external.h:1:1: error: stray '\1' in program
>  riptor  user ended reading - closing archive                    long
> option '%s' not supported  long option '%s' ambiguous
>  ^
> /usr/include/expat_external.h:1:1: error: stray '\2' in program
> /usr/include/expat_external.h:1:1: error: stray '\3' in program
> /usr/include/expat_external.h:1:1: error: stray '\4' in program
> 

It builds OK here with jdk and using your options as above. In that part
of the build, I have:

[build XCU] en-US
[build ECH] CustomTarget/instsetoo_native/setup/unorc
[build ECH] CustomTarget/instsetoo_native/setup/fundamentalrc
[build ECH] CustomTarget/instsetoo_native/setup/lounorc
[build GPF] CustomTarget/filter/source/svg/tokens.gperf
[build PY ] CustomTarget/filter/source/svg/svgscript.hxx
[build ECH] CustomTarget/i18npool/collator/lrl_include.hxx
[build CXX] shell/source/all/xml_parser.cxx
[build GPF] CustomTarget/sdext/pdfimport/hash.cxx
[build CXX] l10ntools/source/helper.cxx
[build CXX] l10ntools/source/common.cxx
[build CXX] l10ntools/source/merge.cxx
[build CXX] l10ntools/source/po.cxx
[build CUS] extras/fonts
etc.


Maybe you could try reinstalling your expat package, since the error
seems to implicate the expat header files.

chris


More information about the SlackBuilds-users mailing list