Package: miredo Severity: important Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu precise ubuntu-patch
Dear maitainer, miredo fails to build with automake >= 1.11.3. Excerpt from the buildlog: m4/libtool.m4:5253: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... configure.ac:50: the top level libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `admin'. libtoolize: copying file `admin/config.guess' libtoolize: copying file `admin/config.sub' libtoolize: copying file `admin/install-sh' libtoolize: copying file `admin/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' src/Makefile.am:35: `pkglibdir' is not a legitimate directory for `PROGRAMS' src/Makefile.am:59: variable `miredo_privproc_SOURCES' is defined but no program or src/Makefile.am:59: library has `miredo_privproc' as canonical name (possible typo) src/Makefile.am:60: variable `miredo_privproc_LDADD' is defined but no program or src/Makefile.am:60: library has `miredo_privproc' as canonical name (possible typo) autoreconf: automake failed with exit status: 1 make: *** [stamp-autoreconf] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 ****************************************************************************** Build finished at 20120208-1521 FAILED [dpkg-buildpackage died] The full buidlog can be found at https://launchpad.net/ubuntu/+archive/test-rebuild-20120201/+build/3162196/+files/buildlog_ubuntu-precise-i386.miredo_1.2.3-1_FAILEDTOBUILD.txt.gz. The attached file fixes this problem. Have a great day! Leo. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric'), (100, 'oneiric-backports') Architecture: i386 (i686) Kernel: Linux 3.2.2-030202-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Description: Fix FTBFS with automake >= 1.11.3: * pkglib_PROGRAMS is incompatible with last version of automake, as a litte define a new variable will install files in the same place of pkglibdir. Author: Leo Iannacone <l...@ubuntu.com> Bug-Ubuntu: https://bugs.launchpad.net/bugs/934950 --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- miredo.orig/src/Makefile.am +++ miredo/src/Makefile.am @@ -32,7 +32,8 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I -DPKGLIBDIR=\"$(pkglibdir)\" sbin_PROGRAMS = miredo miredo-server miredo-checkconf -pkglib_PROGRAMS = +programfilesdir = $(pkglibdir) +programfiles_PROGRAMS = EXTRA_PROGRAMS = privproc noinst_LTLIBRARIES = libmiredo.la TESTS = @@ -59,7 +60,7 @@ miredo_LDADD = ../libtun6/libtun6.la ../ miredo_privproc_SOURCES = privproc.c privproc.h miredo_privproc_LDADD = ../libteredo/libteredo.la $(LIBCAP) if TEREDO_CLIENT -pkglib_PROGRAMS += miredo-privproc +programfiles_PROGRAMS += miredo-privproc TESTS += miredo-checkconf endif