Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697152 - app-eselect/eselect-python-20190417 - eselect python set python3.6: Couldn't find a man page for python3.6; skipping.
Summary: app-eselect/eselect-python-20190417 - eselect python set python3.6: Couldn't ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-10 12:48 UTC by Joakim Tjernlund
Modified: 2023-05-25 18:26 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
 }