FTBFS: autoconf bug?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Debian) |
Fix Released
|
Unknown
|
|||
apache2 (Ubuntu) |
Invalid
|
High
|
Thom May |
Bug Description
Automatically imported from Debian bug report #295428 http://
Debian Bug Importer (debzilla) wrote : | #1 |
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Tue, 15 Feb 2005 19:07:55 +0000
From: Martin Orr <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: FTBFS: autoconf bug?
Package: apache2
Severity: serious
Justification: no longer builds from source
I have built recently built versions 2.0.53-{1,2,3} of apache2 successfully.
However version 2.0.53-4 fails, the output ending with:
checking whether we are using GNU C... yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for external PCRE library...
/home/l4545/
line 2675: syntax error near unexpected token AC_LANG_PROGRAM'
/home/l4545/
line 2675: AC_COMPILE_
make[1]: Entering directory
/home/l4545/
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory
/home/l4545/
touch debian/
(In fact, a similar error occurs when running configure for every MPM, but
these errors do not lead to make exiting since the various steps in
configuring/
I include the full output of buildconf since I think the undefined macro
AC_LANG_PROGRAM is relevant:
rebuilding srclib/
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: libtool version 1.5.6 (ok)
Copying libtool helper files ...
buildconf: Using libtool.m4 at /usr/share/
Creating include/
autoheader2.50: WARNING: Using auxiliary files such as acconfig.h',
config.h.bot'
autoheader2.50: WARNING: and config.h.top', to define templates for
config.h.in'
autoheader2.50: WARNING: is deprecated and discouraged.
autoheader2.50:
autoheader2.50: WARNING: Using the third argument of AC_DEFINE' and
autoheader2.50: WARNING: AC_DEFINE_UNQUOTED' allows to define a template
without
autoheader2.50: WARNING: acconfig.h':
autoheader2.50:
autoheader2.50: WARNING: AC_DEFINE(
autoheader2.50: [Define if a function main' is needed.])
autoheader2.50:
autoheader2.50: WARNING: More sophisticated templates can also be produced,
see the
autoheader2.50: WARNING: documentation.
Creating configure ...
rebuilding rpm spec file
rebuilding srclib/
Looking for apr source in ../apr
Creating include/
Creating configure ...
Invoking xml/expat/
Incorporating /usr/share/
Copying libtool helper files ...
Creating config.h.in ...
autoheader2.50: WARNING: Using auxiliary files such as acconfig.h',
config.h.bot'
autoheader2.50: WARNING: and config.h.top', to define templates for
config.h.in'
autoheader2.50: WARNING: is deprecated and discouraged.
autoheader2.50:
autoheader2.50: ...
In Debian Bug tracker #295428, Adam Conrad (adconrad) wrote : Re: Bug#295428: FTBFS: autoconf bug? | #3 |
Martin Orr said:
>
> ***BUG in Autoconf--please report*** AC_LANG_PROGRAM
Does it build if you remove autoconf2.13?
... Adam
Debian Bug Importer (debzilla) wrote : | #4 |
Message-ID: <email address hidden>
Date: Wed, 16 Feb 2005 05:47:50 +1000 (EST)
From: "Adam Conrad" <adconrad@0c3.net>
To: "Martin Orr" <email address hidden>,
<email address hidden>
Subject: Re: Bug#295428: FTBFS: autoconf bug?
Martin Orr said:
>
> ***BUG in Autoconf--please report*** AC_LANG_PROGRAM
Does it build if you remove autoconf2.13?
... Adam
In Debian Bug tracker #295428, Martin Orr (martin-martinorr) wrote : | #5 |
On Wed, Feb 16, 2005 at 05:47:50AM +1000, Adam Conrad wrote:
> Martin Orr said:
> >
> > ***BUG in Autoconf--please report*** AC_LANG_PROGRAM
>
> Does it build if you remove autoconf2.13?
Yes, thanks.
Could you change configure.in to have AC_PREREQ(2.50) at the top?
--
Martin Orr
Linux Administrator,
Methodist College Belfast
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <email address hidden>
Date: Tue, 15 Feb 2005 22:21:27 +0000
From: Martin Orr <email address hidden>
To: Adam Conrad <adconrad@0c3.net>, <email address hidden>
Subject: Re: Bug#295428: FTBFS: autoconf bug?
On Wed, Feb 16, 2005 at 05:47:50AM +1000, Adam Conrad wrote:
> Martin Orr said:
> >
> > ***BUG in Autoconf--please report*** AC_LANG_PROGRAM
>
> Does it build if you remove autoconf2.13?
Yes, thanks.
Could you change configure.in to have AC_PREREQ(2.50) at the top?
--
Martin Orr
Linux Administrator,
Methodist College Belfast
Thom May (thombot) wrote : | #7 |
not exactly severity "major", just someone with an old, old autoconf.
In Debian Bug tracker #295428, Adam Conrad (adconrad) wrote : | #8 |
Martin Orr said:
>
> Could you change configure.in to have AC_PREREQ(2.50) at the top?
That's my planned fix, yes. :)
... Adam
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Wed, 16 Feb 2005 15:53:49 +1000 (EST)
From: "Adam Conrad" <adconrad@0c3.net>
To: "Martin Orr" <email address hidden>,
<email address hidden>
Subject: Re: Bug#295428: FTBFS: autoconf bug?
Martin Orr said:
>
> Could you change configure.in to have AC_PREREQ(2.50) at the top?
That's my planned fix, yes. :)
... Adam
In Debian Bug tracker #295428, Jeroen van Wolffelaar (jeroenvw) wrote : | #10 |
On Wed, Feb 16, 2005 at 03:53:49PM +1000, Adam Conrad wrote:
> Martin Orr said:
> >
> > Could you change configure.in to have AC_PREREQ(2.50) at the top?
>
> That's my planned fix, yes. :)
That doesn't sound to me like the correct solution to this bug, though.
The problem is that autoconf gets invoked without making sure the right
autoconf is invoked.
Either running autoconf is needed, then somehow autconf2.5 needs to be
invoked, or it isn't, and then it should be ensured that autconf is
_not_ run at build time.
--Jeroen
--
Jeroen van Wolffelaar
<email address hidden> (also for Jabber & MSN; ICQ: 33944357)
http://
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Wed, 23 Feb 2005 10:58:27 +0100
From: Jeroen van Wolffelaar <email address hidden>
To: adconrad@0c3.net, <email address hidden>
Cc: Martin Orr <email address hidden>
Subject: Re: Bug#295428: FTBFS: autoconf bug?
On Wed, Feb 16, 2005 at 03:53:49PM +1000, Adam Conrad wrote:
> Martin Orr said:
> >
> > Could you change configure.in to have AC_PREREQ(2.50) at the top?
>
> That's my planned fix, yes. :)
That doesn't sound to me like the correct solution to this bug, though.
The problem is that autoconf gets invoked without making sure the right
autoconf is invoked.
Either running autoconf is needed, then somehow autconf2.5 needs to be
invoked, or it isn't, and then it should be ensured that autconf is
_not_ run at build time.
--Jeroen
--
Jeroen van Wolffelaar
<email address hidden> (also for Jabber & MSN; ICQ: 33944357)
http://
In Debian Bug tracker #295428, Adam Conrad (adconrad) wrote : | #12 |
tags 295428 pending
thanks
Jeroen van Wolffelaar said:
>
> That doesn't sound to me like the correct solution to this bug, though.
> The problem is that autoconf gets invoked without making sure the right
> autoconf is invoked.
I assume you got appropriately schooled about how the autoconf wrapper
works on IRC. :)
... Adam
Debian Bug Importer (debzilla) wrote : | #13 |
Message-ID: <email address hidden>
Date: Thu, 24 Feb 2005 02:56:53 +1000 (EST)
From: "Adam Conrad" <adconrad@0c3.net>
To: "Jeroen van Wolffelaar" <email address hidden>,
<email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#295428: FTBFS: autoconf bug?
tags 295428 pending
thanks
Jeroen van Wolffelaar said:
>
> That doesn't sound to me like the correct solution to this bug, though.
> The problem is that autoconf gets invoked without making sure the right
> autoconf is invoked.
I assume you got appropriately schooled about how the autoconf wrapper
works on IRC. :)
... Adam
In Debian Bug tracker #295428, Martin Orr (martin-martinorr) wrote : | #14 |
On Wed, Feb 23, 2005 at 10:58:27AM +0100, Jeroen van Wolffelaar wrote:
> On Wed, Feb 16, 2005 at 03:53:49PM +1000, Adam Conrad wrote:
> > Martin Orr said:
> > >
> > > Could you change configure.in to have AC_PREREQ(2.50) at the top?
> >
> > That's my planned fix, yes. :)
>
> That doesn't sound to me like the correct solution to this bug, though.
> The problem is that autoconf gets invoked without making sure the right
> autoconf is invoked.
>
> Either running autoconf is needed, then somehow autconf2.5 needs to be
> invoked,
That is exactly what AC_PREREQ(2.50) does. apache2 already Build-Depends on
autoconf which in sid and sarge means 2.50 (actually 2.59) - although
perhaps there should be a versioned Build-Depends.
The problem occurs if you install autoconf2.13 at the same time (which was
what I had but didn't realise). It diverts /usr/bin/autoconf to
autoconf2.50 and replaces it with a script which does some heuristics to try
to guess which version is required - and most often selects 2.13 (as in the
case of apache2). One of the checks is to look for an AC_PREREQ line so by
adding that, the wrapper will indeed run autoconf2.50.
--
Martin Orr
Linux Administrator,
Methodist College Belfast
Debian Bug Importer (debzilla) wrote : | #15 |
Message-ID: <email address hidden>
Date: Thu, 24 Feb 2005 22:37:35 +0000
From: Martin Orr <email address hidden>
To: Jeroen van Wolffelaar <email address hidden>,
<email address hidden>
Subject: Re: Bug#295428: FTBFS: autoconf bug?
On Wed, Feb 23, 2005 at 10:58:27AM +0100, Jeroen van Wolffelaar wrote:
> On Wed, Feb 16, 2005 at 03:53:49PM +1000, Adam Conrad wrote:
> > Martin Orr said:
> > >
> > > Could you change configure.in to have AC_PREREQ(2.50) at the top?
> >
> > That's my planned fix, yes. :)
>
> That doesn't sound to me like the correct solution to this bug, though.
> The problem is that autoconf gets invoked without making sure the right
> autoconf is invoked.
>
> Either running autoconf is needed, then somehow autconf2.5 needs to be
> invoked,
That is exactly what AC_PREREQ(2.50) does. apache2 already Build-Depends on
autoconf which in sid and sarge means 2.50 (actually 2.59) - although
perhaps there should be a versioned Build-Depends.
The problem occurs if you install autoconf2.13 at the same time (which was
what I had but didn't realise). It diverts /usr/bin/autoconf to
autoconf2.50 and replaces it with a script which does some heuristics to try
to guess which version is required - and most often selects 2.13 (as in the
case of apache2). One of the checks is to look for an AC_PREREQ line so by
adding that, the wrapper will indeed run autoconf2.50.
--
Martin Orr
Linux Administrator,
Methodist College Belfast
In Debian Bug tracker #295428, Adam Conrad (adconrad) wrote : Bug#295428: fixed in apache2 2.0.53-5 | #16 |
Source: apache2
Source-Version: 2.0.53-5
We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2_
to pool/main/
apache2_
to pool/main/
apache2_
to pool/main/
apache2_
to pool/main/
libapr0-
to pool/main/
libapr0-
to pool/main/
libapr0_
to pool/main/
libapr0_
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (supplier of updated apache2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 25 Feb 2005 00:51:13 -0700
Source: apache2
Binary: apache2-utils apache2 apache2-prefork-dev apache2-mpm-prefork apache2-doc li...
Debian Bug Importer (debzilla) wrote : | #17 |
Message-Id: <email address hidden>
Date: Fri, 25 Feb 2005 04:17:14 -0500
From: Adam Conrad <adconrad@0c3.net>
To: <email address hidden>
Subject: Bug#295428: fixed in apache2 2.0.53-5
Source: apache2
Source-Version: 2.0.53-5
We believe that the bug you reported is fixed in the latest version of
apache2, which is due to be installed in the Debian FTP archive:
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2-
to pool/main/
apache2_
to pool/main/
apache2_
to pool/main/
apache2_
to pool/main/
apache2_
to pool/main/
libapr0-
to pool/main/
libapr0-
to pool/main/
libapr0_
to pool/main/
libapr0_
to pool/main/
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adam Conrad <adconrad@0c3.net> (supplier of updated apache2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debi...
Changed in apache2: | |
status: | Unknown → Fix Released |
Automatically imported from Debian bug report #295428 http:// bugs.debian. org/295428