Re: "POSIXLY_CORRECT" - "msgfmt: msgfmt: --tcl requires a "-l locale" specification"
Am 14.05.25 um 08:50 schrieb Nathan Royce:
Show 17 quoted lines
> On Tue, May 13, 2025 at 12:27 PM Johannes Sixt <j6t@kdbg.org> wrote:
>> Am 13.05.25 um 10:17 schrieb Nathan Royce:
>>> Order matters with POSIX. Arguments come before source/target.
>>>
>>> Success: `msgfmt --statistics --tcl -l bg -d po/ po/bg.po`
>>> vs
>>> Fail: `msgfmt --statistics --tcl po/bg.po -l bg -d po/`
>>>
>>> build/gitk-git
>>> make[1]: *** [Makefile:76: po/bg.msg] Error 1
>>> make: *** [Makefile:2466: all] Error 2
>>
>> Thanks for the report. How did you get this report? Which OS and version?
>
> Just `\export POSIXLY_CORRECT=1` and try to build it. It won't.
> You don't even have to build it fully, just run both `msgfmt` with
> that environment variable set.