#1106636 linphone ftbfs with libxml 2.14.x from experimental

Package:
src:linphone
Source:
src:linphone
Submitter:
Matthias Klose
Date:
2025-08-22 10:57:01 UTC
Severity:
normal
Tags:
#1106636#5
Date:
2025-05-27 09:08:21 UTC
From:
To:
[this bug is NOT targeted to the upcoming trixie release]

http://qa-logs.debian.net/2025/05/23/linphone_5.3.105-5_unstable_libxml2.log

[...]

/build/reproducible-path/linphone-5.3.105/coreapi/lpc2xml.c: In function
‘xmlChar* convert_iso_to_utf8(const char*)’:
/build/reproducible-path/linphone-5.3.105/coreapi/lpc2xml.c:46:32:
warning: ‘_xmlCharEncodingHandler::input’ is deprecated
[-Wdeprecated-declarations]
    46 |                 ret = handler->input(out, &out_size, (const
xmlChar *)in, &temp);
       |                                ^~~~~
In file included from /usr/include/libxml2/libxml/parser.h:25,
                  from /usr/include/libxml2/libxml/tree.h:17,
                  from /usr/include/libxml2/libxml/xmlsave.h:14,
                  from
/build/reproducible-path/linphone-5.3.105/coreapi/lpc2xml.c:22:
/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here
   173 |     } input XML_DEPRECATED_MEMBER;
       |       ^~~~~
/build/reproducible-path/linphone-5.3.105/coreapi/lpc2xml.c:46:32:
warning: ‘_xmlCharEncodingHandler::input’ is deprecated
[-Wdeprecated-declarations]
    46 |                 ret = handler->input(out, &out_size, (const
xmlChar *)in, &temp);
       |                                ^~~~~
/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here
   173 |     } input XML_DEPRECATED_MEMBER;
       |       ^~~~~
/build/reproducible-path/linphone-5.3.105/coreapi/lpc2xml.c:46:32:
warning: ‘_xmlCharEncodingHandler::input’ is deprecated
[-Wdeprecated-declarations]
    46 |                 ret = handler->input(out, &out_size, (const
xmlChar *)in, &temp);
       |                                ^~~~~
/usr/include/libxml2/libxml/encoding.h:173:7: note: declared here
   173 |     } input XML_DEPRECATED_MEMBER;
       |       ^~~~~
/build/reproducible-path/linphone-5.3.105/coreapi/lpc2xml.c:46:37:
error: no match for call to ‘(_xmlCharEncodingHandler::<unnamed
union>) (xmlChar*&, int*, const xmlChar*, int*)’
    46 |                 ret = handler->input(out, &out_size, (const
xmlChar *)in, &temp);
       |
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [coreapi/CMakeFiles/liblinphone-coreapi.dir/build.make:628:
coreapi/CMakeFiles/liblinphone-coreapi.dir/lpc2xml.c.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/build/reproducible-path/linphone-5.3.105/coreapi/xmlrpc.c: In function
‘void format_request(LinphoneXmlRpcRequest*)’:
/build/reproducible-path/linphone-5.3.105/coreapi/xmlrpc.c:172:72:
warning: ‘_xmlBuffer::content’ is deprecated [-Wdeprecated-declarations]
   172 |                 request->content = belle_sip_strdup((const char
*)buf->content);
       |
        ^~~~~~~
In file included from /usr/include/libxml2/libxml/parser.h:16,
                  from /usr/include/libxml2/libxml/tree.h:17,
                  from
/build/reproducible-path/linphone-5.3.105/coreapi/xmlrpc.c:24:
/usr/include/libxml2/libxml/tree.h:103:14: note: declared here
   103 |     xmlChar *content XML_DEPRECATED_MEMBER;
       |              ^~~~~~~
/build/reproducible-path/linphone-5.3.105/coreapi/xmlrpc.c:172:72:
warning: ‘_xmlBuffer::content’ is deprecated [-Wdeprecated-declarations]
   172 |                 request->content = belle_sip_strdup((const char
*)buf->content);
       |
        ^~~~~~~
/usr/include/libxml2/libxml/tree.h:103:14: note: declared here
   103 |     xmlChar *content XML_DEPRECATED_MEMBER;
       |              ^~~~~~~
/build/reproducible-path/linphone-5.3.105/coreapi/xmlrpc.c:172:72:
warning: ‘_xmlBuffer::content’ is deprecated [-Wdeprecated-declarations]
   172 |                 request->content = belle_sip_strdup((const char
*)buf->content);
       |
        ^~~~~~~
/usr/include/libxml2/libxml/tree.h:103:14: note: declared here
   103 |     xmlChar *content XML_DEPRECATED_MEMBER;
       |              ^~~~~~~
make[4]: Leaving directory
'/build/reproducible-path/linphone-5.3.105/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:429:
coreapi/CMakeFiles/liblinphone-coreapi.dir/all] Error 2
make[3]: Leaving directory
'/build/reproducible-path/linphone-5.3.105/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:139: all] Error 2
make[2]: Leaving directory
'/build/reproducible-path/linphone-5.3.105/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8
"INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:83: override_dh_auto_build-arch] Error 25
make[1]: Leaving directory '/build/reproducible-path/linphone-5.3.105'
make: *** [debian/rules:52: binary] Error 2

#1106636#25
Date:
2025-08-22 10:54:04 UTC
From:
To: