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

Bug 22858

Summary: When "emerge -pf kde" is executed, the download URLs are torn by the "ssl", etc.
Product: Portage Development Reporter: Alexander <favn>
Component: UnclassifiedAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander 2003-06-15 04:32:57 UTC
When I use the "emerge -pf <something; kde, for sample>" then some of the URLs 
are torn. E.g.
http://gentoo.oregonstate.edu/distfssl
nan
...
iles/

Reproducible: Always
Steps to Reproduce:
1. just start "emerge -pf kde" and check the result.

Actual Results:  
see details.

Expected Results:  
provide the right URL

The problem occurs because of the kde ebuild script uses the "use" function 
that defined in the ebuild.sh. This function has the "echo \"${x}\"" 
instruction (ebuild.sh, line 85).
Being printed, the x variable tears the output.
When this line is commented, it seems like everything works well (at least I 
emerged some distfiles w/o any problems).
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-06-22 14:23:45 UTC
Hmmm.... Ok. Legal use of 'use', but the extra output is damaging
in a weird way. Uncommenting the tty method instead.