[Fedora-i18n-bugs] [Bug 801374] New: autopoint fails if GREP_OPTIONS contains -n

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 8 11:40:25 UTC 2012


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 at redhat.com
        ReportedBy: jcholast at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: petersen at redhat.com, i18n-bugs at 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:

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the i18n-bugs mailing list