Opened 6 weeks ago

Closed 6 weeks ago

#70529 closed defect (fixed)

cegui @0.7.9: error: invalid conversion from 'const xmlError*' to 'xmlError*'

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc:
Port: cegui

Description

:info:build Making all in LibxmlParser
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cegui/cegui/work/CEGUI-0.7.9/cegui/src/XMLParserModules/LibxmlParser'
:info:build /bin/sh ../../../../libtool  --tag=CXX   --mode=compile ccache /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/XMLParserModules/LibxmlParser -I/opt/local/include/libxml2  -I/opt/local/include  -pipe -Os -arch ppc -MT libCEGUILibxmlParser_la-CEGUILibxmlParser.lo -MD -MP -MF .deps/libCEGUILibxmlParser_la-CEGUILibxmlParser.Tpo -c -o libCEGUILibxmlParser_la-CEGUILibxmlParser.lo `test -f 'CEGUILibxmlParser.cpp' || echo './'`CEGUILibxmlParser.cpp
:info:build /bin/sh ../../../../libtool  --tag=CXX   --mode=compile ccache /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/XMLParserModules/LibxmlParser -I/opt/local/include/libxml2  -I/opt/local/include  -pipe -Os -arch ppc -MT libCEGUILibxmlParser_la-CEGUILibxmlParserModule.lo -MD -MP -MF .deps/libCEGUILibxmlParser_la-CEGUILibxmlParserModule.Tpo -c -o libCEGUILibxmlParser_la-CEGUILibxmlParserModule.lo `test -f 'CEGUILibxmlParserModule.cpp' || echo './'`CEGUILibxmlParserModule.cpp
:info:build libtool: compile:  ccache /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/XMLParserModules/LibxmlParser -I/opt/local/include/libxml2 -I/opt/local/include -pipe -Os -arch ppc -MT libCEGUILibxmlParser_la-CEGUILibxmlParserModule.lo -MD -MP -MF .deps/libCEGUILibxmlParser_la-CEGUILibxmlParserModule.Tpo -c CEGUILibxmlParserModule.cpp  -fno-common -DPIC -o .libs/libCEGUILibxmlParser_la-CEGUILibxmlParserModule.o
:info:build libtool: compile:  ccache /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../../../cegui/include -I../../../../cegui/include -I../../../../cegui/include/XMLParserModules/LibxmlParser -I/opt/local/include/libxml2 -I/opt/local/include -pipe -Os -arch ppc -MT libCEGUILibxmlParser_la-CEGUILibxmlParser.lo -MD -MP -MF .deps/libCEGUILibxmlParser_la-CEGUILibxmlParser.Tpo -c CEGUILibxmlParser.cpp  -fno-common -DPIC -o .libs/libCEGUILibxmlParser_la-CEGUILibxmlParser.o
:info:build mv -f .deps/libCEGUILibxmlParser_la-CEGUILibxmlParserModule.Tpo .deps/libCEGUILibxmlParser_la-CEGUILibxmlParserModule.Plo
:info:build CEGUILibxmlParser.cpp: In member function 'virtual void CEGUI::LibxmlParser::parseXMLFile(CEGUI::XMLHandler&, const CEGUI::String&, const CEGUI::String&, const CEGUI::String&)':
:info:build CEGUILibxmlParser.cpp:108: error: invalid conversion from 'const xmlError*' to 'xmlError*'
:info:build make[4]: *** [libCEGUILibxmlParser_la-CEGUILibxmlParser.lo] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cegui/cegui/work/CEGUI-0.7.9/cegui/src/XMLParserModules/LibxmlParser'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cegui/cegui/work/CEGUI-0.7.9/cegui/src/XMLParserModules'
:info:build make[2]: *** [all-recursive] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cegui/cegui/work/CEGUI-0.7.9/cegui/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cegui/cegui/work/CEGUI-0.7.9/cegui'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cegui/cegui/work/CEGUI-0.7.9'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cegui/cegui/work/CEGUI-0.7.9" && /usr/bin/make -j6 -w all 
:info:build Exit code: 2

Attachments (1)

main.log (426.6 KB) - added by barracuda156 6 weeks ago.

Download all attachments as: .zip

Change History (3)

Changed 6 weeks ago by barracuda156

Attachment: main.log added

comment:1 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Status: assignedaccepted
Summary: cegui fails to build: error: invalid conversion from 'const xmlError*' to 'xmlError*'cegui @0.7.9: error: invalid conversion from 'const xmlError*' to 'xmlError*'

That error is easy enough to fix:

https://github.com/cegui/cegui/commit/285ba5a2c0c435ed865c6e86afe314a822fd1e3f

There are a couple other issues I'm working on before committing it.

comment:2 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 8b40ab31ee245a268c7ef69c3f0534625cb57d1d/macports-ports (master):

cegui: Add xercesc3 and fix build failures

Closes: #70529

Note: See TracTickets for help on using tickets.