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 6, 2020, 20:48 UTC
Message-ID
<CAH8yC8=YfjUqYmAs7AVtwK2MtVi-W+LfiidkwAVcy4S2TYm=4A@mail.gmail.com>
In-Reply-To
<20200505041033.w2q7h5k7otetfrus@tb-raspi4>
On Tue, May 5, 2020 at 12:10 AM Torsten Bögershausen <tboegi@web.de> wrote:
Show 13 quoted lines
>
> On Mon, May 04, 2020 at 05:39:50PM -0400, Jeffrey Walton wrote:
> > On Mon, May 4, 2020 at 4:30 PM Jeffrey Walton <noloader@gmail.com> wrote:
> > >
> > > ...
> By the way, does
> ./t3910-mac-os-precompose.sh
> work on your system ?
>
> So far I am not aware about any problems with iconv from MacOs
> being reported here on the list.
> Which problems/bugs did you found in the iconv shipped with MacOs,
> especially together with Git ?
Thanks again Torsten .

So there are several problems with libiconv. First, sometimes it is too old and carries bugs with it. For example, sed and awk fail to build and pass their self tests because they expect a minimum version of libiconv.

Second, there are some modern bugs that needs fixing. They were reported after libiconv 1.16 was released. It needs patches.

Third, libiconv cannot get through testing with UBsan. It causes a number of packages to fail to configure or pass their self tests. It needs patches.

Fourth, libiconv cannot get through testing with Asan and Valgrind. It leaks resources like a sieve, and leaves memory and file handles open. It causes a number of packages to fail to configure or pass their self tests. It needs more patches.

Due to all the problems with libiconv I just patch it and build it everywhere I need it.

The other option is to wait for the maintainers to fix libiconv. Based on some reading about the UTF-8-Mac problem I don't think that will happen. And they are not interested in fixing the resource leaks. GNU has such low coding standards...

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