Moritz Mühlenhoff <j...@inutil.org> wrote:
> I have been holding this back since dh compat level 10 is supposed
> to do that by default

This has been mentioned as a possible enhancement of debhelper but is
not scheduled or certain yet:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480576#35
so we get to do it manually for a while longer.

Edmund Grimley Evans <edmund.grimley.ev...@gmail.com> wrote:

> I was able to build successfully if I replaced
> --with autoreconf
> with either
> --with autotools-dev
> or
> --with autoreconf,autotools-dev

The latter is correct. See
https://wiki.debian.org/Autoreconf#dh-autoreconf_and_autotools-dev

This package uses autoconf, but not libtool or automake. So
dh_autoreconf will not update config.{sub,guess} on its own.
autotools-dev also needs to be installed and used.

I've just confirmed that doing this does indeed fix matters
(autotools-dev is still in the control file so the above one-line
change is all that's needed). Patch attached anyway, as I've done one.

I'm happy to NMU this if you like.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
diff -Nru elinks-0.12~pre6/debian/changelog elinks-0.12~pre6/debian/changelog
--- elinks-0.12~pre6/debian/changelog	2015-06-17 21:53:16.000000000 +0000
+++ elinks-0.12~pre6/debian/changelog	2015-06-24 21:53:11.000000000 +0000
@@ -1,3 +1,10 @@
+elinks (0.12~pre6-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use autotools-dev as well as dh-autoreconf (Closes: #788321)
+
+ -- Wookey <woo...@debian.org>  Wed, 24 Jun 2015 16:18:46 +0000
+
 elinks (0.12~pre6-9) unstable; urgency=medium
 
   * Use dh-autoreconf to support arm64 (Closes: #788321)
diff -Nru elinks-0.12~pre6/debian/rules elinks-0.12~pre6/debian/rules
--- elinks-0.12~pre6/debian/rules	2015-06-17 21:46:39.000000000 +0000
+++ elinks-0.12~pre6/debian/rules	2015-06-24 21:53:37.000000000 +0000
@@ -4,7 +4,7 @@
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
 
 %:
-	dh $@ --with autoreconf
+	dh $@ --with autoreconf,autotools-dev
 
 override_dh_auto_configure:
 	dh_auto_configure --  --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc/elinks --without-lzma --without-openssl --without-x --enable-finger --with-gnutls=/usr --disable-nntp --enable-88-colors --enable-256-colors --enable-leds --enable-html-highlight --enable-fsp --disable-smb --with-perl --without-guile --without-python --without-ruby --with-gssapi --enable-cgi --disable-exmode --disable-bittorrent --disable-debug --without-spidermonkey

Reply via email to