[issue47146] PR check "Check if generated files are up to date" failing intermittently

Christian Heimes report at bugs.python.org
Wed Mar 30 16:00:23 EDT 2022


Christian Heimes <lists at cheimes.de> added the comment:

The problem is likely a recursive make call "$(MAKE)" in combination with parallel execution. As far as I understand it, GNU make cannot track dependencies properly, which can lead to partial or invalid dependency graphs. One make process can modify a file while another uses the file. The permission error or ETXTBSY error are manifestation of one process creating an executable while another process is attempting to execve() it.

The paper https://accu.org/journals/overload/14/71/miller_2004/ explains the issues with recursion in great detail.

----------
nosy: +christian.heimes

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47146>
_______________________________________


More information about the Python-bugs-list mailing list