git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git and gettext

From
KSKim Scarborough <kim@scarborough.kim>
Date
Aug 4, 2024, 21:26 UTC
Message-ID
<1d6e0fef-9b9a-4239-aced-d20cd5c3434c@scarborough.kim>
In-Reply-To
<Zq5qNwmTpL1H5LH0@tapette.crustytoothpaste.net>
On 8/3/24 12:34 PM, brian m. carlson wrote:
Show 14 quoted lines
> 
> Hmm, I can't remove msgfmt from my system, but if I put a `msgfmt`
> script in `$TMP/path` that contains just a shebang and `exit 1` and do
> this, the build succeeds:
> 
> ---
> PATH="$TMP/path:$PATH" make -j12 NO_GETTEXT=1 NO_MSGFMT=1
> ---
> 
> Note that `config.mak` is not read by git-gui, so you do really have
> to set `NO_MSGFMT=1` on the command line.
> 
> Can you show exactly the commands you're running and exactly the output
> you're getting?  Also, what OS and version are you running this on?

Not working for me. I ran "make NO_GETTEXT=1 NO_MSGFMT=1" and it dies thusly:

     BUILTIN git-version
     BUILTIN git-whatchanged
     SUBDIR git-gui
GITGUI_VERSION = 0.21.0.128.g2864e
     * new locations or Tcl/Tk interpreter
     MSGFMT    po/bg.msg     MSGFMT    po/de.msg     MSGFMT    po/el.msg 
     MSGFMT    po/fr.msg make[1]: *** [Makefile:239: po/bg.msg] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:239: po/de.msg] Error 127
make[1]: *** [Makefile:239: po/el.msg] Error 127
     MSGFMT    po/hu.msg make[1]: *** [Makefile:239: po/fr.msg] Error 127
     MSGFMT    po/it.msg make[1]: *** [Makefile:239: po/hu.msg] Error 127
     MSGFMT    po/ja.msg make[1]: *** [Makefile:239: po/it.msg] Error 127
     MSGFMT    po/nb.msg make[1]: *** [Makefile:239: po/ja.msg] Error 127
make[1]: *** [Makefile:239: po/nb.msg] Error 127
make: *** [Makefile:2365: all] Error 2
This is a recently-built Linux from Scratch box.
Previous: brian m. carlsonNext: Jeff King
Message 5 of 8 in “Git and gettext”
  1. Kim ScarboroughAug 3, 2024
  2. brian m. carlsonAug 3, 2024
  3. Kim ScarboroughAug 3, 2024
  4. brian m. carlsonAug 3, 2024
  5. Kim ScarboroughAug 4, 2024
  6. Jeff KingAug 5, 2024
  7. Kim ScarboroughAug 6, 2024
  8. Jeff KingAug 12, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.