tags 750692 + pending
thanks

Dear maintainer,

This bug has been pending for some time, and needs fixing for new
ports, including arm64 which is building now:
(http://buildd.debian-ports.org/status/architecture.php?a=arm64&suite=sid).

So I've prepared an NMU for slurm-drmaa (versioned as 1.0.6-2.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I should
delay it longer.

Discussion on debian-devel revealed consensus that the right way to
ensure successful builds on all new architectures was to autoreconf
packages, so that method has been used to fix this bug. This works for
all arches, even those that need libtool changes, and will continue to
work into the future without an update as each new arch comes along.
(Discussion at
https://lists.debian.org/debian-devel/2014/04/msg00383.html, thread
starting at https://lists.debian.org/debian-devel/2014/04/msg00342.html

As you can see this works fine on this package, and is a fairly simple
patch. As well as the normal autoconf changes, this package needs the
automake reporting context set to 'foreign' to avoid complaints about
missing files which are mandatory in GNU projects (such as NEWS,
AUTHOR).

Regards.
diff -Nru slurm-drmaa-1.0.6/debian/changelog slurm-drmaa-1.0.6/debian/changelog
--- slurm-drmaa-1.0.6/debian/changelog	2013-01-23 13:26:23.000000000 +0000
+++ slurm-drmaa-1.0.6/debian/changelog	2014-07-04 02:24:44.000000000 +0100
@@ -1,3 +1,10 @@
+slurm-drmaa (1.0.6-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use dh-autoreconf in build to support new architectures (Closes: #750692)
+
+ -- Chen Baozi <baoz...@gmail.com>  Fri, 13 Jun 2014 15:46:14 +0800
+
 slurm-drmaa (1.0.6-2) unstable; urgency=low
 
   * debian/compat: increase compat level to 9
diff -Nru slurm-drmaa-1.0.6/debian/control slurm-drmaa-1.0.6/debian/control
--- slurm-drmaa-1.0.6/debian/control	2013-01-23 13:24:20.000000000 +0000
+++ slurm-drmaa-1.0.6/debian/control	2014-07-04 02:26:36.000000000 +0100
@@ -1,7 +1,7 @@
 Source: slurm-drmaa
 Priority: optional
 Maintainer: Dominique Belhachemi <domi...@debian.org>
-Build-Depends: debhelper (>= 9), bison, gperf, ragel, libslurm-dev
+Build-Depends: debhelper (>= 9), dh-autoreconf, bison, gperf, ragel, libslurm-dev
 Standards-Version: 3.9.4
 Section: libs
 Homepage: http://apps.man.poznan.pl/trac/slurm-drmaa
diff -Nru slurm-drmaa-1.0.6/debian/patches/series slurm-drmaa-1.0.6/debian/patches/series
--- slurm-drmaa-1.0.6/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ slurm-drmaa-1.0.6/debian/patches/series	2014-07-04 13:29:23.000000000 +0100
@@ -0,0 +1 @@
+update-automake-macros.patch
diff -Nru slurm-drmaa-1.0.6/debian/patches/update-automake-macros.patch slurm-drmaa-1.0.6/debian/patches/update-automake-macros.patch
--- slurm-drmaa-1.0.6/debian/patches/update-automake-macros.patch	1970-01-01 01:00:00.000000000 +0100
+++ slurm-drmaa-1.0.6/debian/patches/update-automake-macros.patch	2014-07-04 13:48:49.000000000 +0100
@@ -0,0 +1,32 @@
+Description: minimally modernize autoconf macros
+ Update macros so that re-autoconfing works properly on non-GNU package
+ Setting 'foreign' strictness stops a lot of complaining about
+ GNU-style details that are not appropriate, such as missing 'NEWS' file.
+ Re-autoconfing is needed to support new architectures.
+Author:  "Fernando Seiti Furusato" <ferse...@br.ibm.com> 
+Bug-Debian: http://bugs.debian.org/750692
+Reviewed-By: Wookey <woo...@debian.org>
+Last-Update: 2014-07-03
+
+--- slurm-drmaa-1.0.6.orig/configure.ac
++++ slurm-drmaa-1.0.6/configure.ac
+@@ -33,7 +33,7 @@ AC_CONFIG_SRCDIR([slurm_drmaa/drmaa.c])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_AUX_DIR([scripts])
+ 
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+ 
+ # command-line arguments:
+ AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
+--- slurm-drmaa-1.0.6.orig/drmaa_utils/configure.ac
++++ slurm-drmaa-1.0.6/drmaa_utils/configure.ac
+@@ -32,7 +32,7 @@ AC_CONFIG_SRCDIR([drmaa_utils/xmalloc.c]
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_AUX_DIR([scripts])
+ 
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+ DEVELOPER_MODE="no"
+ AM_CONDITIONAL([DEVELOPER_MODE], [test "x$DEVELOPER_MODE" = "xyes"])
+ 
diff -Nru slurm-drmaa-1.0.6/debian/rules slurm-drmaa-1.0.6/debian/rules
--- slurm-drmaa-1.0.6/debian/rules	2013-01-22 00:53:34.000000000 +0000
+++ slurm-drmaa-1.0.6/debian/rules	2014-07-04 23:38:38.000000000 +0100
@@ -4,7 +4,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	./configure --with-slurm-inc=/usr/include/slurm/ --with-slurm-lib=/usr/lib/libslurm.so --prefix=/usr/lib/slurm-drmaa

Reply via email to