Bug#756314: libidl: use dh-autoreconf to fix FTBFS on ppc64el

2014-08-02 Thread Manuel A. Fernandez Montecelo
Control: tags -1 + pending

Hi,

The unability to compile this package is a problem for ports being
added recently (OpenRISC/or1k, ppc64el, ...) since they don't have
older versions to rely on, and many packages depend on them as
build-dependencies to compile, so this package (among many others) is
blocking a good portion of the archive to compile cleanly for these
ports.

I am preparing a NMU (diff attached) to fix the bugs above (see
headers), uploaded immediately as per guidelines in [1] -- since this
package is needed to compile many other packages, the package is
orphan, and the changes should not affect the behaviour of the package
in the other architectures.

[1] http://www.debian.org/doc/manuals/developers-reference/pkgs.html#nmu



Please let me know if you want me to cancel the upload, or can assist
you in any way.

--
Manuel A. Fernandez Montecelo manuel.montez...@gmail.com
diff -u libidl-0.8.14/debian/changelog libidl-0.8.14/debian/changelog
--- libidl-0.8.14/debian/changelog
+++ libidl-0.8.14/debian/changelog
@@ -1,3 +1,12 @@
+libidl (0.8.14-0.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Run dh-autoreconf to update config.{sub,guess} and
+{libtool,aclocal}.m4, necessary for some new ports.  Thanks
+Brahadambal Srinivasan.  (Closes: #756314)
+
+ -- Manuel A. Fernandez Montecelo m...@debian.org  Sat, 02 Aug 2014 10:09:24 
+0100
+
 libidl (0.8.14-0.3) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u libidl-0.8.14/debian/control libidl-0.8.14/debian/control
--- libidl-0.8.14/debian/control
+++ libidl-0.8.14/debian/control
@@ -3,7 +3,7 @@
 Maintainer: Sebastian Rittau srit...@debian.org
 Standards-Version: 3.8.3
 Section: libs
-Build-Depends: libglib2.0-dev, pkg-config, bison, flex, texinfo, cdbs, 
debhelper (= 4.1.0)
+Build-Depends: libglib2.0-dev, pkg-config, bison, flex, texinfo, cdbs, 
debhelper (= 4.1.0), dh-autoreconf
 
 Package: libidl0
 Architecture: any
diff -u libidl-0.8.14/debian/rules libidl-0.8.14/debian/rules
--- libidl-0.8.14/debian/rules
+++ libidl-0.8.14/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)


Bug#756314: libidl: use dh-autoreconf to fix FTBFS on ppc64el

2014-07-28 Thread Brahadambal Srinivasan

Package: libidl
Version: 0.8.14
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

The package libidl fails to build on ppc64le, because of changes
required in config.{guess,sub}. This patch includes
dh-autoreconf to the build so that it builds correctly.

Thanks and regards,
Brahadambal


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (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

--===6149585621595035286==
Content-Type: text/x-diff; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=dh-autoreconf.debpatch

diff -ruN libidl-0.8.14.orig/debian/control libidl-0.8.14/debian/control
--- libidl-0.8.14.orig/debian/control2014-07-28 17:04:14.0 +
+++ libidl-0.8.14/debian/control2014-07-28 17:04:59.0 +
@@ -3,7 +3,7 @@
 Maintainer: Sebastian Rittau srit...@debian.org
 Standards-Version: 3.8.3
 Section: libs
-Build-Depends: libglib2.0-dev, pkg-config, bison, flex, texinfo, cdbs, 
debhelper (= 4.1.0)
+Build-Depends: dh-autoreconf, libglib2.0-dev, pkg-config, bison, flex, 
texinfo, cdbs, debhelper (= 4.1.0)


 Package: libidl0
 Architecture: any
diff -ruN libidl-0.8.14.orig/debian/rules libidl-0.8.14/debian/rules
--- libidl-0.8.14.orig/debian/rules2014-07-28 17:04:23.0 +
+++ libidl-0.8.14/debian/rules2014-07-28 17:05:10.0 +
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f

 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/autotools.mk

 DEB_CONFIGURE_EXTRA_FLAGS += 
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)


--===6149585621595035286==--

diff -ruN libidl-0.8.14.orig/debian/control libidl-0.8.14/debian/control
--- libidl-0.8.14.orig/debian/control   2014-07-28 17:04:14.0 +
+++ libidl-0.8.14/debian/control2014-07-28 17:04:59.0 +
@@ -3,7 +3,7 @@
 Maintainer: Sebastian Rittau srit...@debian.org
 Standards-Version: 3.8.3
 Section: libs
-Build-Depends: libglib2.0-dev, pkg-config, bison, flex, texinfo, cdbs, 
debhelper (= 4.1.0)
+Build-Depends: dh-autoreconf, libglib2.0-dev, pkg-config, bison, flex, 
texinfo, cdbs, debhelper (= 4.1.0)
 
 Package: libidl0
 Architecture: any
diff -ruN libidl-0.8.14.orig/debian/rules libidl-0.8.14/debian/rules
--- libidl-0.8.14.orig/debian/rules 2014-07-28 17:04:23.0 +
+++ libidl-0.8.14/debian/rules  2014-07-28 17:05:10.0 +
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)