[Pkg-zsh-devel] Bug#734765: src:zsh: FTBFS on arm64

Wookey wookey at debian.org
Fri Sep 19 00:34:08 UTC 2014


Package: src:zsh
Followup-For: Bug #734765
User: debian-arm at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zsh_5.0.6-1-autoreconf.patch
Type: text/x-diff
Size: 1528 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20140919/7b34f49e/attachment.patch>


More information about the Pkg-zsh-devel mailing list