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

Bug 238233

Summary: sys-apps/sed-4.1.5-r1 fails its insens test on uclibc
Product: Gentoo Linux Reporter: René Rhéaume (a.k.a. repzilon, rener) <rene.rheaume>
Component: [OLD] Core systemAssignee: Embedded Gentoo Team <embedded>
Status: CONFIRMED ---    
Severity: normal CC: rene.rheaume
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Exepcted results
Input file
Output on uclibc
Sed script

Description René Rhéaume (a.k.a. repzilon, rener) 2008-09-20 21:56:58 UTC
The insens test input is the following:
Version: 1.2.3
1.2.3

The sed script should extract both version numbers, each on its line, like this:
1.2.3
1.2.3

However, sed-4.1.5-r1 on uclibc extracts only one of the version numbers. 4.1.5-r1 on glibc passes the test as 4.1.5(-r0) on uclibc as well.

The main differences between the r0 and r1 ebuild is the inclusion of the prototypes patch and a test for included-regex. The ebuild was last committed by vapier.

Reproducible: Always

Steps to Reproduce:
1. Put test in your FEATURES variable in the /etc/make.conf file of a uclibc development system
2. emerge -1 sed

Actual Results:  
The insens test fails, making the suite failing and emerge dying.

Expected Results:  
sed 4.1.5-r1 is merged into the system.

To manually run the test, use the following command:
LC_ALL=C sed -n -f insens.sed < insens.inp > insens.out
Comment 1 René Rhéaume (a.k.a. repzilon, rener) 2008-09-20 21:58:48 UTC
Created attachment 165950 [details]
emerge --info
Comment 2 René Rhéaume (a.k.a. repzilon, rener) 2008-09-20 22:00:26 UTC
Created attachment 165954 [details]
Exepcted results
Comment 3 René Rhéaume (a.k.a. repzilon, rener) 2008-09-20 22:00:50 UTC
Created attachment 165956 [details]
Input file
Comment 4 René Rhéaume (a.k.a. repzilon, rener) 2008-09-20 22:01:29 UTC
Created attachment 165958 [details]
Output on uclibc
Comment 5 René Rhéaume (a.k.a. repzilon, rener) 2008-09-20 22:01:44 UTC
Created attachment 165959 [details]
Sed script