cisco / ChezScheme

Chez Scheme
Apache License 2.0
6.89k stars 983 forks source link

adjustment and workaround for macOS iconv #805

Closed mflatt closed 4 months ago

mflatt commented 4 months ago

Intended to address #797.

History note: the iconv library in macOS 14.0 was especially broken. By 14.2.1, it has been mostly fixed, but I think the Chez Scheme test suite uncovers a remaining problem. That problem persists in 14.3.1.

The two different failing cases have different reasons:

I'm not sure the bug-workaround change is a good idea. Workarounds for OS bugs are sometimes necessary, but it's usually easier to get a sense of the bug's extent so that a workaround feels worthwhile. This workaround is fairly specific to a random corner of a library, and I can't help thinking there are likely other random corners with bugs. Still, I lean toward having the workaround, for now. An alternative is to disable the failing test on macOS.

mflatt commented 4 months ago

Forgot to mention: with the workaround in place, there's a commit here to enable arm64osx in the CI action.