[Pkg-alsa-devel] Bug#505088: alsa-lib qa-doublebuild

Lionel Elie Mamane lionel at mamane.lu
Fri Feb 13 08:35:18 UTC 2009

On Thu, Feb 12, 2009 at 09:45:37PM +0100, Lionel Elie Mamane wrote:
> On Thu, Feb 12, 2009 at 08:27:14PM +0100, Elimar Riesebieter wrote:

>> As far as this bug is tagged unreproducible: I checked it again and
>> can't reproduce.

> Have you tried with a nanosecond-resolution-timestamp filesystem,
> and the autotools installed? If your filesystem rounds timestamps to
> the second (for example, ext2 or ext3), you would only very rarely
> see the problem. You can use a XFS loop-filesystem to test it out if
> your /home/ or /var/ filesystem has only second resolution.

I realised that it might be simpler to reproduce the bug like that:

In /usr/share/quilt/quilt.make, replace

	# quilt exits with 2 as return when there was nothing to do.
	# That's not an error here (but it's useful to break loops in crude scripts)
	QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt --quiltrc /dev/null push -a || test $$? = 2

by something like

	push () { \
	  quilt --quiltrc /dev/null push; \
	  r=$$?; \
	  return $$r; \
	}; \
	while push; do sleep 2; done; \
	if [ $$r = 2 ]; then exit 0; else exit $$r; fi

This will slow down the process enough for the problem to appear on an
ext2 filesystem. I tested it on an ext2 filesystem with 1.0.16-2, it
reproduced the bug (autotools installed, naturally).

> If the autotools are not installed, the problem is not triggered
> either.


More information about the Pkg-alsa-devel mailing list