Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917691 - app-office/libreoffice-7.5.8.2-r1: helpcompiler/source/HelpLinker.cxx:881:41: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’}
Summary: app-office/libreoffice-7.5.8.2-r1: helpcompiler/source/HelpLinker.cxx:881:41:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL: https://bugs.documentfoundation.org/s...
Whiteboard:
Keywords:
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2023-11-21 21:57 UTC by Andreas Sturmlechner
Modified: 2023-12-07 18:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
app-office:libreoffice-7.5.8.2-r1:20231121-215007.log.xz (app-office:libreoffice-7.5.8.2-r1:20231121-215007.log.xz,203.14 KB, application/x-xz)
2023-11-21 21:57 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2023-11-21 21:57:31 UTC
Created attachment 875308 [details]
app-office:libreoffice-7.5.8.2-r1:20231121-215007.log.xz

libreoffice-7.5.8.2/helpcompiler/source/HelpLinker.cxx:881:41: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
  881 |     xmlSetStructuredErrorFunc( nullptr, StructuredXMLErrorFunction );
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                         |
      |                                         void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)}
In file included from /usr/include/libxml2/libxml/valid.h:15,
                 from /usr/include/libxml2/libxml/parser.h:17,
                 from /var/tmp/portage/app-office/libreoffice-7.5.8.2-r1/work/libreoffice-7.5.8.2/helpcompiler/inc/HelpCompiler.hxx:32,
                 from /var/tmp/portage/app-office/libreoffice-7.5.8.2-r1/work/libreoffice-7.5.8.2/helpcompiler/source/HelpLinker.cxx:20:
/usr/include/libxml2/libxml/xmlerror.h:898:57: note:   initializing argument 2 of ‘void xmlSetStructuredErrorFunc(void*, xmlStructuredErrorFunc)’
  898 |                                  xmlStructuredErrorFunc handler);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
Comment 1 Larry the Git Cow gentoo-dev 2023-12-07 18:50:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd327737a7988fc40e8c46dd134d4d72ea79601c

commit bd327737a7988fc40e8c46dd134d4d72ea79601c
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-12-07 17:31:26 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-12-07 18:50:26 +0000

    app-office/libreoffice: Fix build with dev-libs/libxml2-2.12.0
    
    Closes: https://bugs.gentoo.org/917691
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/libreoffice-7.5.9.2-libxml2-2.12.patch   | 303 +++++++++++++++++++++
 app-office/libreoffice/libreoffice-7.5.9.2.ebuild  |   7 +-
 2 files changed, 308 insertions(+), 2 deletions(-)