[xml/sgml-pkgs] Bug#1120104: libxml2 FTBFS with the nopython build profile
Helmut Grohne
helmut at subdivi.de
Tue Oct 28 08:59:30 GMT 2025
Source: libxml2
Version: 2.15.1+dfsg-0.3
Severity: important
Justification: breaks architecture cross bootstrap
Tags: patch ftbfs
User: helmutg at debian.org
Usertags: rebootstrap
libxml2 fails to build from source when enabling the nopython build
profile. It implicitly enables the documentation build even when Python
bindings are disabled, but doxygen is annotated <!nocheck>. This trips
up configure. The easy way to fix this is to unconditionally install
doxygen. Possibly, disabling the documentation build in more places
would be a better solution. I'm attaching a patch for the simple one.
Helmut
-------------- next part --------------
diff -Nru libxml2-2.15.1+dfsg/debian/changelog libxml2-2.15.1+dfsg/debian/changelog
--- libxml2-2.15.1+dfsg/debian/changelog 2025-10-25 07:56:14.000000000 +0200
+++ libxml2-2.15.1+dfsg/debian/changelog 2025-10-28 09:50:49.000000000 +0100
@@ -1,3 +1,10 @@
+libxml2 (2.15.1+dfsg-0.4) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with nopython build profile. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Tue, 28 Oct 2025 09:50:49 +0100
+
libxml2 (2.15.1+dfsg-0.3) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru libxml2-2.15.1+dfsg/debian/control libxml2-2.15.1+dfsg/debian/control
--- libxml2-2.15.1+dfsg/debian/control 2025-10-05 12:08:03.000000000 +0200
+++ libxml2-2.15.1+dfsg/debian/control 2025-10-28 09:50:49.000000000 +0100
@@ -9,7 +9,7 @@
debhelper-compat (= 13),
Build-Depends-Indep:
pkgconf,
- doxygen <!nopython>,
+ doxygen,
xsltproc,
docbook-xsl,
Build-Depends-Arch:
@@ -22,7 +22,7 @@
rename,
zlib1g-dev | libz-dev,
libreadline-dev,
- doxygen <!nopython>,
+ doxygen,
xsltproc,
docbook-xsl,
Standards-Version: 4.6.2
More information about the debian-xml-sgml-pkgs
mailing list