Bug#1073309: [RFS] Re: Bug#1073309: cegui-mk2: FTBFS: XMLParser.cpp:102:40: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*

Bo YU tsu.yubo at gmail.com
Tue Jul 9 03:27:47 BST 2024


Hi,
On Sun, Jun 16, 2024 at 02:51:33PM +0200, Lucas Nussbaum wrote:
>Source: cegui-mk2
>Version: 0.8.7+git20220615-6
>Severity: serious
>Justification: FTBFS
>Tags: trixie sid ftbfs
>User: lucas at debian.org
>Usertags: ftbfs-20240615 ftbfs-trixie
>on amd64.
>
>
>Relevant part (hopefully):
>> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cegui/src/RendererModules/OpenGL && /usr/bin/c++ -DCEGUIOPENGLRENDERER_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cegui/include -I/<<PKGBUILDDIR>>/cegui/include -I/<<PKGBUILDDIR>>/cegui/include/RendererModules/OpenGL -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11  -fsigned-char -Wall -Wextra -Wundef -std=c++11 -fPIC -MD -MT cegui/src/RendererModules/OpenGL/CMakeFiles/CEGUIOpenGLRenderer-0.dir/GL3FBOTextureTarget.cpp.o -MF CMakeFiles/CEGUIOpenGLRenderer-0.dir/GL3FBOTextureTarget.cpp.o.d -o CMakeFiles/CEGUIOpenGLRenderer-0.dir/GL3FBOTextureTarget.cpp.o -c /<<PKGBUILDDIR>>/cegui/src/RendererModules/OpenGL/GL3FBOTextureTarget.cpp
>> /<<PKGBUILDDIR>>/cegui/src/XMLParserModules/Libxml2/XMLParser.cpp: In member function ‘virtual void CEGUI::LibxmlParser::parseXML(CEGUI::XMLHandler&, const CEGUI::RawDataContainer&, const CEGUI::String&)’:
>> /<<PKGBUILDDIR>>/cegui/src/XMLParserModules/Libxml2/XMLParser.cpp:102:40: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive]
>>   102 |         xmlError* err = xmlGetLastError();
>>       |                         ~~~~~~~~~~~~~~~^~
>>       |                                        |
>>       |                                        const xmlError* {aka const _xmlError*}

I have pushed some commits which one of was tried to fix the issue also.

piupart should be okay once the new binary was got to be upload.

reprotest should be not a regreesion from my view.

Please review it at your free time.

https://salsa.debian.org/games-team/cegui-mk2

BR,
Bo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20240709/54eb155e/attachment.sig>


More information about the Pkg-games-devel mailing list