[xml/sgml-pkgs] Bug#245285: docbook2x: Must build-depend on libxslt1-dev

Rafael Laboissiere Rafael Laboissiere <rafael@debian.org>, 245285@bugs.debian.org
Thu, 22 Apr 2004 13:27:20 +0200


Package: docbook2x
Version: 0.8.2-1
Severity: serious

The package fails to build from source because a build-dependency on
libxslt1-dev must be specified.  The trivial patch is:

 --- debian/control      2004-04-22 12:38:30.000000000 +0200
 +++ debian/control-orig 2004-04-22 12:37:46.000000000 +0200
 @@ -2,7 +2,7 @@
 Section: text
 Priority: optional
 Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
-Build-Depends: debhelper (>= 4.2), cdbs (>= 0.4.21), libxslt1-dev (>= 1.0.28)
+Build-Depends-Indep: debhelper (>= 4.2), cdbs (>= 0.4.21)
 Standards-Version: 3.6.1.0

Notice two things: first, I put a versioned dependency because of these
lines in configure.ac:

LIBXSLT_REQUIRED_VERSION="1.0.28"
AM_PATH_XSLT($LIBXSLT_REQUIRED_VERSION, ,
        [ AC_MSG_ERROR([Could not find the required version of libxslt; you need to install that first]) ])

Second, I changed Build-Depends-Indep to Build-Depends because this package
has "Architecture: any" instead of "Architecture: all".  This may explain
why all the build daemons choked horribly:

   http://buildd.debian.org/build.php?arch=&pkg=docbook2x

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux laboiss0 2.4.19-686 #1 Mon Nov 18 23:59:03 EST 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages docbook2x depends on:
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  libxml2                     2.6.8-1      GNOME XML library
ii  libxslt1.1                  1.1.5-1      XSLT processing library - runtime 
ii  zlib1g                      1:1.2.1-3    compression library - runtime

-- no debconf information