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

Bug 414627

Summary: app-portage/gentoolkit-0.3.0.6 - eshowkw omits some slots when python-3.2 is active
Product: Portage Development Reporter: Ben Kohler <bkohler>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 346443    

Description Ben Kohler gentoo-dev 2012-05-04 18:49:14 UTC
The eshowkw command from app-portage/gentoolkit seems to hide certain slots of certain packages, when python3 is active instead of python2.  To be specific and honest, I have only tested 2.7 and 3.2, actually.  2 examples where it breaks are x11-libs/gtk+ and dev-lang/python (coincidentally).

Tested right now with:
app-portage/gentoolkit-0.3.0.6
dev-lang/python-2.7.3-r2
dev-lang/python-3.2.3-r1

Reproducible: Always

Steps to Reproduce:
1. eselect python set python3.2
2. eshowkw python

Actual Results:  
# python -V
Python 3.2.3
# eshowkw python
Keywords for dev-lang/python:
            |                           | u     |  
            | a a             p     s   | n     |  
            | l m   h i m m   p s   p   | u s   | r
            | p d a p a 6 i p c 3   a x | s l   | e
            | h 6 r p 6 8 p p 6 9 s r 8 | e o   | p
            | a 4 m a 4 k s c 4 0 h c 6 | d t   | o
------------+---------------------------+-------+-------
   2.5.4-r4 | + + + + + + ~ + + + + + + | o 2.5 | gentoo
------------+---------------------------+-------+-------
   2.6.6-r2 | + + + + + + ~ + + + + + + | o 2.6 | gentoo
   2.6.7-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o     | gentoo
   2.6.8    | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o     | gentoo
------------+---------------------------+-------+-------
   2.7.2-r3 | + + + + + + ~ + + + + + + | o 2.7 | gentoo


Expected Results:  
# python -V
Python 2.7.3
# eshowkw python
Keywords for dev-lang/python:
            |                           | u     |  
            | a a             p     s   | n     |  
            | l m   h i m m   p s   p   | u s   | r
            | p d a p a 6 i p c 3   a x | s l   | e
            | h 6 r p 6 8 p p 6 9 s r 8 | e o   | p
            | a 4 m a 4 k s c 4 0 h c 6 | d t   | o
------------+---------------------------+-------+-------
   2.5.4-r4 | + + + + + + ~ + + + + + + | o 2.5 | gentoo
------------+---------------------------+-------+-------
   2.6.6-r2 | + + + + + + ~ + + + + + + | o 2.6 | gentoo
   2.6.7-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #     | gentoo
   2.6.8    | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o     | gentoo
------------+---------------------------+-------+-------
   2.7.2-r3 | + + + + + + ~ + + + + + + | o 2.7 | gentoo
   2.7.3    | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #     | gentoo
   2.7.3-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #     | gentoo
[I]2.7.3-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o     | gentoo
------------+---------------------------+-------+-------
   3.1.4-r3 | ~ + ~ + ~ ~ ~ + + ~ ~ ~ + | o 3.1 | gentoo
   3.1.4-r4 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #     | gentoo
   3.1.5    | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o     | gentoo
------------+---------------------------+-------+-------
   3.2.2    | ~ + ~ + ~ ~ ~ + + ~ ~ ~ + | o 3.2 | gentoo
   3.2.2-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #     | gentoo
   3.2.3    | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | #     | gentoo
[I]3.2.3-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o     | gentoo
Comment 1 Paul Varner (RETIRED) gentoo-dev 2012-05-08 21:13:28 UTC
This is an interesting bug with the eshowkw code and python3.  Anyhow, I've committed fixes to the eshowkw code in the gentoolkit repository and it is available for testing with the gentoolkit-9999 ebuild.

http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=9369c9a3e8d92ac445ff8929a448e83fd30fb485
Comment 2 Paul Varner (RETIRED) gentoo-dev 2012-05-09 20:47:04 UTC
Released in gentoolkit-0.3.0.6-r1