Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

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

Closed
andreasabel opened this issue Oct 7, 2022 · 1 comment
Closed

Comments

@andreasabel
Copy link
Member

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:

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

@andreasabel
Copy link
Member Author

This has been fixed upstream, in the macOS-11 and macOS-12 virtual environments.
However, cabal-3.8 may fail with mysterious configuration errors whenever there are malformed package configurations on the system causing pkgconfig to fail.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant