Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374079 - sys-libs/glibc: "Invalid collation character" with multicharacter sequence [[.ch.]] in regexp
Summary: sys-libs/glibc: "Invalid collation character" with multicharacter sequence [[...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sources.redhat.com/bugzilla/sh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 22:18 UTC by tbartdev
Modified: 2012-08-21 19:45 UTC (History)
0 users

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 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!