I am uploading a NMU to fix this. Please find the debdiff attached.
diff -Nru swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/changelog swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/changelog --- swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/changelog 2024-08-03 09:41:56.000000000 +0200 +++ swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/changelog 2025-06-03 16:46:02.000000000 +0200 @@ -1,3 +1,11 @@ +swift-im (5.0~alpha2.145.g12d031cf8+dfsg-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix build with current libxml2 package version. (Closes: #1088140) + * Drop unnecessary Build-Depends: libqt5webkit5-dev. (Closes: #1093866) + + -- Bastian Germann <b...@debian.org> Tue, 03 Jun 2025 16:46:02 +0200 + swift-im (5.0~alpha2.145.g12d031cf8+dfsg-4) unstable; urgency=medium * Fix FTBFS with miniupnpc 2.2.8 (Closes: #1076692). diff -Nru swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/control swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/control --- swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/control 2024-08-03 09:30:57.000000000 +0200 +++ swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/control 2025-06-03 16:46:02.000000000 +0200 @@ -20,7 +20,6 @@ libminiupnpc-dev, libnatpmp-dev, libqt5svg5-dev, - libqt5webkit5-dev, libqt5x11extras5-dev, libsqlite3-dev, libssl-dev, diff -Nru swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/libxml2.patch swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/libxml2.patch --- swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/libxml2.patch 1970-01-01 01:00:00.000000000 +0100 +++ swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/libxml2.patch 2025-06-03 16:46:02.000000000 +0200 @@ -0,0 +1,13 @@ +Bug-Debian: https://bugs.debian.org/1088140 +--- +--- swift-im-5.0~alpha2.145.g12d031cf8+dfsg.orig/Swiften/Parser/LibXMLParser.cpp ++++ swift-im-5.0~alpha2.145.g12d031cf8+dfsg/Swiften/Parser/LibXMLParser.cpp +@@ -103,7 +103,7 @@ static void handleWarning(void*, const c + static void handleGenericError(void*, const char*, ... ) { + } + +-static void handleStructuredError(void *userData, const xmlError *error) { ++static void handleStructuredError(void *userData, xmlErrorPtr) { + } + + bool LibXMLParser::initialized = false; diff -Nru swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/series swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/series --- swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/series 2024-07-30 04:39:31.000000000 +0200 +++ swift-im-5.0~alpha2.145.g12d031cf8+dfsg/debian/patches/series 2025-06-03 16:46:02.000000000 +0200 @@ -4,3 +4,4 @@ fix-version-h.patch fix-ftbfs-miniupnpc2.8.patch fix-ftbs-gcc14.patch +libxml2.patch