Bug#713209: libmpc: FTBFS: /bin/sh: 1: aclocal-1.11: not found

2013-10-25 Thread Hideki Yamane
Control: tags -1 +patch

Hi,

 Attached patch would fix this FTBFS, could you check and consider to 
 apply it, please?

-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
diff -Nru libmpc-0.1~r459/debian/changelog libmpc-0.1~r459/debian/changelog
--- libmpc-0.1~r459/debian/changelog	2012-06-21 16:39:19.0 +0900
+++ libmpc-0.1~r459/debian/changelog	2013-10-22 16:25:03.0 +0900
@@ -1,3 +1,15 @@
+libmpc (2:0.1~r459-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+- auto detect aclocal/automake/autoconf version (Closes: #713209)
+- include autoreconf.mk to add config/compile file
+  * debian/control
+- add Build-Depends: dh-autoreconf to provide above autreconf.mk
+  * debian/patches
+- add add_subdir-objects.patch for automake
+
+ -- Hideki Yamane henr...@debian.org  Tue, 22 Oct 2013 16:11:05 +0900
+
 libmpc (2:0.1~r459-4) unstable; urgency=medium
 
   * Team upload.
diff -Nru libmpc-0.1~r459/debian/control libmpc-0.1~r459/debian/control
--- libmpc-0.1~r459/debian/control	2012-06-18 03:52:44.0 +0900
+++ libmpc-0.1~r459/debian/control	2013-10-22 16:15:51.0 +0900
@@ -9,6 +9,7 @@
gnulib,
automake,
autoconf,
+   dh-autoreconf,
libtool,
pkg-config,
libreplaygain-dev (= 1.0~r412),
diff -Nru libmpc-0.1~r459/debian/patches/add_subdir-objects.patch libmpc-0.1~r459/debian/patches/add_subdir-objects.patch
--- libmpc-0.1~r459/debian/patches/add_subdir-objects.patch	1970-01-01 09:00:00.0 +0900
+++ libmpc-0.1~r459/debian/patches/add_subdir-objects.patch	2013-10-22 19:47:40.0 +0900
@@ -0,0 +1,16 @@
+Description: avoid automake error
+Author: Hideki Yamane henr...@debian.org
+Forwarded: no
+Last-Update: 2013-10-23
+
+--- libmpc-0.1~r459.orig/configure.in
 libmpc-0.1~r459/configure.in
+@@ -3,7 +3,7 @@ AC_CONFIG_AUX_DIR([config])
+ AC_CONFIG_MACRO_DIR([m4])
+ AC_CONFIG_SRCDIR([libmpcdec/mpc_reader.c])
+ AM_CONFIG_HEADER([include/config.h])
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE(subdir-objects)
+ AM_MAINTAINER_MODE
+ 
+ AC_LANG_C
diff -Nru libmpc-0.1~r459/debian/patches/series libmpc-0.1~r459/debian/patches/series
--- libmpc-0.1~r459/debian/patches/series	2012-06-21 16:13:44.0 +0900
+++ libmpc-0.1~r459/debian/patches/series	2013-10-22 16:16:44.0 +0900
@@ -3,3 +3,4 @@
 03_mpcchap.patch
 04_link-order.patch
 1001_missing_extern_kw.patch
+add_subdir-objects.patch
diff -Nru libmpc-0.1~r459/debian/rules libmpc-0.1~r459/debian/rules
--- libmpc-0.1~r459/debian/rules	2012-06-18 03:43:41.0 +0900
+++ libmpc-0.1~r459/debian/rules	2013-10-22 16:15:21.0 +0900
@@ -3,14 +3,15 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 DEB_AUTO_UPDATE_LIBTOOL = pre
-DEB_AUTO_UPDATE_ACLOCAL = 1.11
-DEB_AUTO_UPDATE_AUTOCONF = 2.67
-DEB_AUTO_UPDATE_AUTOHEADER = 2.67
-DEB_AUTO_UPDATE_AUTOMAKE = 1.11
+DEB_AUTO_UPDATE_ACLOCAL = $(shell dpkg -s automake | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1')
+DEB_AUTO_UPDATE_AUTOCONF = $(shell dpkg -s autoconf | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1')
+DEB_AUTO_UPDATE_AUTOMAKE = $(shell dpkg -s automake | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1')
+DEB_AUTO_UPDATE_AUTOHEADER = $(shell dpkg -s autoheader | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1')
 
 common-binary-post-install-arch:: list-missing
 


Bug#713209: libmpc: FTBFS: /bin/sh: 1: aclocal-1.11: not found

2013-06-22 Thread Lucas Nussbaum
Source: libmpc
Version: 2:0.1~r459-4
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20130620 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
  debian/rules build
 test -x debian/rules
 mkdir -p .
 
 WARNING: copyright-check disabled - touch debian/copyright_hints to enable.
 
 touch debian/stamp-copyright-check
 touch debian/stamp-upstream-cruft
 if test -e /usr/share/misc/config.guess ; then \
   for i in ./config/config.guess ; do \
   if ! test -e $i.cdbs-orig ; then \
   mv $i $i.cdbs-orig ; \
   cp --remove-destination 
 /usr/share/misc/config.guess $i ; \
   fi ; \
   done ; \
   fi
 if test -e /usr/share/misc/config.sub ; then \
   for i in ./config/config.sub ; do \
   if ! test -e $i.cdbs-orig ; then \
   mv $i $i.cdbs-orig ; \
   cp --remove-destination 
 /usr/share/misc/config.sub $i ; \
   fi ; \
   done ; \
   fi
 cd .  libtoolize -c -f
 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
 libtoolize: copying file `config/ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
 libtoolize: copying file `m4/libtool.m4'
 libtoolize: copying file `m4/ltoptions.m4'
 libtoolize: copying file `m4/ltsugar.m4'
 libtoolize: copying file `m4/ltversion.m4'
 libtoolize: copying file `m4/lt~obsolete.m4'
 cd .  aclocal-1.11 -I m4
 /bin/sh: 1: aclocal-1.11: not found
 make: *** [debian/stamp-autotools-files] Error 127

The full build log is available from:
   
http://aws-logs.debian.net/ftbfs-logs/2013/06/20/libmpc_0.1~r459-4_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org