Public bug reported: Imported from Debian bug http://bugs.debian.org/1106637:
Package: src:parser Version: 3.5.1-2 Tags: ftbfs sid forky User: [email protected] Usertags: libxml2.14 [this bug is NOT targeted to the upcoming trixie release] http://qa-logs.debian.net/2025/05/23/parser_3.5.1-2_unstable_libxml2.log [...] pa_charset.C: In member function 'void Charset::addEncoding(char*)': pa_charset.C:1069:26: warning: '_xmlCharEncodingHandler::name' is deprecated [-Wdeprecated-declarations] 1069 | handler->name=name_cstr; | ^~~~ In file included from ../../src/include/pa_charset.h:29, from pa_charset.C:8: /usr/include/libxml2/libxml/encoding.h:169:11: note: declared here 169 | char *name XML_DEPRECATED_MEMBER; | ^~~~ pa_charset.C:1069:26: warning: '_xmlCharEncodingHandler::name' is deprecated [-Wdeprecated-declarations] 1069 | handler->name=name_cstr; | ^~~~ /usr/include/libxml2/libxml/encoding.h:169:11: note: declared here 169 | char *name XML_DEPRECATED_MEMBER; | ^~~~ pa_charset.C:1069:26: warning: '_xmlCharEncodingHandler::name' is deprecated [-Wdeprecated-declarations] 1069 | handler->name=name_cstr; | ^~~~ /usr/include/libxml2/libxml/encoding.h:169:11: note: declared here 169 | char *name XML_DEPRECATED_MEMBER; | ^~~~ pa_charset.C:1070:26: warning: '_xmlCharEncodingHandler::input' is deprecated [-Wdeprecated-declarations] 1070 | handler->input=inputFuncs[handlers_count]; | ^~~~~ /usr/include/libxml2/libxml/encoding.h:173:7: note: declared here 173 | } input XML_DEPRECATED_MEMBER; | ^~~~~ pa_charset.C:1070:26: warning: '_xmlCharEncodingHandler::input' is deprecated [-Wdeprecated-declarations] 1070 | handler->input=inputFuncs[handlers_count]; | ^~~~~ /usr/include/libxml2/libxml/encoding.h:173:7: note: declared here 173 | } input XML_DEPRECATED_MEMBER; | ^~~~~ pa_charset.C:1070:26: warning: '_xmlCharEncodingHandler::input' is deprecated [-Wdeprecated-declarations] 1070 | handler->input=inputFuncs[handlers_count]; | ^~~~~ /usr/include/libxml2/libxml/encoding.h:173:7: note: declared here 173 | } input XML_DEPRECATED_MEMBER; | ^~~~~ pa_charset.C:1070:57: error: no match for 'operator=' (operand types are '_xmlCharEncodingHandler::<unnamed union>' and 'xmlCharEncodingInputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'}) 1070 | handler->input=inputFuncs[handlers_count]; | ^ /usr/include/libxml2/libxml/encoding.h:170:11: note: candidate: 'constexpr _xmlCharEncodingHandler::<unnamed union>& _xmlCharEncodingHandler::<unnamed union>::operator=(const _xmlCharEncodingHandler::<unnamed union>&)' 170 | union { | ^ /usr/include/libxml2/libxml/encoding.h:170:11: note: no known conversion for argument 1 from 'xmlCharEncodingInputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'} to 'const _xmlCharEncodingHandler::<unnamed union>&' /usr/include/libxml2/libxml/encoding.h:170:11: note: candidate: 'constexpr _xmlCharEncodingHandler::<unnamed union>& _xmlCharEncodingHandler::<unnamed union>::operator=(_xmlCharEncodingHandler::<unnamed union>&&)' /usr/include/libxml2/libxml/encoding.h:170:11: note: no known conversion for argument 1 from 'xmlCharEncodingInputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'} to '_xmlCharEncodingHandler::<unnamed union>&&' pa_charset.C:1071:26: warning: '_xmlCharEncodingHandler::output' is deprecated [-Wdeprecated-declarations] 1071 | handler->output=outputFuncs[handlers_count]; | ^~~~~~ /usr/include/libxml2/libxml/encoding.h:177:7: note: declared here 177 | } output XML_DEPRECATED_MEMBER; | ^~~~~~ pa_charset.C:1071:26: warning: '_xmlCharEncodingHandler::output' is deprecated [-Wdeprecated-declarations] 1071 | handler->output=outputFuncs[handlers_count]; | ^~~~~~ /usr/include/libxml2/libxml/encoding.h:177:7: note: declared here 177 | } output XML_DEPRECATED_MEMBER; | ^~~~~~ pa_charset.C:1071:26: warning: '_xmlCharEncodingHandler::output' is deprecated [-Wdeprecated-declarations] 1071 | handler->output=outputFuncs[handlers_count]; | ^~~~~~ /usr/include/libxml2/libxml/encoding.h:177:7: note: declared here 177 | } output XML_DEPRECATED_MEMBER; | ^~~~~~ pa_charset.C:1071:59: error: no match for 'operator=' (operand types are '_xmlCharEncodingHandler::<unnamed union>' and 'xmlCharEncodingOutputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'}) 1071 | handler->output=outputFuncs[handlers_count]; | ^ /usr/include/libxml2/libxml/encoding.h:174:11: note: candidate: 'constexpr _xmlCharEncodingHandler::<unnamed union>& _xmlCharEncodingHandler::<unnamed union>::operator=(const _xmlCharEncodingHandler::<unnamed union>&)' 174 | union { | ^ /usr/include/libxml2/libxml/encoding.h:174:11: note: no known conversion for argument 1 from 'xmlCharEncodingOutputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'} to 'const _xmlCharEncodingHandler::<unnamed union>&' /usr/include/libxml2/libxml/encoding.h:174:11: note: candidate: 'constexpr _xmlCharEncodingHandler::<unnamed union>& _xmlCharEncodingHandler::<unnamed union>::operator=(_xmlCharEncodingHandler::<unnamed union>&&)' /usr/include/libxml2/libxml/encoding.h:174:11: note: no known conversion for argument 1 from 'xmlCharEncodingOutputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'} to '_xmlCharEncodingHandler::<unnamed union>&&' pa_charset.C: In member function 'String::C Charset::transcode_cstr(const xmlChar*)': pa_charset.C:1103:63: warning: '_xmlCharEncodingHandler::output' is deprecated [-Wdeprecated-declarations] 1103 | if(xmlCharEncodingOutputFunc output=transcoder(FNAME).output) { | ^~~~~~ /usr/include/libxml2/libxml/encoding.h:177:7: note: declared here 177 | } output XML_DEPRECATED_MEMBER; | ^~~~~~ pa_charset.C:1103:63: warning: '_xmlCharEncodingHandler::output' is deprecated [-Wdeprecated-declarations] 1103 | if(xmlCharEncodingOutputFunc output=transcoder(FNAME).output) { | ^~~~~~ /usr/include/libxml2/libxml/encoding.h:177:7: note: declared here 177 | } output XML_DEPRECATED_MEMBER; | ^~~~~~ pa_charset.C:1103:63: warning: '_xmlCharEncodingHandler::output' is deprecated [-Wdeprecated-declarations] 1103 | if(xmlCharEncodingOutputFunc output=transcoder(FNAME).output) { | ^~~~~~ /usr/include/libxml2/libxml/encoding.h:177:7: note: declared here 177 | } output XML_DEPRECATED_MEMBER; | ^~~~~~ pa_charset.C:1103:63: error: cannot convert '_xmlCharEncodingHandler::<unnamed union>' to 'xmlCharEncodingOutputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'} in initialization 1103 | if(xmlCharEncodingOutputFunc output=transcoder(FNAME).output) { | ~~~~~~~~~~~~~~~~~~^~~~~~ | | | _xmlCharEncodingHandler::<unnamed union> pa_charset.C: In member function 'xmlChar* Charset::transcode_buf2xchar(const char*, size_t)': pa_charset.C:1134:61: warning: '_xmlCharEncodingHandler::input' is deprecated [-Wdeprecated-declarations] 1134 | if(xmlCharEncodingInputFunc input=transcoder(FNAME).input) { | ^~~~~ /usr/include/libxml2/libxml/encoding.h:173:7: note: declared here 173 | } input XML_DEPRECATED_MEMBER; | ^~~~~ pa_charset.C:1134:61: warning: '_xmlCharEncodingHandler::input' is deprecated [-Wdeprecated-declarations] 1134 | if(xmlCharEncodingInputFunc input=transcoder(FNAME).input) { | ^~~~~ /usr/include/libxml2/libxml/encoding.h:173:7: note: declared here 173 | } input XML_DEPRECATED_MEMBER; | ^~~~~ pa_charset.C:1134:61: warning: '_xmlCharEncodingHandler::input' is deprecated [-Wdeprecated-declarations] 1134 | if(xmlCharEncodingInputFunc input=transcoder(FNAME).input) { | ^~~~~ /usr/include/libxml2/libxml/encoding.h:173:7: note: declared here 173 | } input XML_DEPRECATED_MEMBER; | ^~~~~ pa_charset.C:1134:61: error: cannot convert '_xmlCharEncodingHandler::<unnamed union>' to 'xmlCharEncodingInputFunc' {aka 'int (*)(unsigned char*, int*, const unsigned char*, int*)'} in initialization 1134 | if(xmlCharEncodingInputFunc input=transcoder(FNAME).input) { | ~~~~~~~~~~~~~~~~~~^~~~~ | | | _xmlCharEncodingHandler::<unnamed union> make[3]: *** [Makefile:481: pa_charset.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_dictionary.C -fPIC -DPIC -o pa_dictionary.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_uue.C -fPIC -DPIC -o pa_uue.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_charsets.C -fPIC -DPIC -o pa_charsets.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c pa_request.C -fPIC -DPIC -o pa_request.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/punycode -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/parser-3.5.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c execute.C -fPIC -DPIC -o execute.o >/dev/null 2>&1 make[3]: Leaving directory '/build/reproducible-path/parser-3.5.1/src/main' make[2]: *** [Makefile:394: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/parser-3.5.1/src' make[1]: *** [Makefile:428: all-recursive] Error 1 ** Affects: parser (Ubuntu) Importance: Undecided Status: New ** Affects: parser (Debian) Importance: Undecided Status: New ** Tags: ftbfs update-excuse ** Bug watch added: Debian Bug tracker #1106637 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106637 ** Changed in: parser (Debian) Remote watch: None => Debian Bug tracker #1106637 ** Tags added: ftbfs update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2121369 Title: parser ftbfs with libxml 2.14.x from experimental To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parser/+bug/2121369/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
