Package: xz-utils
Version: 5.1.1alpha+20120614-2
Severity: normal
Tags: patch
User: crossbu...@debian.org
Usertags: cross

xz-utils' build-dependency on perl is unnecessary, and it impedes
cross-building (because perl is assumed to be needed from the host
architecture by default), which is awkward because xz-utils is part of a
base buildd chroot.  perl:native would be better, but Debian's build
daemons don't support that syntax yet.

As it happens, the perl build-dependency is entirely unnecessary.
xz-utils only uses the bare perl interpreter, without modules (other
than 'warnings' and 'strict').  As such, it has no need for
non-Essential facilities, and can rely on the Essential perl-base.  In
private mail, Jonathan suggested rewriting in awk, but this is
unnecessary; you really should just be able to rely on the Essentialness
of the perl interpreter here, and the Perl policy sanctions this given
that xz-utils is part of the base system.

  * Remove build-dependency on perl; we use no non-trivial Perl modules so
    the Essential perl-base is perfectly adequate, and an unadorned
    build-dependency on perl is problematic for cross-building.

diff -Nru xz-utils-5.1.1alpha+20120614/debian/control 
xz-utils-5.1.1alpha+20120614/debian/control
--- xz-utils-5.1.1alpha+20120614/debian/control 2012-10-11 23:38:38.000000000 
+0100
+++ xz-utils-5.1.1alpha+20120614/debian/control 2013-01-03 17:20:32.000000000 
+0000
@@ -3,7 +3,7 @@
 Priority: required
 Maintainer: Jonathan Nieder <jrnie...@gmail.com>
 Uploaders: Mohammed Adnène Trojette <adn+...@diwi.org>
-Build-Depends: debhelper (>= 8.9.0), perl, dpkg-dev (>= 1.16.2),
+Build-Depends: debhelper (>= 8.9.0), dpkg-dev (>= 1.16.2),
  autoconf (>= 2.64~), automake, libtool (>= 2.2),
  gettext, autopoint | gettext (<< 0.18-1), autopoint | cvs
 Build-Depends-Indep: doxygen

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to