Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29136 - After emerge coreutils sort don't work if LANG!=C
Summary: After emerge coreutils sort don't work if LANG!=C
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 29324
  Show dependency tree
 
Reported: 2003-09-19 10:01 UTC by Sven Sternberger
Modified: 2004-02-21 16:21 UTC (History)
4 users (show)

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 Sven Sternberger 2003-09-19 10:01:11 UTC
Hello!

today I recognized that etc-update don't work, because "sort" is broken.
If I set LANG=C (normally I have de_DE@euro) it is okay



Reproducible: Always
Steps to Reproduce:
1.set LANG=de_DE@euro
2.emerge coreutils (developer version)
3.sort /some/file

Actual Results:  
The error message is:

sort: sort.c:714: inittables_mb: Zusicherung 
Comment 1 Sven Sternberger 2003-09-19 10:01:11 UTC
Hello!

today I recognized that etc-update don't work, because "sort" is broken.
If I set LANG=C (normally I have de_DE@euro) it is okay



Reproducible: Always
Steps to Reproduce:
1.set LANG=de_DE@euro
2.emerge coreutils (developer version)
3.sort /some/file

Actual Results:  
The error message is:

sort: sort.c:714: inittables_mb: Zusicherung »mblength != (size_t)-1 && mblength
!= (size_t)-2« nicht erfüllt.

This is of course german because with LANG=C I don't see the error ;-), 
but here is >>my<< translation:

sort: sort.c:714: inittables_mb: Assurance »mblength != (size_t)-1 && mblength
!= (size_t)-2« not fulfilled.

Expected Results:  
Sort the file!

The other text utils I checked seems to be fine (head, tail and wv)
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-03 14:29:47 UTC
Known issue - that is why I do not want the LANG=foo in make.conf, bug rather
ELANG or such.  Seemant, who handles the locales stuff again ?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-08 18:20:07 UTC
I have a possible patch for this, actually.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-29 20:05:19 UTC
Sven,

Can you please try coreutils-5.0.91-r3 and report if this still happens or if it is fixed?
Comment 5 Ciaran McCreesh 2003-12-29 23:37:40 UTC
-r3 fixes this for me. I emerged with de_DE@euro and could use sort as expected.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2004-02-21 16:21:00 UTC
closing