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

Andrzej Telszewski atelszewski at gmail.com
Fri Oct 18 05:52:59 UTC 2019


On 17/10/2019 13:10, Christoph Willing wrote:
> 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.
> 

That did the trick!
Thank you!

> chris
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
> 


-- 
Best regards / Pozdrawiam,
Andrzej Telszewski


More information about the SlackBuilds-users mailing list