[Pkg-alsa-devel] Bug#505088: Bug#505088: alsa-lib: fails to build twice in a row
Elimar Riesebieter
riesebie at lxtec.de
Tue Nov 18 18:47:05 UTC 2008
* Lionel Elie Mamane [081111 12:30 +0100]
> 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).
The range of patching shouldn't matter in that case. Could you
please try the following patch against debian/rules
Index: rules
===================================================================
--- rules (Revision 2155)
+++ rules (Arbeitskopie)
@@ -57,7 +57,7 @@
--infodir=\$${prefix}/share/info \
--datadir=\$${prefix}/share \
--build=$(DEB_BUILD_GNU_TYPE) \
- --enable-static --disable-maintainer-mode
+ --enable-static
touch configure-stamp
configure-biarch-stamp: debian/stamp-patched
@@ -73,7 +73,7 @@
--infodir=\$${prefix}/share/info \
--datadir=\$${prefix}/share \
--host=$(DEB_HOST_GNU_TYPE) \
- --enable-static --disable-maintainer-mode \
+ --enable-static \
--disable-python --with-plugindir=/$(bilibdir)/alsa-lib
#ln -sf . include/alsa
rm -f bibuild/include/alsa
Thanks
Elimar
--
It's a good thing we don't get all
the government we pay for.
More information about the Pkg-alsa-devel
mailing list