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

Bug 162894

Summary: dev-java/java-config-wrapper-0.12-r1 should depend on new version of sed
Product: Gentoo Linux Reporter: David Baird <dbaird>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Baird 2007-01-20 08:31:28 UTC
The following line in java-1.5-fixer does not produce the desired result with sys-apps/sed-4.0.9 (instead of replacing space with newline, it replaces space with the letter "n") but it does work just fine with sys-apps/sed-4.1.5:

sed -e 'y/ /\n/' <<< ${broken_packages} | sort | uniq

People caught with old versions of sed (like me) will have a problem trying to run this command unless they realize they need to upgrade.

Reproducible: Always

Steps to Reproduce:
1. use sys-apps/sed-4.0.9 (not sys-apps/sed-4.1.5)
2. run java-1.5-fixer (hopefully there will be some jar files requiring fixing)
3. breakage!

Actual Results:  
java-1.5-fixer prints:
 * Packages to fix this run:
=dev-java/xml-commons-external-1.3.02n=media-sound/jsynthlib-0.19_pre20041220n=sci-libs/libsvm-2.81


Expected Results:  
java-1.5-fixer should have printed:
 * Packages to fix this run:
=dev-java/xml-commons-external-1.3.02 =media-sound/jsynthlib-0.19_pre20041220 =sci-libs/libsvm-2.81
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-20 08:33:31 UTC
sys-apps/sed-4.0.9 has been removed half year ago; update your system properly using emerge -uD world instead. Thanks.