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

Lucas Nussbaum lucas at debian.org
Sun Jun 16 13:51:33 BST 2024


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

Hi,

During a rebuild of all packages in sid, your package failed to build
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*}
> /<<PKGBUILDDIR>>/cegui/src/RendererModules/OpenGLES/./RenderTarget.inl: In instantiation of ‘CEGUI::OpenGLESRenderTarget<T>::OpenGLESRenderTarget(CEGUI::OpenGLESRenderer&) [with T = CEGUI::TextureTarget]’:
> /<<PKGBUILDDIR>>/cegui/src/RendererModules/OpenGLES/FBOTextureTarget.cpp:86:16:   required from here
> /<<PKGBUILDDIR>>/cegui/include/CEGUI/RendererModules/OpenGLES/RenderTarget.h:73:20: warning: ‘CEGUI::OpenGLESRenderTarget<CEGUI::TextureTarget>::d_viewDistance’ will be initialized after [-Wreorder]
>    73 |     mutable double d_viewDistance;
>       |                    ^~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/cegui/include/CEGUI/RendererModules/OpenGLES/RenderTarget.h:71:18: warning:   ‘bool CEGUI::OpenGLESRenderTarget<CEGUI::TextureTarget>::d_matrixValid’ [-Wreorder]
>    71 |     mutable bool d_matrixValid;
>       |                  ^~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/cegui/src/RendererModules/OpenGLES/FBOTextureTarget.cpp:309:
> /<<PKGBUILDDIR>>/cegui/src/RendererModules/OpenGLES/./RenderTarget.inl:42:1: warning:   when initialized here [-Wreorder]
>    42 | OpenGLESRenderTarget<T>::OpenGLESRenderTarget(OpenGLESRenderer& owner) :
>       | ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/cegui/include/CEGUI/RenderTarget.h:34,
>                  from /<<PKGBUILDDIR>>/cegui/include/CEGUI/RendererModules/OpenGLES/RenderTarget.h:31:
> /<<PKGBUILDDIR>>/cegui/include/CEGUI/Rect.h: In instantiation of ‘CEGUI::Rect<T>& CEGUI::Rect<T>::operator=(const CEGUI::Rect<T>&) [with T = float]’:
> /<<PKGBUILDDIR>>/cegui/src/RendererModules/OpenGLES/./RenderTarget.inl:71:12:   required from ‘void CEGUI::OpenGLESRenderTarget<T>::setArea(const CEGUI::Rectf&) [with T = CEGUI::TextureTarget; CEGUI::Rectf = CEGUI::Rect<float>]’
> /<<PKGBUILDDIR>>/cegui/src/RendererModules/OpenGLES/FBOTextureTarget.cpp:121:12:   required from here
> /<<PKGBUILDDIR>>/cegui/include/CEGUI/Rect.h:74:15: warning: implicitly-declared ‘CEGUI::Vector2<float>& CEGUI::Vector2<float>::operator=(const CEGUI::Vector2<float>&)’ is deprecated [-Wdeprecated-copy]
>    74 |         d_min = rhs.d_min;
>       |         ~~~~~~^~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/cegui/include/CEGUI/Size.h:33:
> /<<PKGBUILDDIR>>/cegui/include/CEGUI/Vector.h:69:12: note: because ‘CEGUI::Vector2<float>’ has user-provided ‘CEGUI::Vector2<T>::Vector2(const CEGUI::Vector2<T>&) [with T = float]’
>    69 |     inline Vector2(const Vector2& v):
>       |            ^~~~~~~
> /<<PKGBUILDDIR>>/cegui/include/CEGUI/Rect.h:75:15: warning: implicitly-declared ‘CEGUI::Vector2<float>& CEGUI::Vector2<float>::operator=(const CEGUI::Vector2<float>&)’ is deprecated [-Wdeprecated-copy]
>    75 |         d_max = rhs.d_max;
>       |         ~~~~~~^~~~~~~~~~~
> /<<PKGBUILDDIR>>/cegui/include/CEGUI/Vector.h:69:12: note: because ‘CEGUI::Vector2<float>’ has user-provided ‘CEGUI::Vector2<T>::Vector2(const CEGUI::Vector2<T>&) [with T = float]’
>    69 |     inline Vector2(const Vector2& v):
>       |            ^~~~~~~
> make[3]: *** [cegui/src/XMLParserModules/Libxml2/CMakeFiles/CEGUILibXMLParser.dir/build.make:79: cegui/src/XMLParserModules/Libxml2/CMakeFiles/CEGUILibXMLParser.dir/XMLParser.cpp.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/cegui-mk2_0.8.7+git20220615-6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-games-devel mailing list