Source: x11-xserver-utils Version: 7.7+1 Severity: normal Tags: patch User: debian-...@lists.debian.org Usertag: arm64
This package FTBFS on the forthcoming arm64 architecture due to config.{sub,guess} being too old. This patch uses autotools-dev and the debhelper dh_autotools* commands to update them before configre and clean them at the end. This is a nice solution which will work for other new architectures in the future. (hopefully it will become default debhelper behaviour at some point). You could alternatively choose to do a full dh_autoreconf which is a more thorough excercise and generally a good thing, but that may need packaging changes to work. This patch is non-intrusive and tested. -- System Information: Debian Release: 7.3 APT prefers stable APT policy: (990, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
diff -Nru x11-xserver-utils-7.7+1/debian/changelog x11-xserver-utils-7.7+1arm64/debian/changelog --- x11-xserver-utils-7.7+1/debian/changelog 2013-09-15 18:00:24.000000000 +0000 +++ x11-xserver-utils-7.7+1arm64/debian/changelog 2063-05-01 15:06:15.000000000 +0000 @@ -1,3 +1,9 @@ +x11-xserver-utils (7.7+1arm64) unstable; urgency=low + + * Use autotools-dev to ensure config.{sub,guess} are updated for new ports + + -- <woo...@linaro.org> Tue, 01 May 2063 15:05:14 +0000 + x11-xserver-utils (7.7+1) unstable; urgency=low [ Robert Hooker ] diff -Nru x11-xserver-utils-7.7+1/debian/control x11-xserver-utils-7.7+1arm64/debian/control --- x11-xserver-utils-7.7+1/debian/control 2013-09-15 14:47:31.000000000 +0000 +++ x11-xserver-utils-7.7+1arm64/debian/control 2063-05-01 15:02:51.000000000 +0000 @@ -5,6 +5,7 @@ Uploaders: Cyril Brulebois <k...@debian.org> Build-Depends: debhelper (>= 5.0.0), + autotools-dev, pkg-config, x11proto-core-dev (>= 7.0.17), libx11-dev (>= 2:1.0.0), diff -Nru x11-xserver-utils-7.7+1/debian/rules x11-xserver-utils-7.7+1arm64/debian/rules --- x11-xserver-utils-7.7+1/debian/rules 2013-09-15 18:00:10.000000000 +0000 +++ x11-xserver-utils-7.7+1arm64/debian/rules 2063-05-01 15:03:45.000000000 +0000 @@ -44,6 +44,7 @@ $(STAMP_DIR)/build-%: $(STAMP_DIR)/genscripts $(STAMP_DIR)/patch dh_testdir + dh_autotools-dev_updateconfig mkdir -p $*-build cd $*-build && \ ../$*/configure --prefix=/usr --mandir=\$${prefix}/share/man \ @@ -63,6 +64,7 @@ rm -f conftest* */conftest* rm -rf autom4te.cache */autom4te.cache rm -rf *-build + dh_autotools-dev_restoreconfig dh_clean install: build