"eselect python show" says "python2.7" but python -V says 3.3.3. $ type python python is EPREFIX/usr/bin/python $ eix eselect-python [I] app-admin/eselect-python Available versions: 20111108 20131210 Installed versions: 20131210(10:03:19 17/01/14) Homepage: http://www.gentoo.org/proj/en/Python/ Description: Eselect module for management of multiple Python versions $ eix -e python [I] dev-lang/python Available versions: (2.7) 2.7.5-r4 (3.2) 3.2.5-r3 (3.3) 3.3.3 $ eselect python list Available Python interpreters: [1] python2.7 * [2] python3.2 [3] python3.3 $ eselect python show python2.7 $ ll /opt/scisoft64/usr/bin/python lrwxrwxrwx 1 scisoft scisoft 14 Jan 17 14:58 /opt/scisoft64/usr/bin/python -> python-wrapper $ strace -e open python -V ... open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 open("/etc/env.d/python/config", O_RDONLY) = -1 ENOENT (No such file or directory) ... Seems to be an error there.
Simply fixing the hardcoded path to the config file solves this problem.
oh oh, feels like the code doesn't take the prefix into account
This should fix it. Please test, and if successful I will cut another release. http://git.overlays.gentoo.org/gitweb/?p=proj/eselect-python.git;a=patch;h=4c49cdcea51b8369e7b1a54ded2ab290b241a317
that should do, I just have to investigate if we need to do something about the hardcoded fall-back PATH.
Ok, tested, seems to work ok. Please release.
(In reply to Fabian Groffen from comment #5) > Ok, tested, seems to work ok. Please release. same here.
+*eselect-python-20140125 (25 Jan 2014) + + 25 Jan 2014; Mike Gilbert <floppym@gentoo.org> + +eselect-python-20140125.ebuild: + Version bump. Includes fix for gentoo-prefix.