[Pkg-alsa-devel] Bug#505088: alsa-lib: fails to build twice in a row

Lionel Elie Mamane lionel at mamane.lu
Tue Nov 11 10:38:12 UTC 2008


On Mon, Nov 10, 2008 at 06:59:08PM +0100, Jordi Mallach wrote:
> On Mon, Nov 10, 2008 at 09:40:33AM +0100, Lionel Elie Mamane wrote:

>> My best shot is nanosecond timestamps; you would be using ext3? That
>> has timestamps to the precision of a second. I use XFS, which has
>> timestamps to the precision of a nanosecond. So, while aclocal.m4 is
>> newer than configure.in (which, if detected by make, triggers the
>> whole autoconf/automake avalanche), in your setup this is not detected
>> because they were modified in the same second, so make does not see
>> aclocal.m4 as newer, but as same age, thus no running autoconf.

> Would touching configure before configuring help, so it's newer than
> aclocal.m4?

That would, I expect, fix this particular problem, yes. To my taste,
it smacks of an ugly hack, though.

Usually, a cleaner solution is using AM_MAINTAINER_MODE; you seem to
patch it into configure.ac, but not in configure... So my suggestion
would be to put the add-maintainer-mode patch BEFORE the relibtoolise
patch, and then regenerate the relibtoolise patch (so that
AM_MAINTAINER_MODE is active when this patch regenerates ./configure
and the Makefile.in's, and then AM_MAINTAINER_MODE is actually active).

-- 
Lionel





More information about the Pkg-alsa-devel mailing list