Bug#595260: salome: FTBFS in parallel: cleanup/doc-installation race

Aaron M. Ucko ucko at debian.org
Thu Sep 2 17:36:04 UTC 2010


Adam C Powell IV <hazelsct at debian.org> writes:

> Thanks Aaron, I noticed this.

No problem; thanks for the quick response.

> What's the best way around it, while preserving the performance of a
> parallel build?

Declaring

.NOTPARALLEL:

in debian/rules should cause make to run serially when working off of
it but still pass -j to upstream's makefiles.  Also, make supports
order-only prerequisites (a relatively new feature, but available even
in stable); if you declare

build-indep-stamp: | build-arch-stamp

it will take care to complete build-arch-stamp before starting on
build-indep-stamp when building both but still allow building just
build-indep-stamp.

> Ah, just hit on a solution: I'll have the documentation build in a
> separate directory.

That sounds like it should work as well, thanks.

> Just checked: Sparc, IA64 and Alpha all attempted with -j 2 and failed;
> PPC and S390 used -j 1 and succeeded.  Hmm, Sparc and IA64 fail in a
> different place, which doesn't appear to be related to the jobs issue.
> I'll file a separate bug.

Thanks for investigating further.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu





More information about the debian-science-maintainers mailing list