docbook and glibc breakage?

Jaroslav Skarvada jskarvad at redhat.com
Mon Sep 27 18:58:19 UTC 2010


> All three of my newly released GNOME 2.32.0 projects failed to build
> on koji (f14) today:
> 
> http://koji.fedoraproject.org/koji/getfile?taskID=2491737&name=build.log
> http://koji.fedoraproject.org/koji/getfile?taskID=2491754&name=build.log
> http://koji.fedoraproject.org/koji/getfile?taskID=2491800&name=build.log
> 
> I've been told it's something to do with the way glibc decides to
> interpret posix rules for character classes, which seems to have
> broken grep.
> 
> Can we revert the new glibc from the buildsystem please, until the
> breakage is fixed upstream. Thanks.
> 
> Richard.
> -- 
> devel mailing list
> devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel

AFAIK the following message from build log indicates incorrect regular expressions in docbook-utils:
> grep: character class syntax is [[:space:]], not [:space:]

The character class must be inside bracketed expression, thus double brackets, please see man grep. The new grep-2.7 checks for this common fault:

> grep now diagnoses (and fails with exit status 2) commonly mistyped
> regular expression like [:space:], [:digit:], etc.  Before, those were
> silently interpreted as [ac:eps] and [dgit:] respectively.  Virtually
> all who make that class of mistake should have used [[:space:]] or
> [[:digit:]].  This new behavior is disabled when the POSIXLY_CORRECT
> environment variable is set.

regards

Jaroslav


More information about the devel mailing list