Package: spatialindex Version: 1.7.0-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer, For the ppc64el architecture in Ubuntu, since this package uses libtool, a full autoreconf is necessary instead of just config.{sub,guess} updates with autotools-dev. This is because we need new libtool macros for ppc64el. In Ubuntu, the attached patch was applied to achieve the following: * Use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el. Thanks for considering the patch. Logan Rosen -- System Information: Debian Release: jessie/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0-1-generic (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru spatialindex-1.7.0/debian/control spatialindex-1.7.0/debian/control --- spatialindex-1.7.0/debian/control 2011-11-28 10:04:01.000000000 -0500 +++ spatialindex-1.7.0/debian/control 2014-01-09 22:32:39.000000000 -0500 @@ -2,7 +2,7 @@ Priority: extra Maintainer: Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org> Uploaders: Francesco Paolo Lovergine <fran...@debian.org> -Build-Depends: debhelper (>= 8), autotools-dev +Build-Depends: debhelper (>= 8), dh-autoreconf Standards-Version: 3.9.2 Section: science Homepage: https://github.com/libspatialindex/libspatialindex diff -Nru spatialindex-1.7.0/debian/rules spatialindex-1.7.0/debian/rules --- spatialindex-1.7.0/debian/rules 2011-11-28 10:04:01.000000000 -0500 +++ spatialindex-1.7.0/debian/rules 2014-01-08 23:17:29.000000000 -0500 @@ -22,15 +22,8 @@ config.status: configure dh_testdir + dh_autoreconf # Add here commands to configure the package. -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f config.sub config.sub.orig - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f config.guess config.guess.orig - cp -f /usr/share/misc/config.guess config.guess -endif ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \ CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \ CC=g++ # a dirty hack to force using of g++ at libtool linking time @@ -51,11 +44,9 @@ # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean - [ ! -f config.sub.orig ] || mv -f config.sub.orig config.sub - [ ! -f config.guess.orig ] || mv -f config.guess.orig config.guess rm -rf *.log autom4ate.cache rm -rf debian/tmp - + dh_autoreconf_clean dh_clean install: build