TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
133 stars 50 forks source link

fatal: iconv_open(UTF-8,UTF-8-MAC) failed #291

Open ThauEx opened 3 years ago

ThauEx commented 3 years ago

In some git repos I'm getting the following error:

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"

This issue is describing the same problem and a possible fix: https://github.com/conda-forge/git-feedstock/issues/50

jperkin commented 3 years ago

The problem here is that we can no longer link against the system libiconv due to the mess Apple have made of shared libraries. It may be that we can patch the pkgsrc libiconv to support UTF-8-MAC, but in the meantime I think you'll either need to use the system-supplied git or implement the workaround as suggested in the output.

ThauEx commented 3 years ago

This is, was I did (disabled precomposeunicode), but would be really nice, if you could implement those patches.