threads / discuss / 63452

"POSIXLY_CORRECT" - "msgfmt: msgfmt: --tcl requires a "-l locale" specification"

Subject: "POSIXLY_CORRECT" - "msgfmt: msgfmt: --tcl requires a "-l locale" specification"

## tl;dr

3 messages between May 13, 2025 and May 14, 2025.

replies: 2people: 2as markdown or json

Nathan Royce· May 13, 2025, 08:17 UTC · lore
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

Johannes Sixt· May 13, 2025, 17:27 UTC · re: Nathan Royce · lore

Re: "POSIXLY_CORRECT" - "msgfmt: msgfmt: --tcl requires a "-l locale" specification"

Am 13.05.25 um 10:17 schrieb Nathan Royce:
Show 9 quoted lines
> 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?
-- Hannes
Johannes Sixt· May 14, 2025, 15:59 UTC · lore

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.
Thanks, fixed.
-- Hannes

← back to recent threads