[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possibility of a ${srcdir}/info/dir target race?
From: |
Rob Browning |
Subject: |
Re: Possibility of a ${srcdir}/info/dir target race? |
Date: |
Wed, 22 Oct 2014 18:55:55 -0500 |
User-agent: |
Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) |
Stefan Monnier <address@hidden> writes:
> Such races are possible, of course, but lots of us use "-j2" or more to
> build Emacs, I expect, so if that's the problem, you probably
> got very unlucky.
So far I'm not sure how the buildd output in question could have been
produced, unless make-info-dir is failing internally. (I suppose that's
possible, if unlikely, since it doesn't check for failures when invoking
cp, etc.)
In the output we have:
(cd . && ./build-aux/make-info-dir ${thisdir}/${tempfile}); \
./build-aux/move-if-change ${tempfile} ./info/dir
Creating /«BUILDDIR»/emacs24-24.4+1/debian/build-nox/info-dir.30059...
[...]
make[4]: Entering directory
'/«BUILDDIR»/emacs24-24.4+1/debian/build-nox/doc/misc'
[...]
Created /«BUILDDIR»/emacs24-24.4+1/debian/build-nox/info-dir.30059
At this point, unless the unconditional "cp $basefile $outfile" command
in make-info-dir failed, then info-dir.30059 should exist. But then
immediately afterward we see:
mv: cannot move 'info-dir.30059' to './info/dir': No such file or directory
Which means that either the file never existed, or it was somehow
deleted before move-if-change (assuming that's the source of the mv)
gets to it.
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4