Changes between Initial Version and Version 2 of Ticket #26083


Ignore:
Timestamp:
08/23/18 10:22:18 (4 years ago)
Author:
embray
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26083

    • Property Cc jdemeyer added
    • Property Summary changed from Race condition on Cygwin when upgrading python to Race condition when upgrading python
  • Ticket #26083 – Description

    initial v2  
    11I've encountered a race condition a couple times when doing a build on Cygwin where, for one reason or other, the python2 package gets upgraded (or python3 if `--with-python=3`).  The error occurs in another package that is being built at the same time, I think when it tries to run the `sage-flock` command (which invokes `/usr/bin/env python`).  That's also why I've only seen this on Cygwin--it's only on Cygwin that `sage-flock` is being invoked at the end of each package install.
     2
     3**Update:** I have also now seen this on Linux too.  It can also happen because `sage-spkg-uninstall` and `sage-download-file` use Python, among others.  ''Any program'' use by `sage-spkg` that uses Python can break if it's called in the middle of upgrading or installing the Python in Sage.
    24
    35The error ends up looking something like this: