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

Re: Git 2.26.2 and failed self tests on OS X

From
JWJeffrey Walton <noloader@gmail.com>
Date
May 4, 2020, 20:30 UTC
Message-ID
<CAH8yC8mLvG-wqrws6fnXdnuoLAoDfPqgynG9MKoSnJLhPCYu+A@mail.gmail.com>
In-Reply-To
<20200504201944.gh3zykhil3txdwnk@tb-raspi4>
On Mon, May 4, 2020 at 4:19 PM Torsten Bögershausen <tboegi@web.de> wrote:
Show 41 quoted lines
> On Mon, May 04, 2020 at 03:20:11PM -0400, Jeffrey Walton wrote:
> > ...
> > > Does
> > > ./t3902-quoted.sh   -v -d
> > > give anything useful ?
> >
> > Yes, it looks like the command reveals a couple of problems.
> >
> > I'll have to look into my iconv recipe. It has not changed in a while,
> > so something else may be responsible for the failure.
> > https://github.com/noloader/Build-Scripts/blob/master/build-iconv.sh.
> >
> > I'm not sure what to do with the HEAD problems.
> >
> > $ ./t3902-quoted.sh   -v -d
> > Initialized empty Git repository in
> > /Users/jwalton/Build-Scripts/git-2.26.2/t/trash
> > directory.t3902-quoted/.git/
> > expecting success of 3902.1 'setup':
> >
> >         mkdir "$FN" &&
> >         for_each_name "echo initial >\"\$name\"" &&
> >         git add . &&
> >         git commit -q -m Initial &&
> >
> >         for_each_name "echo second >\"\$name\"" &&
> >         git commit -a -m Second &&
> >
> >         for_each_name "echo modified >\"\$name\""
> >
> >
> > fatal: iconv_open(UTF-8,UTF-8-MAC) failed, but needed:
> >     precomposed unicode is not supported.
> >     If you want to use decomposed unicode, run
> >     "git config core.precomposeunicode false"
> >
>
> I am quite sure, that the trouble starts here.
> It seems as if you are building iconv yourself ?
> And that iconv does not include "UTF-8-MAC", which is a speciality
> for Mac.
Oh, thanks. I was not aware.

I'll open a bug report with the iconv folks letting them know configure has some gaps on OS X.

> Are there any special reasons to build your own iconv ?
Yes, iconv bugs on older platforms.

The only way I've found to avoid intermittent problems on older platforms is using the latest iconv (which is pretty stable nowadays), and avoid the glibc iconv.

Jeff
Previous: Torsten BögershausenNext: Jeffrey Walton
Message 9 of 15 in “Git 2.26.2 and failed self tests on OS X”
  1. Jeffrey WaltonMay 4, 2020
  2. Eric SunshineMay 4, 2020
  3. Carlo Marcelo Arenas BelónMay 4, 2020
  4. Eric SunshineMay 4, 2020
  5. Torsten BögershausenMay 4, 2020
  6. Eric SunshineMay 4, 2020
  7. Jeffrey WaltonMay 4, 2020
  8. Torsten BögershausenMay 4, 2020
  9. Jeffrey WaltonMay 4, 2020
  10. Jeffrey WaltonMay 4, 2020
  11. Torsten BögershausenMay 5, 2020
  12. Philippe BlainMay 5, 2020
  13. Jeffrey WaltonMay 6, 2020
  14. Jeffrey WaltonMay 7, 2020
  15. Jeffrey WaltonMay 6, 2020

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.