Bug#1106620: scram ftbfs with libxml 2.14.x from experimental
Matthias Klose
doko at debian.org
Tue May 27 08:33:45 BST 2025
Package: src:scram
Version: 0.16.2-3
Tags: ftbfs sid forky
User: debian-xml-sgml-pkgs at lists.alioth.debian.org
Usertags: libxml2.14
[this bug is NOT targeted to the upcoming trixie release]
http://qa-logs.debian.net/2025/05/23/scram_0.16.2-3_unstable_libxml2.log
[...]
/build/reproducible-path/scram-0.16.2/src/xml.cc: In constructor
‘scram::xml::Document::Document(const std::string&,
scram::xml::Validator*)’:
/build/reproducible-path/scram-0.16.2/src/xml.cc:31:42: error: invalid
conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to
‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
31 | xmlErrorPtr xml_error = xmlGetLastError();
| ~~~~~~~~~~~~~~~^~
| |
| const xmlError* {aka
const _xmlError*}
In file included from /build/reproducible-path/scram-0.16.2/src/xml.cc:21:
/build/reproducible-path/scram-0.16.2/src/xml.h: In instantiation of
‘T scram::xml::detail::GetError(xmlErrorPtr) [with T =
scram::xml::ValidityError; xmlErrorPtr = _xmlError*]’:
/build/reproducible-path/scram-0.16.2/src/xml.h:460:7: required from here
460 | SCRAM_THROW(detail::GetError<ValidityError>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/reproducible-path/scram-0.16.2/src/xml.h:163:32: error: invalid
conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to
‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
163 | xml_error = xmlGetLastError();
| ~~~~~~~~~~~~~~~^~
| |
| const xmlError* {aka const
_xmlError*}
/build/reproducible-path/scram-0.16.2/src/xml.h: In instantiation of
‘T scram::xml::detail::GetError(xmlErrorPtr) [with T =
scram::xml::ParseError; xmlErrorPtr = _xmlError*]’:
/build/reproducible-path/scram-0.16.2/src/xml.cc:38:5: required from here
38 | SCRAM_THROW(detail::GetError<ParseError>(xml_error));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/build/reproducible-path/scram-0.16.2/src/xml.h:163:32: error: invalid
conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to
‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
163 | xml_error = xmlGetLastError();
| ~~~~~~~~~~~~~~~^~
| |
| const xmlError* {aka const
_xmlError*}
/build/reproducible-path/scram-0.16.2/src/xml.h: In instantiation of
‘T scram::xml::detail::GetError(xmlErrorPtr) [with T =
scram::xml::XIncludeError; xmlErrorPtr = _xmlError*]’:
/build/reproducible-path/scram-0.16.2/src/xml.cc:42:5: required from here
42 | SCRAM_THROW(detail::GetError<XIncludeError>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/reproducible-path/scram-0.16.2/src/xml.h:163:32: error: invalid
conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to
‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
163 | xml_error = xmlGetLastError();
| ~~~~~~~~~~~~~~~^~
| |
| const xmlError* {aka const
_xmlError*}
/build/reproducible-path/scram-0.16.2/src/xml.h: In instantiation of
‘T scram::xml::detail::GetError(xmlErrorPtr) [with T =
scram::LogicError; xmlErrorPtr = _xmlError*]’:
/build/reproducible-path/scram-0.16.2/src/xml.cc:55:5: required from here
55 | SCRAM_THROW(detail::GetError<LogicError>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/reproducible-path/scram-0.16.2/src/xml.h:163:32: error: invalid
conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to
‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
163 | xml_error = xmlGetLastError();
| ~~~~~~~~~~~~~~~^~
| |
| const xmlError* {aka const
_xmlError*}
[ 25%] Building CXX object src/CMakeFiles/scram.dir/expression/constant.cc.o
cd /build/reproducible-path/scram-0.16.2/obj-x86_64-linux-gnu/src &&
/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB
-DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB
-DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB
-DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_SYSTEM_DYN_LINK
-DBOOST_SYSTEM_NO_LIB
-DPROJECT_SOURCE_DIR=\"/build/reproducible-path/scram-0.16.2\"
-Dscram_EXPORTS
-I/build/reproducible-path/scram-0.16.2/obj-x86_64-linux-gnu/src
-I/build/reproducible-path/scram-0.16.2/src
-I/build/reproducible-path/scram-0.16.2 -isystem /usr/include/libxml2 -g
-O2 -fdebug-prefix-map=/build/reproducible-path/scram-0.16.2=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2
-fno-new-ttp-matching -O3 -DNDEBUG -std=c++17 -fPIC -MD -MT
src/CMakeFiles/scram.dir/expression/constant.cc.o -MF
CMakeFiles/scram.dir/expression/constant.cc.o.d -o
CMakeFiles/scram.dir/expression/constant.cc.o -c
/build/reproducible-path/scram-0.16.2/src/expression/constant.cc
make[3]: *** [src/CMakeFiles/scram.dir/build.make:138:
src/CMakeFiles/scram.dir/xml.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /build/reproducible-path/scram-0.16.2/src/config.h:30,
from
/build/reproducible-path/scram-0.16.2/src/config.cc:21:
/build/reproducible-path/scram-0.16.2/src/xml.h: In instantiation of
‘T scram::xml::detail::GetError(xmlErrorPtr) [with T =
scram::xml::ValidityError; xmlErrorPtr = _xmlError*]’:
/build/reproducible-path/scram-0.16.2/src/xml.h:460:7: required from here
460 | SCRAM_THROW(detail::GetError<ValidityError>());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/build/reproducible-path/scram-0.16.2/src/xml.h:163:32: error: invalid
conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to
‘xmlErrorPtr’ {aka ‘_xmlError*’} [-fpermissive]
163 | xml_error = xmlGetLastError();
| ~~~~~~~~~~~~~~~^~
| |
| const xmlError* {aka const
_xmlError*}
make[3]: *** [src/CMakeFiles/scram.dir/build.make:152:
src/CMakeFiles/scram.dir/config.cc.o] Error 1
More information about the debian-science-maintainers
mailing list