Package: gsnmp
Version: 0.3.0-1.2
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-2-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 -u gsnmp-0.3.0/debian/control gsnmp-0.3.0/debian/control
--- gsnmp-0.3.0/debian/control
+++ gsnmp-0.3.0/debian/control
@@ -3,7 +3,7 @@
 Section: net
 Maintainer: Jochen Friedrich <joc...@scram.de>
 Uploaders: Stefan Bauer <stefan.ba...@cubewerk.de>
-Build-Depends: debhelper (>= 7.0.50~), libgnet-dev, libtool, pkg-config, libglib2.0-dev, autotools-dev
+Build-Depends: debhelper (>= 7.0.50~), libgnet-dev, libtool, pkg-config, libglib2.0-dev, dh-autoreconf
 Standards-Version: 3.8.4
 
 Package: libgsnmp0-dev
diff -u gsnmp-0.3.0/debian/rules gsnmp-0.3.0/debian/rules
--- gsnmp-0.3.0/debian/rules
+++ gsnmp-0.3.0/debian/rules
@@ -1,18 +1,12 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell pkg-config --cflags glib-2.0) $(shell pkg-config --cflags gnet-2.0)
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) $(shell pkg-config --libs glib-2.0) $(shell pkg-config --libs gnet-2.0)
 export CFLAGS LDFLAGS
 
-.PHONY: override_dh_auto_configure
-override_dh_auto_configure:
-	ln -s /usr/share/misc/config.guess .
-	ln -s /usr/share/misc/config.sub .
-	dh_auto_configure
-
 .PHONY: override_dh_strip
 override_dh_strip:
 	dh_strip --dbg-package=libgsnmp0-dbg

Reply via email to