Python build finished successfully!
The necessary bits to build these optional modules were not found:
_tkinter nis
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

The following modules found by detect_modules() in setup.py, have been
built by the Makefile instead, as configured by the Setup files:
atexit pwd time

I've hit segmentation fault errors many times compiling all versions of python, especially when you use --enable-optimizations and pgo at high load-average ~10.0. My solution is re-run compiling again, eliminating running other processes on the build host.