bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettext 0.23.1 xgettext-its-2 FAIL


From: Bruno Haible
Subject: Re: gettext 0.23.1 xgettext-its-2 FAIL
Date: Wed, 08 Jan 2025 20:55:40 +0100

Hi,

Simon Josefsson wrote:
> FAIL xgettext-its-2 (exit status: 1)
...
> + : xgettext
> + unset GETTEXTDATADIR
> + unset GETTEXTDATADIRS
> + unset XDG_DATA_DIRS
> + LC_MESSAGES=C xgettext -o /dev/null input.a
> + grep is unknown; will try C
> + result=1

It looks like
  - either xgettext crashed,
  - or xgettext succeeded without a diagnostic (unlikely),
  - or some environment variable caused the message "unknown; will try C"
    to appear in a different language.

Trying to reproduce the third case:
  $ LC_ALL=fr_FR.UTF-8 make check
  => bingo

For debugging such cases, it is useful to add a command
  $ env | LC_ALL=C sort
to the execution, so I could have looked through the set of defined environment
variables.

Fixed through 
https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=9d7c69c51bfc55ea30efdce8fcb36c6483b85a7f

Thanks for the report.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]