ghc package broken due to missing containers.h
Building library for ghc-9.9..
GHC/Data/Word64Set.hs:7:2: error:
fatal error: containers.h: No such file or directory
7 |
| ^
|
7 |
| ^
compilation terminated.
GHC/Data/Word64Set/Internal.hs:16:2: error:
fatal error: containers.h: No such file or directory
16 |
| ^
|
16 |
| ^
compilation terminated.
GHC/Data/Word64Map.hs:12:2: error:
fatal error: containers.h: No such file or directory
12 |
| ^
|
12 |
| ^
compilation terminated.
GHC/Data/Word64Map/Internal.hs:18:2: error:
fatal error: containers.h: No such file or directory
18 |
| ^
|
18 |
| ^
compilation terminated.
GHC/Data/Word64Map/Lazy.hs:7:2: error:
fatal error: containers.h: No such file or directory
7 |
| ^
|
7 |
| ^
compilation terminated.
GHC/Data/Word64Map/Strict.hs:8:2: error:
fatal error: containers.h: No such file or directory
8 |
| ^
|
8 |
| ^
compilation terminated.
GHC/Data/Word64Map/Strict/Internal.hs:8:2: error:
fatal error: containers.h: No such file or directory
8 |
| ^
|
8 |
| ^
compilation terminated.
GHC/Utils/Containers/Internal/BitUtil.hs:10:2: error:
fatal error: containers.h: No such file or directory
10 |
| ^
|
10 |
| ^
compilation terminated.
GHC/Utils/Containers/Internal/StrictPair.hs:7:2: error:
fatal error: containers.h: No such file or directory
7 |
| ^
|
7 |
| ^
compilation terminated.
GHC/Data/Word64Set.hs:7:2: error:
fatal error: containers.h: No such file or directory
7 |
| ^
|
7 |
| ^
compilation terminated.
GHC/Data/Word64Map/Strict.hs:8:2: error:
fatal error: containers.h: No such file or directory
8 |
| ^
|
8 |
| ^
compilation terminated.
GHC/Data/Word64Map.hs:12:2: error:
fatal error: containers.h: No such file or directory
12 |
| ^
|
12 |
| ^
compilation terminated.
GHC/Data/Word64Map.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Data/Word64Map/Internal.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Data/Word64Map/Lazy.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Data/Word64Map/Strict.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Data/Word64Map/Strict/Internal.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Data/Word64Set.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Data/Word64Set/Internal.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Utils/Containers/Internal/BitUtil.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
GHC/Utils/Containers/Internal/StrictPair.hs:1:1: error:
`gcc' failed in phase `Haskell C pre-processor'. (Exit code: 1)
|
1 | {-# LANGUAGE CPP #-}
| ^
Command failed
But the file doesn't define any useful macros so we can just remove these includes.