[Pkg-ace-devel] Bug#518735: ace: FTBFS: autotools error

Michael Banck mbanck at debian.org
Sun Nov 29 10:32:06 UTC 2009


On Tue, Sep 22, 2009 at 01:40:02PM +0200, Stefano Zacchiroli wrote:
> On Fri, Jul 17, 2009 at 09:10:36PM +0200, Julien Lavergne wrote:
> > tags 518735 patch
> > thanks
> > 
> > Attached patch (from upstream, r82784) should fix the problem.
> 
> Thanks for the patch!, ... but unfortunately it is not enough (hence I'm
> temporarily untagging this bug with "patch").
> 
> First of all the patch should be placed in the sequence before 50,
> otherwise it will arrive too late. Placing it at 49 works fine.
> 
> Then, even with this patch, build fails with a different error, reported
> below:
> 
>   configure.ac:177: the top level
>   libtoolize: AC_CONFIG_MACRO_DIR([../m4]) conflicts with ACLOCAL_AMFLAGS=-I m4.
>   autoreconf: libtoolize failed with exit status: 1
>   make: *** [autotools-stamp] Error 1

The attached patch fixes this.  However, ace still FTBFS due to some
autoconf2.64 in the AC_COMPILE_IFELSE() function in
AC_CHECK_FUNC(getpwnam_r) in ACE_wrappers/configure.ac:

checking for bsearch... yes
../ACE_wrappers/configure: line 37527: syntax error near unexpected
token `fi'
../ACE_wrappers/configure: line 37527: `fi'
make: *** [configure-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


I didn't manage to get this fixed yet.

Michael
-------------- next part --------------
#! /bin/sh /usr/share/dpatch/dpatch-run
## 488-fix-m4-include.dpatch by Michael Banck <mbanck at debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix bootstrap error about conflicting AC_CONFIG_MACRO_DIR and ACLOCAL_AMFLAGS, 
## DP: as well as ltmain.sh not installed in aux_config.

@DPATCH@
--- ACE_wrappers/TAO/configure.ac.orig	2009-11-28 13:54:08.590158654 +0100
+++ ACE_wrappers/TAO/configure.ac	2009-11-28 13:54:13.858163460 +0100
@@ -44,8 +44,7 @@
 AC_CONFIG_SRCDIR([tao/TAO_Internal.cpp])
 
 AC_CONFIG_AUX_DIR([../aux_config])
-AC_CONFIG_MACRO_DIR([m4])
-AC_CONFIG_MACRO_DIR([../m4])
+AC_CONFIG_MACRO_DIR([m4 ../m4])
 
 dnl Check what platform we are running on.
 AC_CANONICAL_TARGET([])
--- ACE_wrappers/bin/bootstrap.orig	2009-11-28 14:45:07.502156189 +0100
+++ ACE_wrappers/bin/bootstrap	2009-11-28 14:43:55.994157330 +0100
@@ -74,6 +74,7 @@
 #  cp VERSION NEWS
 
 #    autoreconf -I m4 --install --force --symlink --verbose
+    libtoolize --install --force
     autoreconf -I m4 --install --force 
 
 #   # Generate the man pages.


More information about the Pkg-ace-devel mailing list