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

Lionel Elie Mamane lionel at mamane.lu
Mon Nov 10 08:40:33 UTC 2008


On Mon, Nov 10, 2008 at 12:38:46AM +0100, Elimar Riesebieter wrote:
> * Lionel Elie Mamane [081110 00:30 +0100]
>> On Sun, Nov 09, 2008 at 11:22:05PM +0100, Elimar Riesebieter wrote:

>>>>>>>> Do you have autoconf/automake/libtool installed in the environment
>>>>>>>> where you run it?

>>>>>>> Yes

>>>>>> Is it actually run during the build?

>>>>> Why?

>>>> Well, because on my system it is being run, which is the root of
>>>> the problem, as explained in a previous email. autoconf being run
>>>> regenerates a fresh configure, which overwrites the effect
>>>> debian/patches/configure_cross_compile.patch, which thus does not
>>>> unapply cleanly anymore.

>>> What versions of libtool, automake and autoconf are installed on
>>> your system? relibtoolise.patch is generated with the latest
>>> versions in unstable, though.

>> autoconf       2.61-8
>> automake       1:1.10.1-3
>> libtool        1.5.26-4

> Same here. So what makes your rebuild failure?

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.

Please do an "ls --full-time configure.in aclocal.m" in your build
directory; I would expect you would always get all zeroes after the
decimal point in seconds. I get a value afterwards; nanosecond
timestamps vs second timestamps.

master at capsaicin:~/j 0 $ dpkg-source -x *dsc
master at capsaicin:~/j 0 $ cd alsa-lib-1.0.18/
master at capsaicin:~/j/alsa-lib-1.0.18 0 $ make -f debian/rules patch
master at capsaicin:~/j/alsa-lib-1.0.18 0 $ ls -lA --full-time configure.in aclocal.m4
-rw-r--r-- 1 master master 270734 2008-11-10 00:28:56.947778103 +0100 aclocal.m4
-rw-r--r-- 1 master master  20068 2008-11-10 00:28:57.100779203 +0100 configure.in

(In this example, they happen to sit on different seconds,  but one
can easily imagine that most of the time they will sit on the same
second.)

-- 
Lionel





More information about the Pkg-alsa-devel mailing list