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

Bug 374079

Summary: sys-libs/glibc: "Invalid collation character" with multicharacter sequence [[.ch.]] in regexp
Product: Gentoo Linux Reporter: tbartdev
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sources.redhat.com/bugzilla/show_bug.cgi?id=11561
See Also: http://sources.redhat.com/bugzilla/show_bug.cgi?id=11561
Whiteboard:
Package list:
Runtime testing required: ---

Description tbartdev 2011-07-04 22:18:16 UTC
Basically, these bug reports say it all:
http://savannah.gnu.org/bugs/?29820
http://sources.redhat.com/bugzilla/show_bug.cgi?id=11561


tbart@blackknight ~ $ /bin/echo achb | grep 'a[[.ch.]]b'
grep: Invalid collation character

the suggested workaround:
tbart@blackknight ~ $ /bin/echo achb | grep 'a[[.c-h.]]b'
grep: Invalid collation character

also does not work.

man 7 regex clearly states this should work. (Line 64)

My system is current, and I'm using de_AT.UTF-8, but it happens with POSIX and C as well.

Seems to be a known bug in glibc that's already fixed. Is our glibc too old or is this some sort of regression?
Comment 1 tbartdev 2012-08-16 09:39:40 UTC
What in-tree version will have the upstream fix? 

2.14.1-r3 does not seem to have it (that's the latest stable and installed on my system..)
Comment 2 SpanKY gentoo-dev 2012-08-16 15:34:55 UTC
there is no "upstream fix", so i don't know what you're referring to
Comment 3 tbartdev 2012-08-21 19:45:14 UTC
sorry for the noise, seems i misread something!