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 7, 2020, 04:12 UTC
Message-ID
<CAH8yC8maYWBGgNHX8AAwVNe+dxEwpD6yXPaFd822wPmAGaUPCA@mail.gmail.com>
In-Reply-To
<CAH8yC8nZSWSHzMiY+L4kC8OSZu9GV6H82SyvSAOqw0zX6J4xbQ@mail.gmail.com>
On Wed, May 6, 2020 at 4:36 PM Jeffrey Walton <noloader@gmail.com> wrote:
Show 30 quoted lines
>
> On Tue, May 5, 2020 at 8:26 AM Philippe Blain <philippe.blain@me.com> wrote:
> >  ...
> > > I am not an iconv expert - and don't intend to become one.
> > > The UTF-8-MAC conversion does probably only exist in the
> > > code for iconv shipped on Mac OS - so it could happen that this
> > > code is not open source.
> >
> > Yes, this encoding only exists in the Apple fork of iconv,
> > which is open-source (probably because of the original
> > license); tarballs can be found at [2]. However in typical Apple fashion
> > the versioning of their iconv fork is kind of undecipherable and hard to relate to the
> > upstream iconv versioning.
> >
> > Also, I searched the iconv mailing list [3] when I came across this error and the consensus
> > seemed to be that they do not intend to add this encoding upstream.
> >
> > [1] https://github.com/conda-forge/git-feedstock/issues/50
> > [2] https://opensource.apple.com/tarballs/libiconv/
> > [3] https://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=utf-8-mac&submit=Search%21&idxname=bug-gnu-libiconv&max=20&result=normal&sort=score
>
> Thanks Phillipe.
>
> I found two sources for libiconv with UTF-8-Mac. First is a GitHub at
> https://github.com/fumiyas/libiconv-utf8mac. The second is the
> opensource.apple.com link you provided at [2].
>
> The GitHub claims to be layered on top of libiconv 1.16, but I was not
> able to get a working tarball from it. It looks like Apple's
> libiconv-59.tar.gz is the answer to this problem.

I had to punt on Apple's port. libiconv-59.tar.gz is libiconv-1.11. It is too old to be useful.

libiconv-utf8mac is based on libiconv-1.16 and worked fine. It took my patches after I figured out the complete procedure. On the upside, libiconv-utf8mac works on Linux and Solaris too. So there is support for UTF-8-Mac if needed.

Jeff
Previous: Jeffrey WaltonNext: Jeffrey Walton
Message 14 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.