Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221827 - layman standard output being filtered / bypassed during error output
Summary: layman standard output being filtered / bypassed during error output
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-12 13:23 UTC by Dylan Wakefield
Modified: 2008-06-02 16:22 UTC (History)
0 users

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 Dylan Wakefield 2008-05-12 13:23:30 UTC
Layman has problems with error output bypassing stdout, this seems very similar to the effects of bug 217444 where error (missing build tool for overlay - red asterisk indicated in output) output is being diverted from stdout, not very handy if involving layman in a script. The easiest way for me to explain it is with a quick example:

dylan ~ # layman -L | grep java
* haskell                   [Darcs     ] (source: http://www.haskell.org/~ge...)
* java-gcj-overlay          [Subversion] (source: http://overlays.gentoo.org...)
* java-overlay              [Subversion] (source: http://overlays.gentoo.org...)

dylan ~ # layman -L | grep java > layman_output.txt
* haskell                   [Darcs     ] (source: http://www.haskell.org/~ge...)

dylan ~ # cat layman_output.txt 
* java-gcj-overlay          [Subversion] (source: http://overlays.gentoo.org...)
* java-overlay              [Subversion] (source: http://overlays.gentoo.org...)



Reproducible: Always

Steps to Reproduce:
1.layman -L | grep java > layman_output.txt


Actual Results:  
The results of any overlays missing support tools, eg. missing Darcs for the haskell overlay, are not passed to stdout, hench, not being redirected to the output file. They do still appear on screen, although they shouldn't.

Expected Results:  
One would expect all output to be sent to stdout.

This looks similar to bug 217444.
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2008-06-02 16:22:07 UTC
Errors are never directed to STDOUT but to STDERR. Basic unix stuff.

Granted: one could discuss printing non-supported overlays also to STDOUT but I really don't see a good reason for that. 

Maybe I misread your bug report?