pkgsrc-Users archive

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

libreoffice build failure



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

-- 
----


Home | Main Index | Thread Index | Old Index