When using distutils-r1 I had accidentally done python_install() { distutils-r1_src_install .. } this should be python_install() { distutils-r1_python_install .. } When you do src_install it will cause infinite recursion and you will eventually OOM. Reproducible: Always
As discussed in IRC, it should be simple enough to add some guard variables in some of the distutils-r1 functions.
I still don't think this is worth the effort, and nobody has done any work on this for 4+ years.