[Bug 581319] Re: debuild fails if GREP_OPTIONS are set in environment

Andreas Roth 581319 at bugs.launchpad.net
Thu Oct 11 05:10:28 UTC 2012


You're right it is the same issue. 
I run the debuild from the package directory which any arguments and debuild immediately terminates with the error (on ubuntu precise):
debuild: fatal error at line 640:
don't understand dpkg-parsechangelog output: (standard input):1:Source: pkgname

I noticed that the options '-Hn' to grep are the cause of the problem.
Only using the '--color=auto' option does not hurt at all.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to devscripts in Ubuntu.
https://bugs.launchpad.net/bugs/581319

Title:
  debuild fails if GREP_OPTIONS are set in environment

Status in “devscripts” package in Ubuntu:
  New

Bug description:
  Binary package hint: devscripts

  devscripts: version 2.10.61ubuntu5

  On my PC i set the GREP_OPTIONS environment variable in .bashrc:
  export GREP_OPTIONS='-Hn --color=auto'

  When the GREP_OPTIONS are set, debuild will fails with the following line:
  debuild: fatal error at line 643:
  don't understand dpkg-parsechangelog output: (standard input):1:Source: pkgname

  I recommend to reset all GREP environment variables to an emtpy string
  (default), to ensure that grep is working as expected within the
  devscripts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/581319/+subscriptions




More information about the foundations-bugs mailing list