Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778011 - net-misc/ntpsec-1.2.0 ntpq: can't find Python NTP library -- check PYTHONPATH.
Summary: net-misc/ntpsec-1.2.0 ntpq: can't find Python NTP library -- check PYTHONPATH.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-24 19:24 UTC by Alessandro Barbieri
Modified: 2021-04-11 01:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ntpsec.info (ntpsec.info,18.50 KB, text/plain)
2021-03-24 19:26 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-24 19:24:58 UTC
sudo eselect python list
Available Python interpreters, in order of preference:
  [1]   pypy3
  [2]   python3.9
  [3]   python3.8
  [4]   python3.7

but ntpsec has PYTHON_TARGETS="python3_8 -python3_7 -python3_9"

I think you need to use the fix shebang thing of the python eclass because ntpq still has #! /usr/bin/env python as shebang
Comment 1 Alessandro Barbieri 2021-03-24 19:26:12 UTC
Created attachment 693354 [details]
ntpsec.info

emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-04-11 01:09:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a79f77b3ba9751622666956c52a558ec72de51

commit 57a79f77b3ba9751622666956c52a558ec72de51
Author:     Steve Arnold <nerdboy@gentoo.org>
AuthorDate: 2021-04-11 01:08:33 +0000
Commit:     Steve Arnold <nerdboy@gentoo.org>
CommitDate: 2021-04-11 01:08:33 +0000

    net-misc/ntpsec: switch to distutils-r1, fix shebangs
    
    Should also fix bug 779880
    
    Closes: https://bugs.gentoo.org/778011
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Steve Arnold <nerdboy@gentoo.org>

 net-misc/ntpsec/{ntpsec-1.2.0.ebuild => ntpsec-1.2.0-r1.ebuild} | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)