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

Bug 118034

Summary: eix 0.5.0 has logging and operational bug in eix-sync
Product: Gentoo Linux Reporter: Andrew Esh <andrew_esh>
Component: Current packagesAssignee: Benedikt Böhm (RETIRED) <hollow>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix eix-sync logging and operation

Description Andrew Esh 2006-01-06 06:45:42 UTC
Because of a minor bug in the eix-sync script, error logging is not going to the log, but to a file called "1" in the pwd. eix-sync can also not be run without an error in a directory which has a subdirectory named "1" (such as /proc), unless the -v flag is used.
Comment 1 Andrew Esh 2006-01-06 06:48:58 UTC
Created attachment 76336 [details, diff]
Fix eix-sync logging and operation

This patch correctly redirects stderr to stdout, and allows the intended logging to take place. No more "1" files left behind, and no failures when there is a "1" subdirectory present. I made an assumption that the redirect was intended for stderr, since redirecting stdout to stdout is silly.
Comment 2 Andrew Esh 2006-01-06 06:50:36 UTC
Using bash 3.00.16(1)-release, if that matters. Perhaps the existing syntax in eix-sync works with other versions of bash.
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2006-01-06 22:26:51 UTC
in cvs