actions icon indicating copy to clipboard operation
actions copied to clipboard

Alert: switching to `v2` may malfunction on `macOS` due to `cabal 3.8.1.0`

Open andreasabel opened this issue 3 years ago • 0 comments

While v1 of the setup action uses cabal 3.6.2.0 by default, v2 uses cabal 3.8.1.0. The latter runs pkgconfig --list-all in preparation for the constraint solving when a .cabal package has a pkgconfig-depends field. (For example, text-icu-0.8.0.2 has pkgconfig-depends: icu-i18n >= 62.1.) Unfortunately, pkgconfig --list-all currently segfaults on the macOS-11 and macOS-12 virtual environments, causing cabal 3.8.1.0 to silently malfunction. (The constraint solver assumes e.g. that there is no icu-i18n library installed.)

These are all upstream issues; pointers:

  • https://github.com/actions/runner-images/issues/6364
  • https://github.com/haskell/cabal/issues/8494
  • https://github.com/haskell/cabal/pull/8496

So, there isn't really anything to do here, but please keep this alert open until upstream issues are resolved.

andreasabel avatar Oct 07 '22 04:10 andreasabel