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

patch: $(QUILT_STAMPFN)
$(QUILT_STAMPFN):
        # 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
        touch $(QUILT_STAMPFN)

by something like

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

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.

-- 
Lionel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to