-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
PR welcomePlease submit a PR on this issuePlease submit a PR on this issue
Description
Hi there!
I'm not sure whether this is an issue with haskell-actions per se, but I thought it worth recording in case others are also running into the same issue.
Affected OS, GHC, and cabal version combinations
macOS-latest |
windows-latest |
ubuntu-latest |
|
|---|---|---|---|
ghc-8.10 |
🔴 affected | 🟢 unaffected | 🟢 unaffected |
ghc-9.0 |
🔴 affected | 🟢 unaffected | 🟢 unaffected |
ghc-9.2 |
🟢 unaffected | 🟢 unaffected | 🟢 unaffected |
ghc-9.4 |
🟢 unaffected | 🟢 unaffected | 🟢 unaffected |
ghc-9.6 |
🟢 unaffected | 🟢 unaffected | 🟢 unaffected |
ghc-9.8 |
🟢 unaffected | 🟢 unaffected | 🟢 unaffected |
Building with cabal-3.10.3.0.
Known workarounds
- Use
macOS-13instead ofmacOS-latest.
Issue
On affected OS platform and GHC versions, there are LLVM-related build failures similar to the following:
> cabal build all --builddir=b --only-dependencies
Building StateVar-1.2.2 (lib)
Configuring library for StateVar-1.2.2..
Preprocessing library for StateVar-1.2.2..
Building library for StateVar-1.2.2..
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
[1 of 1] Compiling Data.StateVar ( src/Data/StateVar.hs, dist/build/Data/StateVar.o, dist/build/Data/StateVar.dyn_o )
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM between [9 and 13)
ghc: could not execute: opt
Note that the LLVM error appears for whatever dependency cabal is attempting to build first. (It's not specific to StateVar.)
Example action failures
ulysses4ever, jorisdral, tomjaguarpaw, BebeSparkelSparkel and qwbarch
Metadata
Metadata
Assignees
Labels
PR welcomePlease submit a PR on this issuePlease submit a PR on this issue