Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338853 - app-text/docbook-sgml-utils-0.6.14 (jw script) fails with sys-apps/grep-2.7
Summary: app-text/docbook-sgml-utils-0.6.14 (jw script) fails with sys-apps/grep-2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
: 338901 339317 339577 348597 (view as bug list)
Depends on:
Blocks: grep-2.7 341713
  Show dependency tree
 
Reported: 2010-09-26 20:54 UTC by Maxim Britov
Modified: 2012-01-14 05:31 UTC (History)
3 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 Maxim Britov 2010-09-26 20:54:53 UTC
From /usr/bin/jw

RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'

From grep 2.7 NEWS
  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.

As result:

$ jw
grep: character class syntax is [[:space:]], not [:space:]
grep: character class syntax is [[:space:]], not [:space:]
jw: There is no frontend called "/docbook/utils-0.6.14/frontends/docbook".


Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-03 17:50:00 UTC
+*docbook-sgml-utils-0.6.14-r1 (03 Oct 2010)
+
+  03 Oct 2010; Michael Weber <xmw@gentoo.org>
+  +docbook-sgml-utils-0.6.14-r1.ebuild,
+  +files/docbook-sgml-utils-0.6.14-grep-2.7.patch:
+  Revision bump to respect new sys-apps/grep-2.7 syntax check ([:space:] and
+  [:digits:] no longer accepted as classes, bug #338853)
+
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-10-03 21:49:15 UTC
*** Bug 338901 has been marked as a duplicate of this bug. ***
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-10-03 21:51:37 UTC
*** Bug 339577 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-16 18:24:46 UTC
*** Bug 348597 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2012-01-14 05:30:40 UTC
*** Bug 339317 has been marked as a duplicate of this bug. ***