[xml/sgml-pkgs] Bug#952768: libxslt1-dev amd64 and i386 no longer multi-arch coinstallable

Francois Gouget fgouget at free.fr
Wed Mar 4 12:34:39 GMT 2020


I propose the following patch which simply removes xslt-config on 
account of the xxx-config scripts being relics from a faraway 
pre-pkgconfig past and having for sole purpose to break multiarch 
compatibility. In that view any package which depends on an xxx-config 
script is broken and should be fixed to use pkgconfig instead.

There is another trap which is that the package is missing a 
Build-Depends on xsltproc, resulting in differences in the NEWS file 
depending on whether the build machine (or chroot) has it installed or 
not! A proper fix would probably be to use the freshly built xsltproc 
binary instead of hardcoding /usr/bin/xsltproc but I'll just leave that 
as an exercise for the reader.


diff -ur debian.orig/changelog debian/changelog
--- debian.orig/changelog	2020-02-22 15:28:46.000000000 +0100
+++ debian/changelog	2020-03-04 12:00:00.000000000 +0100
@@ -1,3 +1,11 @@
+libxslt (1.1.34-3ma) unstable; urgency=medium
+
+  * Remove xslt-config for multiarch compatibility. Closes: #952768
+  * Add a build dependency on xsltproc because it is needed to update the
+    NEWS file.
+
+ -- Francois Gouget <fgouget at free.fr>  Wed, 04 Mar 2020 12:00:00 +0100
+
 libxslt (1.1.34-3) unstable; urgency=medium
 
   * Team upload.
diff -ur debian.orig/control debian/control
--- debian.orig/control	2020-02-22 15:23:43.000000000 +0100
+++ debian/control	2020-03-04 12:00:00.000000000 +0100
@@ -13,6 +13,7 @@
  perl:any,
  pkg-config,
  rename,
+ xsltproc,
 Standards-Version: 4.5.0
 Rules-Requires-Root: no
 Homepage: http://xmlsoft.org/xslt/
diff -ur debian.orig/libxslt1-dev.install debian/libxslt1-dev.install
--- debian.orig/libxslt1-dev.install	2020-02-21 14:18:51.000000000 +0100
+++ debian/libxslt1-dev.install	2020-03-04 11:53:24.000000000 +0100
@@ -1,4 +1,3 @@
-usr/bin/xslt-config
 usr/include
 usr/lib/*/libexslt.so
 usr/lib/*/libxslt.so

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                  Hell is empty and all the devils are here.
                       -- Wm. Shakespeare, "The Tempest"



More information about the debian-xml-sgml-pkgs mailing list