Re: Git 2.26.2 and failed self tests on OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

> Le 5 mai 2020 à 00:10, Torsten Bögershausen <tboegi@xxxxxx> a écrit :
> 
> 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@xxxxxxxxx> wrote:
>>> 
>>> On Mon, May 4, 2020 at 4:19 PM Torsten Bögershausen <tboegi@xxxxxx> wrote:
>>>> 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.
>>>>> 
>>>>> 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 also came across this error a few months ago with the 
conda-forge build of Git [1], which for the moment builds against their own
build of (GNU) iconv.

>>>> 
>>>> 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 specialty
>>>> 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.
>> 
>> Thanks again Torsten.
>> 
>> I am not seeing an option to enable the encoding in iConv. Would you
>> happen to know what is needed?
>> 
>> Thanks again.
>> 
>> $ cd libiconv-1.16
>> $ ./configure --help
>> `configure' configures libiconv 1.16 to adapt to many kinds of systems.
> 
> Hej Jeffrey,
> 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.

Cheers,

Philippe.

[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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux