Red Hat Bugzilla – Bug 690315
python occasionally fails to build on machines with more than one core
Last modified: 2016-05-31 21:47:17 EDT
Description of problem:
There's a race condition in python Makefile.pre.in, which sometimes leads to compile/link errors on machines with more than one core.
See e.g. http://bugs.python.org/issue10013
Fix is trivial and in Fedora:
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
A race condition was discovered in python Makefile.pre.in. The "make" command interprets a make rule with two dependents as two copies of the rule. On machines with more than one core, this could lead to race conditions in which the compiler attempted to read a partially-overwritten file. This resulted in syntax or link errors when attempting to build python on machines with multiple cores. A check has been added to prevent this issue.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.