#12118: Parallel build of libgpg_error is broken
------------------------+---------------------------------------------------
Reporter: justin | Owner: GeorgSWeber
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.8
Component: packages | Keywords:
Work_issues: | Upstream: None of the above - read trac for
reasoning.
Reviewer: | Author: Justin Walker
Merged: | Dependencies:
------------------------+---------------------------------------------------
Description changed by jdemeyer:
Old description:
> Beginning with the first 4.8 alpha, the build will fail if the build
> system is sufficiently fast, and perhaps, with sufficiently many cores
> available.
>
> The attached log file (from a 4.8.a3 build) shows that the spkg
> libgpg_error-1.6.p3 blows up because it tries to make a directory that
> already exists. Georg Weber (gsw') seems to have an explanation: while
> the Makefile does check to see that the file exists, if the build is
> sufficiently parallel, two checks can occur at the same time, see no
> directory, and then both try to make the directory. Only one can
> succeed.
>
> His comment on the list that "hyperthreading" may be the problem, I
> think, is not the case. For me, the build fails on a dual 6-core Xeon
> Mac Pro for "-j24", "-h12", and "-j8". It succeeds with "-j4".
>
> I found undecorated (non-macro) mkdir's in src/Makefile. I added a
> leading "-" to each of these, and the build succeeded (as did a
> subsequent "ptestlong").
New description:
On OS X, the build of `libgpg_error` will fail due to a race condition.
The attached log file (from a sage-4.8.alpha3 build) shows that the spkg
`libgpg_error-1.6.p3` blows up because it tries to make a directory that
already exists. The problem seems to be a broken `install-sh` script.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12118#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.