tag 650534 patch pending
thanks

Hi Simon,

Simon Ruderich <si...@ruderich.org> (22/12/2011):
> Package: util-linux
> Version: 2.20.1-1
> Followup-For: Bug #650534
> 
> Hello,
> 
> It looks like an autoreconf is all that's necessary. The attached
> patch modifies mount/Makefile.in (the result of the autoreconf)
> to fix the build for now.

thanks. I've gone the “run autoreconf -vfi at build time” way instead
though, which is usually less error-prone than patching Makefile.in's
(timestamp skews can strike, see autotools-dev's README.Debian).

Also, next time, please tag the bug report with “patch” (see above) so
that people looking for RC bug to fix can find your patch easily. ;-)

Maintainers, you'll find the diff for my NMU attached.

Mraw,
KiBi.
--- util-linux-2.20.1/debian/control
+++ util-linux-2.20.1/debian/control
@@ -1,5 +1,5 @@
 Source: util-linux
-Build-Depends: libncurses5-dev, libslang2-dev (>=2.0.4), gettext, zlib1g-dev, dpkg-dev (>=1.13.12), libselinux1-dev [linux-any], debhelper (>=5), lsb-release, pkg-config, po-debconf
+Build-Depends: libncurses5-dev, libslang2-dev (>=2.0.4), gettext, zlib1g-dev, dpkg-dev (>=1.13.12), libselinux1-dev [linux-any], debhelper (>=5), lsb-release, pkg-config, po-debconf, autoconf, automake, autopoint, libtool
 Section: base
 Priority: required
 Uploaders: Scott James Remnant <sc...@ubuntu.com>, Adam Conrad <adcon...@0c3.net>
--- util-linux-2.20.1/debian/rules
+++ util-linux-2.20.1/debian/rules
@@ -42,6 +42,7 @@
 build-indep: build-stamp
 build-stamp:
 	dh_testdir
+	autoreconf -vfi
 	./configure $(CONFOPTS) $(CROSS)
 	$(MAKE) all CPU=$(arch) arch=$(arch)
 	touch build-stamp
--- util-linux-2.20.1/debian/changelog
+++ util-linux-2.20.1/debian/changelog
@@ -1,3 +1,16 @@
+util-linux (2.20.1-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Fix FTBFS by running autoreconf -vfi before calling ./configure, which
+    looks better than patching Makefile.in's manually. Thanks to Thorsten
+    Glaser for reporting, and to Simon Ruderich for suggesting a patch
+    (Closes: #650534).
+  * Add autoconf, automake, autopoint, and libtool to Build-Depends
+    accordingly.
+  * Set severity to “high” for the RC bug fix.
+
+ -- Cyril Brulebois <k...@debian.org>  Thu, 05 Jan 2012 18:24:37 +0100
+
 util-linux (2.20.1-1) unstable; urgency=low
 
   * New upstream

Attachment: signature.asc
Description: Digital signature

Reply via email to