Bug#1073329: libmusicbrainz5: FTBFS: xmlParser.cc:59:44: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
Source: libmusicbrainz5
Version: 5.1.0+git20150707-10
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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/src && /usr/bin/c++ -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/src/.. -I/<<PKGBUILDDIR>>/src/../include -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/../include -I/usr/include/neon -I/usr/include/libxml2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic-errors -MD -MT src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o -MF CMakeFiles/make-c-interface.dir/xmlParser.cc.o.d -o CMakeFiles/make-c-interface.dir/xmlParser.cc.o -c /<<PKGBUILDDIR>>/src/xmlParser.cc
> /<<PKGBUILDDIR>>/src/xmlParser.cc: In static member function ‘static XMLNode* XMLRootNode::parseFile(const std::string&, XMLResults*)’:
> /<<PKGBUILDDIR>>/src/xmlParser.cc:59:44: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
> 59 | xmlErrorPtr error = xmlGetLastError();
> | ~~~~~~~~~~~~~~~^~
> | |
> | const xmlError* {aka const _xmlError*}
> /<<PKGBUILDDIR>>/src/xmlParser.cc: In static member function ‘static XMLNode* XMLRootNode::parseString(const std::string&, XMLResults*)’:
> /<<PKGBUILDDIR>>/src/xmlParser.cc:74:44: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
> 74 | xmlErrorPtr error = xmlGetLastError();
> | ~~~~~~~~~~~~~~~^~
> | |
> | const xmlError* {aka const _xmlError*}
> make[5]: *** [src/CMakeFiles/make-c-interface.dir/build.make:93: src/CMakeFiles/make-c-interface.dir/xmlParser.cc.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/libmusicbrainz5_5.1.0+git20150707-10_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.
Reply to: