Source: jed
Version: 1:0.99.19-5
Severity: serious
Tags: patch
The latest version of jed FTBFS on arm64[1] because config.sub is too
old:
,----
| checking build system type... Invalid configuration `aarch64-linux-gnu':
machine `aarch64' not recognized
| configure: error: /bin/bash autoconf/config.sub aarch64-linux-gnu failed
`----
This should be fixed by replacing config.{sub,guess} with the files from
autotools-dev at build time. I have attached a possible patch which
does that via dh_update_autotools_config (included in debhelper since
version 9.20160114), but since I don't have an arm64 system, it's not
really tested.
Alternatively, dh_autotools-dev_updateconfig and
dh_autotools-dev_restoreconfig could be used (you should build-depend on
autotools-dev then).
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 4.6.4-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
1.
https://buildd.debian.org/status/fetch.php?pkg=jed&arch=arm64&ver=1%3A0.99.19-5&stamp=1469420374
diff -Nru jed-0.99.19/debian/control jed-0.99.19/debian/control
--- jed-0.99.19/debian/control 2016-07-25 03:15:10.000000000 +0200
+++ jed-0.99.19/debian/control 2016-07-25 10:07:00.000000000 +0200
@@ -4,7 +4,7 @@
Maintainer: Wookey <[email protected]>
Standards-Version: 3.9.8
Build-Depends-Indep: hevea
-Build-Depends: debhelper (>= 7), dh-autoreconf,
+Build-Depends: debhelper (>= 9.20160114), dh-autoreconf,
libxft-dev, libgpm-dev [linux-any],
libxt-dev, pkg-config, autotools-dev, slsh,
libslang2-dev, chrpath
diff -Nru jed-0.99.19/debian/rules jed-0.99.19/debian/rules
--- jed-0.99.19/debian/rules 2016-07-25 01:22:06.000000000 +0200
+++ jed-0.99.19/debian/rules 2016-07-25 10:09:01.000000000 +0200
@@ -53,12 +53,14 @@
clean:
dh_testdir
dh_autoreconf_clean
+ dh_update_autotools_config
dh_clean
[ ! -f Makefile ] || $(MAKE) distclean
rm -f build-stamp
config.status:
dh_testdir
+ dh_update_autotools_config
dh_autoreconf
./configure $(configure_flags) || \
{ rc=$$?; cat config.log; exit $$rc; }