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

Bug 260464

Summary: app-admin/eselect-1.0.11-r1: Bad whitespace in key/value list output
Product: Gentoo Hosted Projects Reporter: Daniel Lundberg <ferrelas>
Component: eselectAssignee: Gentoo eselect Team <eselect>
Status: RESOLVED FIXED    
Severity: minor CC: darkside, ferrelas
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for libs/output.bash.in

Description Daniel Lundberg 2009-02-27 02:03:48 UTC
I found a typo in the output from 'eselect opengl' (version 1.0.11-r1).

Reproducible: Always

Steps to Reproduce:
1. eselect opengl
Actual Results:  
Under 'Extra actions:' and '--use-old' is says 'implementationis'.

Expected Results:  
Under 'Extra actions:' and '--use-old' is says 'implementation is'.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-08 04:45:19 UTC
This is a weird one. I can't find where the typo is. opengl.eselect looks fine.
Comment 2 Daniel Lundberg 2009-04-08 17:33:06 UTC
(In reply to comment #1)

Maybe even weirder than it might look at first. After quite some time fiddeling with opengl.eselect I managed to figure out that what happens is that something somewhere in the system ignores the space separating the 3rd and 4th word after "--use-old", thus changing 'implementation' to 'implement ion' gives desired results.

This is a cosmetic fix however since the fact remains that something somewhere is not working as intended. I'm not skilled enough to dig deeper than this though. :(
Comment 3 Ulrich Müller gentoo-dev 2009-04-16 20:58:41 UTC
Created attachment 188611 [details, diff]
Patch for libs/output.bash.in

Attached patch should fix it.
Comment 4 Ulrich Müller gentoo-dev 2009-04-16 21:13:54 UTC
Committed to SVN trunk (r440) and 1.0.x branch (r441).

Thanks for reporting the issue.
Comment 5 Ulrich Müller gentoo-dev 2009-04-18 09:04:51 UTC
Fixed in 1.0.12.