Package: src:zsh Followup-For: Bug #734765 User: debian-...@lists.debian.org Usertag: arm64
> Am I right that this happened to you on Debian Wheezy? Or was it on a > different machine than the report was written? (If so, which > distribution and which architecture?) Sorry yes (it was reported on a different machine) - I always try to remove that misleading info (and wish reportbug had a setting to do so as I am rarely able to report bugs on the machine they occur on). This was on an arm64 unstable buildd. So no you wouldn't be able to reproduce it on amd64 and/or wheezy. anyway, this has been rendered moot by the new upload (5.0.5-2) which failed to build on arm64 for different reasons. https://buildd.debian.org/status/fetch.php?pkg=zsh&arch=arm64&ver=5.0.6-1&stamp=1410850102 The classic 'config.sub,guess out of date' symptom: dh_auto_configure -B obj -- --prefix=/usr --mandir=/usr/share/man --bindir=/bin LDFLAGS="-Wl,--as-needed -g -Wl,-z,relro" --infodir=/usr/share/info --enable-maildir-support --enable-max-jobtable-size=256 --enable-etcdir=/etc/zsh --enable-function-subdirs --enable-site-fndir=/usr/local/share/zsh/site-functions --enable-fndir=/usr/share/zsh/functions --with-tcsetpgrp --with-term-lib="ncursesw tinfo" --enable-cap --enable-pcre --enable-readnullcmd=pager --enable-custom-patchlevel=Debian --enable-additional-fpath=/usr/share/zsh/vendor-functions,/usr/share/zsh/vendor-completions --disable-ansi2knr configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking, --enable-max-jobtable-size configuring for zsh 5.0.6 Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized configure: error: /bin/bash ../config.sub aarch64-linux-gnu failed Now this is odd because the package runs dh_autoreconf. However it clearly isn't working, and the top-level config.sub remains too old for newer arches. I don't understand why this is because the package appears to use automake as well as autoconf so these files should get updated. (see https://wiki.debian.org/Autoreconf for explanation). I'm afraid I have not got to the bottom of this, but the simple expedient of running dh_autotools-dev_updateconfig as well as autoreconf fixes the problem and it builds. A patch for this is attached. This is perhaps not perfect, but is a small and simple fix which does no harm. I will upload a package with this fix to delayed/7 soon in order to get it built in the new arches. Shout if that's not OK. Wookey
diff -Nru zsh-5.0.6/debian/changelog zsh-5.0.6/debian/changelog --- zsh-5.0.6/debian/changelog 2014-08-30 23:16:24.000000000 +0000 +++ zsh-5.0.6/debian/changelog 2014-09-18 20:46:12.000000000 +0000 @@ -1,3 +1,10 @@ +zsh (5.0.6-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * Use autotools-dev as well as autoreconf to ensure configurey updates + + -- Wookey <woo...@debian.org> Thu, 18 Sep 2014 20:45:06 +0000 + zsh (5.0.6-1) unstable; urgency=medium * New upstream release diff -Nru zsh-5.0.6/debian/control zsh-5.0.6/debian/control --- zsh-5.0.6/debian/control 2014-08-25 22:45:13.000000000 +0000 +++ zsh-5.0.6/debian/control 2014-09-18 20:47:08.000000000 +0000 @@ -4,8 +4,9 @@ Build-Depends: bsdmainutils, cm-super-minimal, debhelper (>= 9~), - dh-autoreconf, dpkg-dev (>= 1.16.2~), + dh-autoreconf, + autotools-dev, ghostscript, groff, groff-base, diff -Nru zsh-5.0.6/debian/rules zsh-5.0.6/debian/rules --- zsh-5.0.6/debian/rules 2014-08-30 22:58:27.000000000 +0000 +++ zsh-5.0.6/debian/rules 2014-09-18 20:49:47.000000000 +0000 @@ -72,6 +72,7 @@ configure: touch stamp-h.in + dh_autotools-dev_updateconfig dh_autoreconf configure-stamp: configure @@ -93,6 +94,7 @@ clean: dh_testdir dh_autoreconf_clean + dh_autotools-dev_restoreconfig rm -f build build-static dh_auto_clean -B obj --parallel dh_auto_clean -B obj-static --parallel