• Bug#1104366: rtorrent: FTBFS: configure: error: Could not compile XMLRP

    From Florian Ernst@21:1/5 to Lucas Nussbaum on Fri May 2 16:30:01 2025
    On Tue, Apr 29, 2025 at 03:01:32PM +0200, Lucas Nussbaum wrote:
    checking for XMLRPC-C... failed
    configure: error: Could not compile XMLRPC-C test.
    tail -v -n \+0 config.log

    JFTR, the check for XMLRPC-C fails with

    | configure:22630: g++ -o conftest -g -O2 -ffile-prefix-map=/home/fernst/debian/temp/rtorrent/rtorrent-0.9.8=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -DDEBUG -Wall -I/usr/include -Wdate-time
    -D_FORTIFY_SOURCE=2 -Wl,-z,relro conftest.cpp -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread >&5
    | /usr/bin/ld: cannot find -lxmlrpc_xmlparse: No such file or directory
    | /usr/bin/ld: cannot find -lxmlrpc_xmltok: No such file or directory
    | collect2: error: ld returned 1 exit status

    which are just the libraries that have been dropped in <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102554>.

    rtorrent's current configure script retrieves the LIBS for xmlrpc-c via xmlrpc-c-config, which as of now still outputs

    | $ xmlrpc-c-config server-util --libs
    | -L/usr/lib/x86_64-linux-gnu -lxmlrpc_server -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lpthread

    so this will need to be fixed in xmlrpc-c. CC'ing the maintainer correspondingly.

    HTH,
    Flo

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEBn03XtJwVyplJ26xBjdBuvXdHs4FAmgU1RUACgkQBjdBuvXd Hs6Fbg/+MKx3tIlt9Huh0eMfcqGzSheg9JR90sj+m94ItkH/EdyTkCdc+jDbZDzL J3PWXzshh9uYCJ31KiwMU6EdKrYguMuAy33kp4PNlLwTIOcenl2Zy3wsGrJ9+bho PQpgHKwwm3m4vulowMtLXIde/LjNJ7D0NJ2+BdhTJhhA/Eoj6Z0wc88yxAg8dbRC 051ojgt08QAOxPz9WDCvqcvaDJKOSDJBWzO+1U8QJcDnlRPYV42SknWLZ+HVJevk UxopiPuj7sDmlk96gru4ku4+6MYd0EMTzrRm5IG5MkvWAD/NohwCPc9uX1XCYxRm mmRDytqHJZQw1KZAXw4infnTU0Hzu4tn5cuS2oxC51nL7NiuF9SDUF0h/jZqBkyV mlQjaSAbedUWCP8KhtO1MktY763Gb6oro37B0iOhxhuTQokRAhZcFD/35OCIcEEV YACs0l7B84xHqkSk4mQBZZxI3JOgwj6vnlqoaUEfFc3vLtH9NxygjVvepG7FAbW6 +wjqC5dvaLgJK8DLdJD50HTvmfddjNl7h5X4NrxUpQMTLJjFL7W4YqAVT+3E22bZ vLQVSUt7b+QzIzxlQYRW816vvtv56+hwQLTXQzIjSyGO0RgOFHvY8IUdDaEi3iO+ pcqg3LQ4lFMspKTgCjEFepJ977BoI1+x0xpaGQ6Uw16qfseOXOA=
    =MRBI
    -----END PGP SIGNATURE-----

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