#30831 closed defect (invalid)

Cython install race: cannot create directory '.../Cython/__pycache__': File exists

Reported by: vbraun Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: build Keywords: build, cython, race
Cc: slelievre Merged in:
Authors: Reviewers: Samuel Lelièvre
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by slelievre)

Parallel build can trip when installing Cython:

Successfully built Cython
Removed build tracker: '/tmp/pip-req-tracker-omresmjl'
Using pip 20.2.3 from /var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/lib/python3.8/site-packages/pip (python 3.8)
Non-user install because site-packages writeable
Ignoring indexes: https://pypi.org/simple
Created temporary directory: /tmp/pip-ephem-wheel-cache-qr4uo5i7
Created temporary directory: /tmp/pip-req-tracker-o36lik7l
Initialized build tracking at /tmp/pip-req-tracker-o36lik7l
Created build tracker: /tmp/pip-req-tracker-o36lik7l
Entered build tracker: /tmp/pip-req-tracker-o36lik7l
Created temporary directory: /tmp/pip-install-92nkij1k
Processing ./dist/Cython-0.29.21-cp38-cp38-linux_i686.whl
  Added Cython==0.29.21 from file:///var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/var/tmp/sage/build/cython-0.29.21/src/dist/Cython-0.29.21-cp38-cp38-linux_i686.whl to build tracker '/tmp/pip-req-tracker-o36lik7l'
  Removed Cython==0.29.21 from file:///var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/var/tmp/sage/build/cython-0.29.21/src/dist/Cython-0.29.21-cp38-cp38-linux_i686.whl from build tracker '/tmp/pip-req-tracker-o36lik7l'
Installing collected packages: Cython

  Creating /var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/var/tmp/sage/build/cython-0.29.21/inst/var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/bin
  changing mode of /var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/var/tmp/sage/build/cython-0.29.21/inst/var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/bin/cygdb to 755
  changing mode of /var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/var/tmp/sage/build/cython-0.29.21/inst/var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/bin/cython to 755
  changing mode of /var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/var/tmp/sage/build/cython-0.29.21/inst/var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/bin/cythonize to 755
Successfully installed Cython-0.29.21
Removed build tracker: '/tmp/pip-req-tracker-o36lik7l'

real    5m40.814s
user    1m48.492s
sys     0m3.965s
Copying package files from temporary location /var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/var/tmp/sage/build/cython-0.29.21/inst to /var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local
cp: cannot create directory '/var/lib/buildbot/slave/binary_pkg/build/source/SageMath/jc4b6yulaujayb9sr94ia88eourzeqip0oidmas391y/local/./lib/python3.8/site-packages/Cython/__pycache__': File exists

Change History (5)

comment:1 Changed 21 months ago by mkoeppe

Another instance of #29585

comment:2 Changed 21 months ago by slelievre

  • Cc slelievre added
  • Component changed from PLEASE CHANGE to build
  • Description modified (diff)
  • Keywords build cython race added
  • Summary changed from Cython install race: Cython/__pycache__': File exists to Cython install race: cannot create directory '.../Cython/__pycache__': File exists
  • Type changed from PLEASE CHANGE to defect

comment:3 Changed 20 months ago by mkoeppe

  • Milestone changed from sage-9.3 to sage-duplicate/invalid/wontfix
  • Status changed from new to needs_review

Let's close this as a dup of #29585

comment:4 Changed 11 months ago by slelievre

  • Reviewers set to Samuel Lelièvre
  • Status changed from needs_review to positive_review

Okay.

comment:5 Changed 10 months ago by mkoeppe

  • Resolution set to invalid
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.