Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: autopoint fails if GREP_OPTIONS contains -n
https://bugzilla.redhat.com/show_bug.cgi?id=801374
Summary: autopoint fails if GREP_OPTIONS contains -n Product: Fedora Version: 16 Platform: Unspecified OS/Version: Unspecified Status: NEW Severity: unspecified Priority: unspecified Component: gettext AssignedTo: petersen@redhat.com ReportedBy: jcholast@redhat.com QAContact: extras-qa@fedoraproject.org CC: petersen@redhat.com, i18n-bugs@lists.fedoraproject.org Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: ---
Description of problem: autopoint fails if the GREP_OPTIONS environment variable contains the -n (prefix each line of output with line number) option.
This happens because autopoint assumes that grep outputs lines of the source file in an unmodified form, which is not always true.
Version-Release number of selected component (if applicable):
How reproducible: Always.
Steps to Reproduce: 1. cd to a directory with a configure.ac file which contains the AM_GNU_GETTEXT_VERSION macro 2. run "GREP_OPTIONS=-n autopoint --force"
Actual results: autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using autopoint: *** Stop. autoreconf: autopoint failed with exit status: 1
Expected results: autopoint succeeds as if the -n grep option was not set.
Additional info: