distutils is deprecated
The ntpsec build systems seems to rely on distutils. This module seems to be deprecated and will not be available with python-3.12 and later:
https://peps.python.org/pep-0632/
A simple fix might be to rely on setuptools, documenting it is a requirement.