Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 697152

Summary: app-eselect/eselect-python-20190417 - eselect python set python3.6: Couldn't find a man page for python3.6; skipping.
Product: Gentoo Linux Reporter: Joakim Tjernlund <joakim.tjernlund>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: normal CC: chutzpah, herrtimson
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joakim Tjernlund 2019-10-10 12:48:30 UTC
# eselect python set python3.6
Couldn't find a man page for python3.6; skipping.
 # eselect python set python2.7
Couldn't find a man page for python2.7; skipping.
 # eselect python cleanup anup
Couldn't find a man page for python2.7; skipping.
 # eselect python cleanup 
Couldn't find a man page for python2.7; skipping.

I do not have man pages, I think eselect should not care about man pages
Comment 1 tt_1 2019-10-30 12:44:42 UTC
same here, I've built the dev-lang/python with FEATURES="noman nodoc noinfo"
Comment 2 SpanKY gentoo-dev 2022-05-02 19:36:13 UTC
v20151117 def worked, but i wonder if that was by accident

Patrick almost fixed this with his cleanup:
https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=e1e4f5df30ab46a3787f4cdfb4a6092c2a3544d2

but it needs a `mkdir -p` to really fix it.

--- a/python.eselect.in
+++ b/python.eselect.in
@@ -114,6 +114,7 @@ set_man_symlink() {
    local target=${1}
 
    rm -f "${MAN_PATH}"/python.1{,.{gz,bz2,lzma,xz,lz,zst{,d}}} || die
+   mkdir -p "${MAN_PATH}" || die
    echo ".so ${target}.1" > "${MAN_PATH}"/python.1 || die
 }