running ntpq -c rv yields: # ntpq -c rv ntpq: can't find Python NTP library -- check PYTHONPATH. No module named 'ntp' Looking at the "equery files ntpsec" output, it looks like the python modules have been slotted, but the scripts haven't. If I "eselect python set python3.7" (the version the modules have been compiled for), the ntpq command completes successfully. Reproducible: Always
python-single-r1 might be a better match here, actually.
Created attachment 670673 [details, diff] ntpsec-1.1.9-python-multiscript.patch This patch to the ebuild fixes the issue for me. I'm not entirely convinced we need to run src_configure and src_install once for each python implementation, but that's for later.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba93e6469bc705f8acd83634a29a411fede044b commit 9ba93e6469bc705f8acd83634a29a411fede044b Author: Steve Arnold <nerdboy@gentoo.org> AuthorDate: 2021-01-26 03:25:12 +0000 Commit: Steve Arnold <nerdboy@gentoo.org> CommitDate: 2021-01-26 03:25:12 +0000 net-misc/ntpsec: add latest release (with missing py extension) Closes: https://bugs.gentoo.org/show_bug.cgi?id=751982 Closes: https://bugs.gentoo.org/show_bug.cgi?id=753785 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Steve Arnold <nerdboy@gentoo.org> net-misc/ntpsec/Manifest | 1 + net-misc/ntpsec/ntpsec-1.2.0.ebuild | 163 ++++++++++++++++++++++++++++++++++++ 2 files changed, 164 insertions(+)
Give 1.2.0 (works again here).