• Bug#1106636: linphone ftbfs with libxml 2.14.x from experimental

    From Matthias Klose@21:1/5 to All on Tue May 27 11:10:01 2025
    Package: src:linphone
    Version: 5.3.105-5
    Tags: ftbfs sid forky
    User: debian-xml-sgml-pkgs@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/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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Klose@21:1/5 to All on Sat May 31 12:30:01 2025
    Control: tags -1 + patch

    patch at
    https://patches.ubuntu.com/l/linphone/linphone_5.3.105-5ubuntu1.patch

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)