Package: subversion
Version: 1.7.5-1
Severity: normal

I'll start by admitting that I've only actually reproduced this in
backport PPA builds for Ubuntu hardy, *but* on analysis I can't see why
this shouldn't happen in Debian sid too, so I'll report it
nonetheless...

If the package is built with DEB_BUILD_OPTIONS=parallel=n, the
invocations of dh_prep in the -arch and -indep parts of the build will
race with each other, specifically where deleting debian/tmp is
concerned.

In many cases, it's likely that there is lucky success as both
executions of dh_prep complete approximately simultaneously. However,
I've seen some cases where the the -indep part fails, apparently because
the -indep part started creating some structure in debian/tmp which the
-arch dh_prep call then erased.

I think that debian/rules should not place -j N in MAKEFLAGS (which
causes the execution of debian/rules itself to parallelize) but should
just supply a suitable -j N option to sub-makes called on the package's
upstream makefiles.



-- 
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