Package: ocp
Version: 1:0.1.21-1.2
Followup-For: Bug #744480
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Dear Maintainer,

This is not fixed. The build is still failing on arm64 because dh-autoreconf
is not updating config.{sub,guess} for this package, since configure.ac does
not invoke AM_INIT_AUTOMAKE.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use autotools-dev to update config.{sub,guess} for new arches.

Thanks for considering the patch.

Logan Rosen

-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), 
(100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-4-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
Init: systemd (via /run/systemd/system)
diff -Nru ocp-0.1.21/debian/control ocp-0.1.21/debian/control
--- ocp-0.1.21/debian/control	2015-07-10 05:14:25.000000000 -0700
+++ ocp-0.1.21/debian/control	2015-07-12 22:34:50.000000000 -0700
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Gürkan Sengün <gur...@phys.ethz.ch>
 Uploaders: Debian Multimedia Team <debian-multime...@lists.debian.org>
-Build-Depends: debhelper (>= 8), dh-autoreconf, libmad0-dev, libid3tag0-dev, zlib1g-dev, libncurses5-dev, libogg-dev, libvorbis-dev, libsidplay1-dev, libx11-dev, libxext-dev, texi2html, libxxf86dga-dev, libxxf86vm-dev, texinfo, libbinio-dev, libadplug-dev (>= 2.0.1-2), libflac-dev, libxpm-dev, libasound2-dev, desktop-file-utils, dpkg (>= 1.15.4) | install-info
+Build-Depends: debhelper (>= 8), dh-autoreconf, autotools-dev, libmad0-dev, libid3tag0-dev, zlib1g-dev, libncurses5-dev, libogg-dev, libvorbis-dev, libsidplay1-dev, libx11-dev, libxext-dev, texi2html, libxxf86dga-dev, libxxf86vm-dev, texinfo, libbinio-dev, libadplug-dev (>= 2.0.1-2), libflac-dev, libxpm-dev, libasound2-dev, desktop-file-utils, dpkg (>= 1.15.4) | install-info
 Standards-Version: 3.9.2
 Homepage: http://stian.cubic.org/project-ocp.php
 
diff -Nru ocp-0.1.21/debian/rules ocp-0.1.21/debian/rules
--- ocp-0.1.21/debian/rules	2015-07-10 05:23:46.000000000 -0700
+++ ocp-0.1.21/debian/rules	2015-07-12 22:30:50.000000000 -0700
@@ -14,6 +14,7 @@
 configure-stamp:
 	dh_testdir
 	AUTOMAKE=true LIBTOOLIZE=true AUTOHEADER=true dh_autoreconf
+	dh_autotools-dev_updateconfig
 	CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \
         --build=$(DEB_BUILD_GNU_TYPE) \
         --prefix=/usr \
@@ -44,6 +45,7 @@
 	[ ! -f Makefile ] || $(MAKE) clean distclean
 	rm -f config.log config.status
 	dh_autoreconf_clean
+	dh_autotools-dev_restoreconfig
 	dh_clean
 
 install: build

Reply via email to