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

msgmft segfaulting on tiger

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Feb 21, 2008, 23:53 UTC
Message-ID
<46a038f90802211553g735215c6q260ddc49ac149bb5@mail.gmail.com>

Today I've debugged a compile of git 1.5.4.2 failing on OSX Tiger (on Basilio's machine). The problem is during the git-gui build, in the PO file handling. Apparently fmtmsg (from fink) segfaults on de.po so the fix is to say

   make NO_MSGFMT=NoneThere

I don't think we can do much about it -- my guess is that fink has been built and tested in a different OSX release, and happens to go bellyup on Tiger. Here's a transcript in case it helps anyone.

Here's the tail of the build message, with make called with -d:
GITGUI_VERSION = 0.9.2
     * new locations or Tcl/Tk interpreter
     GEN git-gui
     INDEX lib/
     MSGFMT    po/de.msg make[1]: *** [po/de.msg] Error 1
 make: *** [all] Error 2
Various versions of things involved:
 $ dpkg -S /sw/bin/msgfmt
 gettext-tools: /sw/bin/msgfmt
 $ dpkg -l gettext-tools
(...)
 ii  gettext-tools                     0.10.40-19
 $ uname -a
 Darwin developer 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10
 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386
 $ msgfmt -V
 msgfmt (GNU gettext) 0.10.40
 Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 Written by Ulrich Drepper.

Has anyone got any ideas on how to debug this further? I couldn't find any core files.

cheers,
martin
Next: Martin Langhoff
Message 1 of 21 in “msgmft segfaulting on tiger”
  1. Martin LanghoffFeb 21, 2008
  2. Martin LanghoffFeb 21, 2008
  3. Shawn O. PearceFeb 22, 2008
  4. Martin LanghoffFeb 22, 2008
  5. Gabriel SaldañaFeb 27, 2008
  6. Johannes SchindelinFeb 27, 2008
  7. Gabriel SaldañaFeb 27, 2008
  8. Johannes SchindelinFeb 27, 2008
  9. Junio C HamanoFeb 27, 2008
  10. Shawn O. PearceFeb 28, 2008
  11. msgmft segfaulting on ubuntu gutsy (clean)Gabriel Saldaña, Mar 4, 2008
  12. Shawn O. PearceMar 4, 2008
  13. Gabriel SaldañaFeb 28, 2008
  14. Shawn O. PearceMar 5, 2008
  15. Junio C HamanoMar 6, 2008
  16. Simplify MSGFMT setting in MakefileJunio C Hamano, Mar 12, 2008
  17. Shawn O. PearceMar 12, 2008
  18. Charles BaileyMar 12, 2008
  19. Paul MackerrasMar 14, 2008
  20. Junio C HamanoMar 14, 2008
  21. Andreas EricssonMar 14, 2008

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.