[Build-common-hackers] Bug#573925: GREP_OPTIONS breaks build

sergio mailbox at sergio.spb.ru
Mon Mar 15 00:51:27 UTC 2010

Package: cdbs
Version: 0.4.71
Severity: normal

My $GREP_OPTIONS is "--color=auto --initial-tab --line-number"
And build breaks at
CABAL_VERSION=$(shell cat *.cabal | egrep -i '^\s*version:' | head -n1 | sed -r 's,^\s*version:\s*,,i')
in /usr/share/cdbs/1/class/hlibrary.mk
With empty $GREP_OPTIONS all works fine.

Perhaps this is not cdbs fault, but the one who calls this scripts.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     7.4.15     helper programs for debian/rules

Versions of packages cdbs recommends:
pn  autotools-dev                 <none>     (no description available)

Versions of packages cdbs suggests:
pn  devscripts                    <none>     (no description available)
pn  doc-base                      <none>     (no description available)

-- no debconf information

More information about the Build-common-hackers mailing list