pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libreoffice build failure



Hi,

Your pkgsrc tree has the following fix for the latest textproc/libxml2?

https://mail-index.netbsd.org/pkgsrc-changes/2024/01/27/msg291928.html


And I have LibreOffice 24.2.0.3 in my local pkgsrc tree.
I will commit it tomorrow hopefully.

Chavdar Ivanov <ci4ic4%gmail.com@localhost> writes:

> Hi,
>
> Has anybody seen this, or is it some local screw-up?
> ...
> /usr/pkg/bin/gmake -j 1  -rs -f
> /usr/pkgsrc/misc/libreoffice/work/libreoffice-7.6.4.1/Makefile.gbuild
> build
> [CXX] helpcompiler/source/HelpLinker.cxx
> /usr/pkgsrc/misc/libreoffice/work/libreoffice-7.6.4.1/helpcompiler/source/HelpLinker.cxx:
> In function 'bool compileExtensionHelp(const rtl::OUString&,
> std::u16string_view, std::u16
> string_view, sal_Int32, const rtl::OUString*, std::u16string_view,
> HelpProcessingErrorInfo&)':
> /usr/pkgsrc/misc/libreoffice/work/libreoffice-7.6.4.1/helpcompiler/source/HelpLinker.cxx:879:41:
> error: invalid conversion from 'void (*)(void*, const _xmlError*)' to
> 'xmlStructure
> dErrorFunc' {aka 'void (*)(void*, _xmlError*)'} [-fpermissive]
>   879 |     xmlSetStructuredErrorFunc( nullptr, StructuredXMLErrorFunction );
>       |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                         |
>       |                                         void (*)(void*, const
> _xmlError*)
> In file included from /usr/pkg/include/libxml2/libxml/valid.h:15,
>                  from /usr/pkg/include/libxml2/libxml/parser.h:17,
>                  from
> /usr/pkgsrc/misc/libreoffice/work/libreoffice-7.6.4.1/helpcompiler/inc/HelpCompiler.hxx:30,
>                  from
> /usr/pkgsrc/misc/libreoffice/work/libreoffice-7.6.4.1/helpcompiler/source/HelpLinker.cxx:20:
> /usr/pkg/include/libxml2/libxml/xmlerror.h:872:29: note:
> initializing argument 2 of 'void xmlSetStructuredErrorFunc(void*,
> xmlStructuredErrorFunc)'
>   872 |      xmlStructuredErrorFunc handler);
>       |      ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
> gmake[1]: *** [/usr/pkgsrc/misc/libreoffice/work/libreoffice-7.6.4.1/solenv/gbuild/LinkTarget.mk:337:
> /usr/pkgsrc/misc/libreoffice/work/libreoffice-7.6.4.1/workdir/CxxObject/helpco
> mpiler/source/HelpLinker.o] Error 1
> gmake: *** [Makefile:289: build] Error 2
> *** Error code 2
> ...
>
>
> Chavdar
>
> -- 
> ----

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index