github / semantic

Parsing, analyzing, and comparing source code across many languages
8.91k stars 450 forks source link

Unable to cabal v2-build all (WSL) #636

Closed rtorr closed 2 years ago

rtorr commented 3 years ago
Build profile: -w ghc-8.8.4 -O1
In order, the following will be built (use -v for more details):
 - StateVar-1.2.1 (lib) (requires build)
 - base-compat-0.10.5 (lib) (requires build)
 - base-orphans-0.8.4 (lib) (requires build)
 - base64-bytestring-1.2.0.1 (lib) (requires build)
 - basement-0.0.11 (lib) (requires build)
 - blaze-builder-0.4.1.0 (lib) (requires build)
 - cabal-doctest-1.0.8 (lib) (requires build)
 - call-stack-0.2.0 (lib) (requires build)
 - clock-0.8 (lib) (requires build)
 - colour-2.3.5 (lib) (requires build)
 - directory-tree-0.12.1 (lib) (requires build)
 - dlist-0.8.0.8 (lib) (requires build)
 - exceptions-0.10.4 (lib) (requires build)
 - fingertree-0.1.4.2 (lib) (requires build)
 - fused-effects-1.1.1.0 (lib) (requires build)
 - fused-syntax-0.0.0.0 (lib) (first run)
 - happy-1.20.0 (exe:happy) (requires build)
 - hashable-1.3.0.0 (lib) (requires build)
 - haskell-lexer-1.1 (lib:haskell-lexer) (requires build)
 - hostname-1.0 (lib:hostname) (requires build)
 - hscolour-1.24.4 (lib:hscolour) (requires build)
 - indexed-profunctors-0.1 (lib) (requires build)
 - indexed-traversable-0.1.1 (lib) (requires build)
 - integer-logarithms-1.0.3.1 (lib) (requires build)
 - lens-family-core-2.0.0 (lib:lens-family-core) (requires build)
 - network-2.8.0.1 (lib:network) (requires build)
 - network-uri-2.6.3.0 (lib) (requires build)
 - parallel-3.2.2.0 (lib) (requires build)
 - prettyprinter-1.7.0 (lib) (requires build)
 - primitive-0.7.1.0 (lib) (requires build)
 - raw-strings-qq-1.1 (lib) (requires build)
 - reflection-2.1.6 (lib) (requires build)
 - semigroups-0.19.1 (lib) (requires build)
 - split-0.2.3.4 (lib) (requires build)
 - splitmix-0.1.0.3 (lib) (requires build)
 - stm-chans-3.0.0.4 (lib:stm-chans) (requires build)
 - tagged-0.8.6.1 (lib) (requires build)
 - th-abstraction-0.3.2.0 (lib) (requires build)
 - transformers-compat-0.6.6 (lib) (requires build)
 - unbounded-delays-0.1.1.1 (lib) (requires build)
 - unliftio-core-0.2.0.1 (lib) (requires build)
 - utf8-string-1.0.1.1 (lib:utf8-string) (requires build)
 - utility-ht-0.0.15 (lib) (requires build)
 - void-0.7.3 (lib) (requires build)
 - wcwidth-0.0.2 (lib:wcwidth) (requires build)
 - contravariant-1.5.3 (lib) (requires build)
 - base-compat-batteries-0.10.5 (lib) (requires build)
 - algebraic-graphs-0.3 (lib) (requires build)
 - time-compat-1.9.5 (lib) (requires build)
 - blaze-markup-0.8.2.7 (lib) (requires build)
 - ansi-terminal-0.11 (lib) (requires build)
 - unordered-containers-0.2.13.0 (lib) (requires build)
 - async-2.2.2 (lib) (requires build)
 - pretty-show-1.9.5 (lib) (requires build)
 - generic-lens-core-2.0.0.0 (lib) (requires build)
 - lens-family-2.0.0 (lib:lens-family) (requires build)
 - vector-0.12.1.2 (lib) (requires build)
 - scientific-0.3.6.2 (lib) (requires build)
 - random-1.2.0 (lib) (requires build)
 - distributive-0.6.2.1 (lib) (requires build)
 - transformers-base-0.4.5.2 (lib) (requires build)
 - Glob-0.10.1 (lib) (requires build)
 - resourcet-1.2.4.2 (lib) (requires build)
 - blaze-html-0.9.1.2 (lib) (requires build)
 - prettyprinter-ansi-terminal-1.1.2 (lib) (requires build)
 - ansi-wl-pprint-0.6.9 (lib) (requires build)
 - tree-sitter-0.9.0.2 (lib) (requires build)
 - semilattices-0.0.0.4 (lib) (requires build)
 - charset-0.3.7.1 (lib:charset) (requires build)
 - vector-algorithms-0.8.0.4 (lib) (requires build)
 - gauge-0.2.5 (lib) (requires build)
 - attoparsec-0.13.2.4 (lib) (requires build)
 - uuid-types-1.0.3 (lib) (requires build)
 - QuickCheck-2.14.2 (lib) (requires build)
 - comonad-5.0.8 (lib) (requires build)
 - pretty-simple-4.0.0.0 (lib:pretty-simple) (requires build)
 - optparse-applicative-0.15.1.0 (lib) (requires build)
 - tree-sitter-typescript-0.5.0.2 (lib) (requires build)
 - tree-sitter-tsx-0.5.0.2 (lib) (requires build)
 - tree-sitter-rust-0.1.0.1 (lib) (requires build)
 - tree-sitter-ruby-0.5.0.3 (lib) (requires build)
 - tree-sitter-ql-0.1.0.4 (lib) (requires build)
 - tree-sitter-python-0.9.0.3 (lib) (requires build)
 - tree-sitter-php-0.5.0.1 (lib) (requires build)
 - tree-sitter-json-0.7.0.2 (lib) (requires build)
 - tree-sitter-java-0.7.0.2 (lib) (requires build)
 - tree-sitter-go-0.5.0.2 (lib) (requires build)
 - mono-traversable-1.0.15.1 (lib) (requires build)
 - parsers-0.12.10 (lib) (requires build)
 - aeson-1.4.7.1 (lib) (requires build)
 - pathtype-0.8.1.1 (lib) (requires build)
 - bifunctors-5.5.7 (lib) (requires build)
 - tasty-1.2.3 (lib) (requires build)
 - conduit-1.3.4 (lib) (requires build)
 - aeson-pretty-0.8.8 (lib) (requires build)
 - semigroupoids-5.3.4 (lib:semigroupoids) (requires build)
 - profunctors-5.5.2 (lib) (requires build)
 - tasty-hunit-0.10.0.3 (lib) (requires build)
 - libyaml-0.1.2 (lib) (requires build)
 - reducers-3.12.3 (lib:reducers) (requires build)
 - proto-lens-0.7.0.0 (lib) (requires build)
 - invariant-0.5.3 (lib) (requires build)
 - generic-lens-2.0.0.0 (lib) (requires build)
 - free-5.1.3 (lib) (requires build)
 - yaml-0.11.5.0 (lib) (requires build)
 - proto-lens-runtime-0.7.0.0 (lib) (requires build)
 - adjunctions-4.4 (lib) (requires build)
 - lingo-0.5.0.1 (lib) (requires build)
 - proto-lens-jsonpb-0.2.0.2 (lib) (requires build)
 - kan-extensions-5.2.1 (lib) (requires build)
 - semantic-source-0.1.0.1 (lib) (first run)
 - semantic-proto-0.0.0.0 (lib) (first run)
 - lens-4.19.2 (lib:lens) (requires build)
 - semantic-ast-0.1.0.0 (lib) (first run)
 - semantic-analysis-0.0.0.0 (lib) (first run)
 - semantic-tags-0.0.0.0 (lib) (first run)
 - trifecta-2.1 (lib:trifecta) (requires build)
 - semantic-scope-graph-0.0.0.0 (lib) (first run)
 - semantic-typescript-0.0.0.0 (lib) (first run)
 - semantic-tsx-0.0.0.0 (lib) (first run)
 - semantic-rust-0.0.0.0 (lib) (first run)
 - semantic-ruby-0.0.0.0 (lib) (first run)
 - semantic-python-0.0.0.0 (lib) (first run)
 - semantic-php-0.0.0.0 (lib) (first run)
 - semantic-json-0.0.0.0 (lib) (first run)
 - semantic-java-0.0.0.0 (lib) (first run)
 - semantic-go-0.0.0.0 (lib) (first run)
 - semantic-codeql-0.0.0.0 (lib) (first run)
 - semantic-core-0.0.0.0 (lib) (first run)
 - semantic-ruby-0.0.0.0 (exe:tree-sitter-ruby) (first run)
 - semantic-ruby-0.0.0.0 (exe:benchmarks) (first run)
 - semantic-python-0.0.0.0 (exe:benchmark) (first run)
 - semantic-parse-0.1.0.0 (exe:semantic-parse) (first run)
 - semantic-0.11.0.1 (lib) (first run)
 - semantic-0.11.0.1 (exe:semantic) (first run)
Starting     StateVar-1.2.1 (lib)
Starting     cabal-doctest-1.0.8 (lib)
Starting     call-stack-0.2.0 (lib)
Starting     blaze-builder-0.4.1.0 (lib)
Starting     clock-0.8 (lib)
Starting     colour-2.3.5 (lib)
Starting     dlist-0.8.0.8 (lib)
Starting     fingertree-0.1.4.2 (lib)
Starting     exceptions-0.10.4 (lib)
Preprocessing library for fused-syntax-0.0.0.0..
Starting     hashable-1.3.0.0 (lib)
Starting     haskell-lexer-1.1 (all, legacy fallback)
Building library for fused-syntax-0.0.0.0..
Starting     hostname-1.0 (all, legacy fallback)
Starting     indexed-profunctors-0.1 (lib)
Starting     indexed-traversable-0.1.1 (lib)
Starting     integer-logarithms-1.0.3.1 (lib)
Starting     lens-family-core-2.0.0 (all, legacy fallback)
Starting     network-uri-2.6.3.0 (lib)
Starting     parallel-3.2.2.0 (lib)
Starting     primitive-0.7.1.0 (lib)
Starting     raw-strings-qq-1.1 (lib)
Starting     reflection-2.1.6 (lib)
Starting     base64-bytestring-1.2.0.1 (lib)
Starting     directory-tree-0.12.1 (lib)
Starting     hscolour-1.24.4 (all, legacy fallback)
Starting     prettyprinter-1.7.0 (lib)
Starting     base-orphans-0.8.4 (lib)
Starting     basement-0.0.11 (lib)
Starting     network-2.8.0.1 (all, legacy fallback)
Starting     happy-1.20.0 (exe:happy)
Starting     base-compat-0.10.5 (lib)
Starting     fused-effects-1.1.1.0 (lib)
Starting     semigroups-0.19.1 (lib)
Building     StateVar-1.2.1 (lib)
Building     cabal-doctest-1.0.8 (lib)
Building     clock-0.8 (lib)
Building     blaze-builder-0.4.1.0 (lib)
Building     call-stack-0.2.0 (lib)
Building     dlist-0.8.0.8 (lib)
Building     fingertree-0.1.4.2 (lib)
Building     colour-2.3.5 (lib)
Building     exceptions-0.10.4 (lib)
Building     indexed-profunctors-0.1 (lib)
Building     haskell-lexer-1.1 (all, legacy fallback)
Building     hashable-1.3.0.0 (lib)
Building     hostname-1.0 (all, legacy fallback)
Building     network-uri-2.6.3.0 (lib)
Building     integer-logarithms-1.0.3.1 (lib)
Building     raw-strings-qq-1.1 (lib)
Building     indexed-traversable-0.1.1 (lib)
Building     primitive-0.7.1.0 (lib)
Building     lens-family-core-2.0.0 (all, legacy fallback)
Building     reflection-2.1.6 (lib)
Building     base64-bytestring-1.2.0.1 (lib)
Building     base-orphans-0.8.4 (lib)
Building     directory-tree-0.12.1 (lib)
Building     hscolour-1.24.4 (all, legacy fallback)
Building     parallel-3.2.2.0 (lib)
Building     prettyprinter-1.7.0 (lib)
Building     basement-0.0.11 (lib)
Building     fused-effects-1.1.1.0 (lib)
Building     base-compat-0.10.5 (lib)
Building     happy-1.20.0 (exe:happy)
Building     semigroups-0.19.1 (lib)
Building     network-2.8.0.1 (all, legacy fallback)

Failed to build StateVar-1.2.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/StateVar-1.2.1-2d142dfb4f499bd7e51738abfc51203c765edcc8f4a4d6a502a8a2131abaf87b.log
):
Configuring library for StateVar-1.2.1..
Preprocessing library for StateVar-1.2.1..
Building library for StateVar-1.2.1..
[1 of 1] Compiling Data.StateVar    ( src/Data/StateVar.hs, dist/build/Data/StateVar.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build base-compat-0.10.5.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/base-compat-0.10.5-28199dc591673b9c7c0bbf7b41029d6f4d4555fe3411a276fb8c3a57cc1b2a3d.log
):
Configuring library for base-compat-0.10.5..
Preprocessing library for base-compat-0.10.5..
Building library for base-compat-0.10.5..
[  1 of 112] Compiling Control.Concurrent.Compat ( src/Control/Concurrent/Compat.hs, dist/build/Control/Concurrent/Compat.o )
[  2 of 112] Compiling Control.Concurrent.Compat.Repl ( src/Control/Concurrent/Compat/Repl.hs, dist/build/Control/Concurrent/Compat/Repl.o )
[  3 of 112] Compiling Control.Concurrent.MVar.Compat ( src/Control/Concurrent/MVar/Compat.hs, dist/build/Control/Concurrent/MVar/Compat.o )
[  4 of 112] Compiling Control.Concurrent.MVar.Compat.Repl ( src/Control/Concurrent/MVar/Compat/Repl.hs, dist/build/Control/Concurrent/MVar/Compat/Repl.o )
[  5 of 112] Compiling Control.Exception.Compat ( src/Control/Exception/Compat.hs, dist/build/Control/Exception/Compat.o )
[  6 of 112] Compiling Control.Exception.Compat.Repl ( src/Control/Exception/Compat/Repl.hs, dist/build/Control/Exception/Compat/Repl.o )
[  7 of 112] Compiling Control.Monad.Compat ( src/Control/Monad/Compat.hs, dist/build/Control/Monad/Compat.o )
[  8 of 112] Compiling Control.Monad.Compat.Repl ( src/Control/Monad/Compat/Repl.hs, dist/build/Control/Monad/Compat/Repl.o )
[  9 of 112] Compiling Control.Monad.Fail.Compat ( src/Control/Monad/Fail/Compat.hs, dist/build/Control/Monad/Fail/Compat.o )
[ 10 of 112] Compiling Control.Monad.Fail.Compat.Repl ( src/Control/Monad/Fail/Compat/Repl.hs, dist/build/Control/Monad/Fail/Compat/Repl.o )
[ 11 of 112] Compiling Control.Monad.IO.Class.Compat ( src/Control/Monad/IO/Class/Compat.hs, dist/build/Control/Monad/IO/Class/Compat.o )
[ 12 of 112] Compiling Control.Monad.IO.Class.Compat.Repl ( src/Control/Monad/IO/Class/Compat/Repl.hs, dist/build/Control/Monad/IO/Class/Compat/Repl.o )
[ 13 of 112] Compiling Control.Monad.ST.Lazy.Unsafe.Compat ( src/Control/Monad/ST/Lazy/Unsafe/Compat.hs, dist/build/Control/Monad/ST/Lazy/Unsafe/Compat.o )
[ 14 of 112] Compiling Control.Monad.ST.Lazy.Unsafe.Compat.Repl ( src/Control/Monad/ST/Lazy/Unsafe/Compat/Repl.hs, dist/build/Control/Monad/ST/Lazy/Unsafe/Compat/Repl.o )
[ 15 of 112] Compiling Control.Monad.ST.Unsafe.Compat ( src/Control/Monad/ST/Unsafe/Compat.hs, dist/build/Control/Monad/ST/Unsafe/Compat.o )
[ 16 of 112] Compiling Control.Monad.ST.Unsafe.Compat.Repl ( src/Control/Monad/ST/Unsafe/Compat/Repl.hs, dist/build/Control/Monad/ST/Unsafe/Compat/Repl.o )
[ 17 of 112] Compiling Data.Bifoldable.Compat ( src/Data/Bifoldable/Compat.hs, dist/build/Data/Bifoldable/Compat.o )
[ 18 of 112] Compiling Data.Bifoldable.Compat.Repl ( src/Data/Bifoldable/Compat/Repl.hs, dist/build/Data/Bifoldable/Compat/Repl.o )
[ 19 of 112] Compiling Data.Bifunctor.Compat ( src/Data/Bifunctor/Compat.hs, dist/build/Data/Bifunctor/Compat.o )
[ 20 of 112] Compiling Data.Bifunctor.Compat.Repl ( src/Data/Bifunctor/Compat/Repl.hs, dist/build/Data/Bifunctor/Compat/Repl.o )
[ 21 of 112] Compiling Data.Bitraversable.Compat ( src/Data/Bitraversable/Compat.hs, dist/build/Data/Bitraversable/Compat.o )
[ 22 of 112] Compiling Data.Bitraversable.Compat.Repl ( src/Data/Bitraversable/Compat/Repl.hs, dist/build/Data/Bitraversable/Compat/Repl.o )
[ 23 of 112] Compiling Data.Bits.Compat ( src/Data/Bits/Compat.hs, dist/build/Data/Bits/Compat.o )
[ 24 of 112] Compiling Data.Bits.Compat.Repl ( src/Data/Bits/Compat/Repl.hs, dist/build/Data/Bits/Compat/Repl.o )
[ 25 of 112] Compiling Data.Bool.Compat ( src/Data/Bool/Compat.hs, dist/build/Data/Bool/Compat.o )
[ 26 of 112] Compiling Data.Bool.Compat.Repl ( src/Data/Bool/Compat/Repl.hs, dist/build/Data/Bool/Compat/Repl.o )
[ 27 of 112] Compiling Data.Complex.Compat ( src/Data/Complex/Compat.hs, dist/build/Data/Complex/Compat.o )
[ 28 of 112] Compiling Data.Complex.Compat.Repl ( src/Data/Complex/Compat/Repl.hs, dist/build/Data/Complex/Compat/Repl.o )
[ 29 of 112] Compiling Data.Either.Compat ( src/Data/Either/Compat.hs, dist/build/Data/Either/Compat.o )
[ 30 of 112] Compiling Data.Either.Compat.Repl ( src/Data/Either/Compat/Repl.hs, dist/build/Data/Either/Compat/Repl.o )
[ 31 of 112] Compiling Data.Foldable.Compat ( src/Data/Foldable/Compat.hs, dist/build/Data/Foldable/Compat.o )
[ 32 of 112] Compiling Data.Foldable.Compat.Repl ( src/Data/Foldable/Compat/Repl.hs, dist/build/Data/Foldable/Compat/Repl.o )
[ 33 of 112] Compiling Data.Function.Compat ( src/Data/Function/Compat.hs, dist/build/Data/Function/Compat.o )
[ 34 of 112] Compiling Data.Function.Compat.Repl ( src/Data/Function/Compat/Repl.hs, dist/build/Data/Function/Compat/Repl.o )
[ 35 of 112] Compiling Data.Functor.Compat ( src/Data/Functor/Compat.hs, dist/build/Data/Functor/Compat.o )
[ 36 of 112] Compiling Data.Functor.Compat.Repl ( src/Data/Functor/Compat/Repl.hs, dist/build/Data/Functor/Compat/Repl.o )
[ 37 of 112] Compiling Data.Functor.Compose.Compat ( src/Data/Functor/Compose/Compat.hs, dist/build/Data/Functor/Compose/Compat.o )
[ 38 of 112] Compiling Data.Functor.Compose.Compat.Repl ( src/Data/Functor/Compose/Compat/Repl.hs, dist/build/Data/Functor/Compose/Compat/Repl.o )
[ 39 of 112] Compiling Data.Functor.Const.Compat ( src/Data/Functor/Const/Compat.hs, dist/build/Data/Functor/Const/Compat.o )
[ 40 of 112] Compiling Data.Functor.Const.Compat.Repl ( src/Data/Functor/Const/Compat/Repl.hs, dist/build/Data/Functor/Const/Compat/Repl.o )
[ 41 of 112] Compiling Data.Functor.Contravariant.Compat ( src/Data/Functor/Contravariant/Compat.hs, dist/build/Data/Functor/Contravariant/Compat.o )
[ 42 of 112] Compiling Data.Functor.Contravariant.Compat.Repl ( src/Data/Functor/Contravariant/Compat/Repl.hs, dist/build/Data/Functor/Contravariant/Compat/Repl.o )
[ 43 of 112] Compiling Data.Functor.Identity.Compat ( src/Data/Functor/Identity/Compat.hs, dist/build/Data/Functor/Identity/Compat.o )
[ 44 of 112] Compiling Data.Functor.Identity.Compat.Repl ( src/Data/Functor/Identity/Compat/Repl.hs, dist/build/Data/Functor/Identity/Compat/Repl.o )
[ 45 of 112] Compiling Data.Functor.Product.Compat ( src/Data/Functor/Product/Compat.hs, dist/build/Data/Functor/Product/Compat.o )
[ 46 of 112] Compiling Data.Functor.Product.Compat.Repl ( src/Data/Functor/Product/Compat/Repl.hs, dist/build/Data/Functor/Product/Compat/Repl.o )
[ 47 of 112] Compiling Data.Functor.Sum.Compat ( src/Data/Functor/Sum/Compat.hs, dist/build/Data/Functor/Sum/Compat.o )
[ 48 of 112] Compiling Data.Functor.Sum.Compat.Repl ( src/Data/Functor/Sum/Compat/Repl.hs, dist/build/Data/Functor/Sum/Compat/Repl.o )
[ 49 of 112] Compiling Data.IORef.Compat ( src/Data/IORef/Compat.hs, dist/build/Data/IORef/Compat.o )
[ 50 of 112] Compiling Data.IORef.Compat.Repl ( src/Data/IORef/Compat/Repl.hs, dist/build/Data/IORef/Compat/Repl.o )
[ 51 of 112] Compiling Data.List.Compat ( src/Data/List/Compat.hs, dist/build/Data/List/Compat.o )
[ 52 of 112] Compiling Data.List.Compat.Repl ( src/Data/List/Compat/Repl.hs, dist/build/Data/List/Compat/Repl.o )
[ 53 of 112] Compiling Data.List.NonEmpty.Compat ( src/Data/List/NonEmpty/Compat.hs, dist/build/Data/List/NonEmpty/Compat.o )
[ 54 of 112] Compiling Data.List.NonEmpty.Compat.Repl ( src/Data/List/NonEmpty/Compat/Repl.hs, dist/build/Data/List/NonEmpty/Compat/Repl.o )
[ 55 of 112] Compiling Data.Monoid.Compat ( src/Data/Monoid/Compat.hs, dist/build/Data/Monoid/Compat.o )
[ 56 of 112] Compiling Data.Monoid.Compat.Repl ( src/Data/Monoid/Compat/Repl.hs, dist/build/Data/Monoid/Compat/Repl.o )
[ 57 of 112] Compiling Data.Proxy.Compat ( src/Data/Proxy/Compat.hs, dist/build/Data/Proxy/Compat.o )
[ 58 of 112] Compiling Data.Proxy.Compat.Repl ( src/Data/Proxy/Compat/Repl.hs, dist/build/Data/Proxy/Compat/Repl.o )
[ 59 of 112] Compiling Data.Ratio.Compat ( src/Data/Ratio/Compat.hs, dist/build/Data/Ratio/Compat.o )
[ 60 of 112] Compiling Data.Ratio.Compat.Repl ( src/Data/Ratio/Compat/Repl.hs, dist/build/Data/Ratio/Compat/Repl.o )
[ 61 of 112] Compiling Data.STRef.Compat ( src/Data/STRef/Compat.hs, dist/build/Data/STRef/Compat.o )
[ 62 of 112] Compiling Data.STRef.Compat.Repl ( src/Data/STRef/Compat/Repl.hs, dist/build/Data/STRef/Compat/Repl.o )
[ 63 of 112] Compiling Data.Semigroup.Compat ( src/Data/Semigroup/Compat.hs, dist/build/Data/Semigroup/Compat.o )
[ 64 of 112] Compiling Data.Semigroup.Compat.Repl ( src/Data/Semigroup/Compat/Repl.hs, dist/build/Data/Semigroup/Compat/Repl.o )
[ 65 of 112] Compiling Data.String.Compat ( src/Data/String/Compat.hs, dist/build/Data/String/Compat.o )
[ 66 of 112] Compiling Data.String.Compat.Repl ( src/Data/String/Compat/Repl.hs, dist/build/Data/String/Compat/Repl.o )
[ 67 of 112] Compiling Data.Type.Coercion.Compat ( src/Data/Type/Coercion/Compat.hs, dist/build/Data/Type/Coercion/Compat.o )
[ 68 of 112] Compiling Data.Type.Coercion.Compat.Repl ( src/Data/Type/Coercion/Compat/Repl.hs, dist/build/Data/Type/Coercion/Compat/Repl.o )
[ 69 of 112] Compiling Data.Version.Compat ( src/Data/Version/Compat.hs, dist/build/Data/Version/Compat.o )
[ 70 of 112] Compiling Data.Version.Compat.Repl ( src/Data/Version/Compat/Repl.hs, dist/build/Data/Version/Compat/Repl.o )
[ 71 of 112] Compiling Data.Void.Compat ( src/Data/Void/Compat.hs, dist/build/Data/Void/Compat.o )
[ 72 of 112] Compiling Data.Void.Compat.Repl ( src/Data/Void/Compat/Repl.hs, dist/build/Data/Void/Compat/Repl.o )
[ 73 of 112] Compiling Data.Word.Compat ( src/Data/Word/Compat.hs, dist/build/Data/Word/Compat.o )
[ 74 of 112] Compiling Data.Word.Compat.Repl ( src/Data/Word/Compat/Repl.hs, dist/build/Data/Word/Compat/Repl.o )
[ 75 of 112] Compiling Debug.Trace.Compat ( src/Debug/Trace/Compat.hs, dist/build/Debug/Trace/Compat.o )
[ 76 of 112] Compiling Debug.Trace.Compat.Repl ( src/Debug/Trace/Compat/Repl.hs, dist/build/Debug/Trace/Compat/Repl.o )
[ 77 of 112] Compiling Foreign.ForeignPtr.Compat ( src/Foreign/ForeignPtr/Compat.hs, dist/build/Foreign/ForeignPtr/Compat.o )
[ 78 of 112] Compiling Foreign.ForeignPtr.Compat.Repl ( src/Foreign/ForeignPtr/Compat/Repl.hs, dist/build/Foreign/ForeignPtr/Compat/Repl.o )
[ 79 of 112] Compiling Foreign.ForeignPtr.Safe.Compat ( src/Foreign/ForeignPtr/Safe/Compat.hs, dist/build/Foreign/ForeignPtr/Safe/Compat.o )
[ 80 of 112] Compiling Foreign.ForeignPtr.Safe.Compat.Repl ( src/Foreign/ForeignPtr/Safe/Compat/Repl.hs, dist/build/Foreign/ForeignPtr/Safe/Compat/Repl.o )
[ 81 of 112] Compiling Foreign.ForeignPtr.Unsafe.Compat ( src/Foreign/ForeignPtr/Unsafe/Compat.hs, dist/build/Foreign/ForeignPtr/Unsafe/Compat.o )
[ 82 of 112] Compiling Foreign.ForeignPtr.Unsafe.Compat.Repl ( src/Foreign/ForeignPtr/Unsafe/Compat/Repl.hs, dist/build/Foreign/ForeignPtr/Unsafe/Compat/Repl.o )
[ 83 of 112] Compiling Foreign.Marshal.Alloc.Compat ( src/Foreign/Marshal/Alloc/Compat.hs, dist/build/Foreign/Marshal/Alloc/Compat.o )
[ 84 of 112] Compiling Foreign.Marshal.Alloc.Compat.Repl ( src/Foreign/Marshal/Alloc/Compat/Repl.hs, dist/build/Foreign/Marshal/Alloc/Compat/Repl.o )
[ 85 of 112] Compiling Foreign.Marshal.Array.Compat ( src/Foreign/Marshal/Array/Compat.hs, dist/build/Foreign/Marshal/Array/Compat.o )
[ 86 of 112] Compiling Foreign.Marshal.Array.Compat.Repl ( src/Foreign/Marshal/Array/Compat/Repl.hs, dist/build/Foreign/Marshal/Array/Compat/Repl.o )
[ 87 of 112] Compiling Foreign.Marshal.Safe.Compat ( src/Foreign/Marshal/Safe/Compat.hs, dist/build/Foreign/Marshal/Safe/Compat.o )
[ 88 of 112] Compiling Foreign.Marshal.Safe.Compat.Repl ( src/Foreign/Marshal/Safe/Compat/Repl.hs, dist/build/Foreign/Marshal/Safe/Compat/Repl.o )
[ 89 of 112] Compiling Foreign.Marshal.Unsafe.Compat ( src/Foreign/Marshal/Unsafe/Compat.hs, dist/build/Foreign/Marshal/Unsafe/Compat.o )
[ 90 of 112] Compiling Foreign.Marshal.Unsafe.Compat.Repl ( src/Foreign/Marshal/Unsafe/Compat/Repl.hs, dist/build/Foreign/Marshal/Unsafe/Compat/Repl.o )
[ 91 of 112] Compiling Foreign.Marshal.Utils.Compat ( src/Foreign/Marshal/Utils/Compat.hs, dist/build/Foreign/Marshal/Utils/Compat.o )
[ 92 of 112] Compiling Foreign.Marshal.Compat ( src/Foreign/Marshal/Compat.hs, dist/build/Foreign/Marshal/Compat.o )
[ 93 of 112] Compiling Foreign.Marshal.Compat.Repl ( src/Foreign/Marshal/Compat/Repl.hs, dist/build/Foreign/Marshal/Compat/Repl.o )
[ 94 of 112] Compiling Foreign.Compat   ( src/Foreign/Compat.hs, dist/build/Foreign/Compat.o )
[ 95 of 112] Compiling Foreign.Compat.Repl ( src/Foreign/Compat/Repl.hs, dist/build/Foreign/Compat/Repl.o )
[ 96 of 112] Compiling Foreign.Marshal.Utils.Compat.Repl ( src/Foreign/Marshal/Utils/Compat/Repl.hs, dist/build/Foreign/Marshal/Utils/Compat/Repl.o )
[ 97 of 112] Compiling Numeric.Compat   ( src/Numeric/Compat.hs, dist/build/Numeric/Compat.o )
[ 98 of 112] Compiling Numeric.Compat.Repl ( src/Numeric/Compat/Repl.hs, dist/build/Numeric/Compat/Repl.o )
[ 99 of 112] Compiling Numeric.Natural.Compat ( src/Numeric/Natural/Compat.hs, dist/build/Numeric/Natural/Compat.o )
[100 of 112] Compiling Numeric.Natural.Compat.Repl ( src/Numeric/Natural/Compat/Repl.hs, dist/build/Numeric/Natural/Compat/Repl.o )
[101 of 112] Compiling Prelude.Compat   ( src/Prelude/Compat.hs, dist/build/Prelude/Compat.o )
[102 of 112] Compiling Prelude.Compat.Repl ( src/Prelude/Compat/Repl.hs, dist/build/Prelude/Compat/Repl.o )
[103 of 112] Compiling System.Environment.Compat ( src/System/Environment/Compat.hs, dist/build/System/Environment/Compat.o )
[104 of 112] Compiling System.Environment.Compat.Repl ( src/System/Environment/Compat/Repl.hs, dist/build/System/Environment/Compat/Repl.o )
[105 of 112] Compiling System.Exit.Compat ( src/System/Exit/Compat.hs, dist/build/System/Exit/Compat.o )
[106 of 112] Compiling System.Exit.Compat.Repl ( src/System/Exit/Compat/Repl.hs, dist/build/System/Exit/Compat/Repl.o )
[107 of 112] Compiling System.IO.Unsafe.Compat ( src/System/IO/Unsafe/Compat.hs, dist/build/System/IO/Unsafe/Compat.o )
[108 of 112] Compiling System.IO.Unsafe.Compat.Repl ( src/System/IO/Unsafe/Compat/Repl.hs, dist/build/System/IO/Unsafe/Compat/Repl.o )
[109 of 112] Compiling Text.Read.Compat ( src/Text/Read/Compat.hs, dist/build/Text/Read/Compat.o )
[110 of 112] Compiling Text.Read.Compat.Repl ( src/Text/Read/Compat/Repl.hs, dist/build/Text/Read/Compat/Repl.o )
[111 of 112] Compiling Type.Reflection.Compat ( src/Type/Reflection/Compat.hs, dist/build/Type/Reflection/Compat.o )
[112 of 112] Compiling Type.Reflection.Compat.Repl ( src/Type/Reflection/Compat/Repl.hs, dist/build/Type/Reflection/Compat/Repl.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build base-orphans-0.8.4.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/base-orphans-0.8.4-f0e1c86abc04311d0652bcb10b8dcce70411478f17e51ff2de80be534e2d76ac.log
):
Configuring library for base-orphans-0.8.4..
Preprocessing library for base-orphans-0.8.4..
Building library for base-orphans-0.8.4..
[1 of 2] Compiling Data.Orphans.Prelude ( src/Data/Orphans/Prelude.hs, dist/build/Data/Orphans/Prelude.o )
[2 of 2] Compiling Data.Orphans     ( src/Data/Orphans.hs, dist/build/Data/Orphans.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build base64-bytestring-1.2.0.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/base64-bytestring-1.2.0.1-3d921be442f6161d5f00cd53b98306f36e69873389eb13ddaf52eeaeda8e0c5e.log
):
Configuring library for base64-bytestring-1.2.0.1..
Preprocessing library for base64-bytestring-1.2.0.1..
Building library for base64-bytestring-1.2.0.1..
[1 of 5] Compiling Data.ByteString.Base64.Internal ( Data/ByteString/Base64/Internal.hs, dist/build/Data/ByteString/Base64/Internal.o )
[2 of 5] Compiling Data.ByteString.Base64 ( Data/ByteString/Base64.hs, dist/build/Data/ByteString/Base64.o )
[3 of 5] Compiling Data.ByteString.Base64.Lazy ( Data/ByteString/Base64/Lazy.hs, dist/build/Data/ByteString/Base64/Lazy.o )
[4 of 5] Compiling Data.ByteString.Base64.URL ( Data/ByteString/Base64/URL.hs, dist/build/Data/ByteString/Base64/URL.o )
[5 of 5] Compiling Data.ByteString.Base64.URL.Lazy ( Data/ByteString/Base64/URL/Lazy.hs, dist/build/Data/ByteString/Base64/URL/Lazy.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build basement-0.0.11.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/basement-0.0.11-89e4ba77ca6c893c2cd20823ed24b5e17cb2b62ced6c9f4a5ef8a94753c1528b.log
):
Configuring library for basement-0.0.11..
Preprocessing library for basement-0.0.11..
linking dist/build/Basement/Terminal/Size_hsc_make.o failed (exit code 1)
rsp file was: "dist/build/Basement/Terminal/hsc2hscall3195-2.rsp"
command was: /usr/bin/gcc dist/build/Basement/Terminal/Size_hsc_make.o dist/build/Basement/Terminal/Size_hsc_utils.o -o dist/build/Basement/Terminal/Size_hsc_make -fuse-ld=gold -fuse-ld=gold -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0 -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0 -lgmp -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3 -lc -lm -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts -lm -lrt -ldl -lpthread
error: /usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status

Failed to build blaze-builder-0.4.1.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/blaze-builder-0.4.1.0-7336739eb2630d13f430f78997af9cc263cbc8ecdc90344be58bdbf31937e4e6.log
):
Configuring library for blaze-builder-0.4.1.0..
Preprocessing library for blaze-builder-0.4.1.0..
Building library for blaze-builder-0.4.1.0..
[ 1 of 11] Compiling Blaze.ByteString.Builder.Internal.Write ( Blaze/ByteString/Builder/Internal/Write.hs, dist/build/Blaze/ByteString/Builder/Internal/Write.o )

Blaze/ByteString/Builder/Internal/Write.hs:57:1: warning: [-Wunused-imports]
    The import of ‘Data.Monoid’ is redundant
      except perhaps to import instances from ‘Data.Monoid’
    To import instances alone, use: import Data.Monoid()
   |
57 | import Data.Monoid (Monoid(..))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2 of 11] Compiling Blaze.ByteString.Builder.Compat.Write ( Blaze/ByteString/Builder/Compat/Write.hs, dist/build/Blaze/ByteString/Builder/Compat/Write.o )
[ 3 of 11] Compiling Blaze.ByteString.Builder.Int ( Blaze/ByteString/Builder/Int.hs, dist/build/Blaze/ByteString/Builder/Int.o )
[ 4 of 11] Compiling Blaze.ByteString.Builder.Html.Word ( Blaze/ByteString/Builder/Html/Word.hs, dist/build/Blaze/ByteString/Builder/Html/Word.o )
[ 5 of 11] Compiling Blaze.ByteString.Builder.Char8 ( Blaze/ByteString/Builder/Char8.hs, dist/build/Blaze/ByteString/Builder/Char8.o )
[ 6 of 11] Compiling Blaze.ByteString.Builder.Char.Utf8 ( Blaze/ByteString/Builder/Char/Utf8.hs, dist/build/Blaze/ByteString/Builder/Char/Utf8.o )
[ 7 of 11] Compiling Blaze.ByteString.Builder.Html.Utf8 ( Blaze/ByteString/Builder/Html/Utf8.hs, dist/build/Blaze/ByteString/Builder/Html/Utf8.o )
[ 8 of 11] Compiling Blaze.ByteString.Builder.ByteString ( Blaze/ByteString/Builder/ByteString.hs, dist/build/Blaze/ByteString/Builder/ByteString.o )
[ 9 of 11] Compiling Blaze.ByteString.Builder.HTTP ( Blaze/ByteString/Builder/HTTP.hs, dist/build/Blaze/ByteString/Builder/HTTP.o )
[10 of 11] Compiling Blaze.ByteString.Builder.Word ( Blaze/ByteString/Builder/Word.hs, dist/build/Blaze/ByteString/Builder/Word.o )
[11 of 11] Compiling Blaze.ByteString.Builder ( Blaze/ByteString/Builder.hs, dist/build/Blaze/ByteString/Builder.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build cabal-doctest-1.0.8.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/cabal-doctest-1.0.8-e578d258185f6f452f96ad7cacbfd718d79203afe78f2bd7138afc7947bacd4a.log
):
Configuring library for cabal-doctest-1.0.8..
Preprocessing library for cabal-doctest-1.0.8..
Building library for cabal-doctest-1.0.8..
[1 of 1] Compiling Distribution.Extra.Doctest ( src/Distribution/Extra/Doctest.hs, dist/build/Distribution/Extra/Doctest.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build call-stack-0.2.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/call-stack-0.2.0-ec8688b78536a1e9af42393bfd46aff75c6be93322d5fafc600c3c5d22cbcbff.log
):
Configuring library for call-stack-0.2.0..
Preprocessing library for call-stack-0.2.0..
Building library for call-stack-0.2.0..
[1 of 3] Compiling Data.SrcLoc      ( src/Data/SrcLoc.hs, dist/build/Data/SrcLoc.o )
[2 of 3] Compiling Data.CallStack   ( src/Data/CallStack.hs, dist/build/Data/CallStack.o )
[3 of 3] Compiling Paths_call_stack ( dist/build/autogen/Paths_call_stack.hs, dist/build/Paths_call_stack.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build clock-0.8.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/clock-0.8-9c5e7a74dad95b7c146a24c407aa421b142c4635cb50ee0dc9811e8400c2ee83.log
):
Configuring library for clock-0.8..
Preprocessing library for clock-0.8..
linking dist/build/System/Clock_hsc_make.o failed (exit code 1)
rsp file was: "dist/build/System/hsc2hscall2480-2.rsp"
command was: /usr/bin/gcc dist/build/System/Clock_hsc_make.o dist/build/System/Clock_hsc_utils.o -o dist/build/System/Clock_hsc_make -fuse-ld=gold -fuse-ld=gold -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0 -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0 -lgmp -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3 -lc -lm -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts -lm -lrt -ldl -lpthread
error: /usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status

Failed to build colour-2.3.5.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/colour-2.3.5-c1f8c3d7a1a017d9ed68c895cc3f1340d4614b5060142167fa870e9ccc0a9cd2.log
):
Configuring library for colour-2.3.5..
Preprocessing library for colour-2.3.5..
Building library for colour-2.3.5..
[ 1 of 14] Compiling Data.Colour.CIE.Chromaticity ( Data/Colour/CIE/Chromaticity.hs, dist/build/Data/Colour/CIE/Chromaticity.o )
[ 2 of 14] Compiling Data.Colour.CIE.Illuminant ( Data/Colour/CIE/Illuminant.hs, dist/build/Data/Colour/CIE/Illuminant.o )
[ 3 of 14] Compiling Data.Colour.Chan ( Data/Colour/Chan.hs, dist/build/Data/Colour/Chan.o )
[ 4 of 14] Compiling Data.Colour.Internal ( Data/Colour/Internal.hs, dist/build/Data/Colour/Internal.o )
[ 5 of 14] Compiling Data.Colour.Matrix ( Data/Colour/Matrix.hs, dist/build/Data/Colour/Matrix.o )
[ 6 of 14] Compiling Data.Colour.RGB  ( Data/Colour/RGB.hs, dist/build/Data/Colour/RGB.o )
[ 7 of 14] Compiling Data.Colour.RGBSpace.HSL ( Data/Colour/RGBSpace/HSL.hs, dist/build/Data/Colour/RGBSpace/HSL.o )
[ 8 of 14] Compiling Data.Colour.RGBSpace.HSV ( Data/Colour/RGBSpace/HSV.hs, dist/build/Data/Colour/RGBSpace/HSV.o )
[ 9 of 14] Compiling Data.Colour.SRGB.Linear ( Data/Colour/SRGB/Linear.hs, dist/build/Data/Colour/SRGB/Linear.o )
[10 of 14] Compiling Data.Colour.RGBSpace ( Data/Colour/RGBSpace.hs, dist/build/Data/Colour/RGBSpace.o )
[11 of 14] Compiling Data.Colour.SRGB ( Data/Colour/SRGB.hs, dist/build/Data/Colour/SRGB.o )
[12 of 14] Compiling Data.Colour      ( Data/Colour.hs, dist/build/Data/Colour.o )
[13 of 14] Compiling Data.Colour.Names ( Data/Colour/Names.hs, dist/build/Data/Colour/Names.o )
[14 of 14] Compiling Data.Colour.CIE  ( Data/Colour/CIE.hs, dist/build/Data/Colour/CIE.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build directory-tree-0.12.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/directory-tree-0.12.1-0d0c76a146e0d5e6fca4df5380abdb224c113c889bb35e90257c332f41150d3d.log
):
Configuring library for directory-tree-0.12.1..
Preprocessing library for directory-tree-0.12.1..
Building library for directory-tree-0.12.1..
[1 of 1] Compiling System.Directory.Tree ( System/Directory/Tree.hs, dist/build/System/Directory/Tree.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build dlist-0.8.0.8.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/dlist-0.8.0.8-4b89bb2032e5664f071a1019a577d0ce2c250c06ee73b889df48f9c6ca13613a.log
):
Configuring library for dlist-0.8.0.8..
Preprocessing library for dlist-0.8.0.8..
Building library for dlist-0.8.0.8..
[1 of 1] Compiling Data.DList       ( Data/DList.hs, dist/build/Data/DList.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build exceptions-0.10.4.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/exceptions-0.10.4-5a09e0eb7bef378c4a30c4ecc37b8c7fddc7103ce1783d8d5c2016716ddb4a27.log
):
Configuring library for exceptions-0.10.4..
Preprocessing library for exceptions-0.10.4..
Building library for exceptions-0.10.4..
[1 of 2] Compiling Control.Monad.Catch ( src/Control/Monad/Catch.hs, dist/build/Control/Monad/Catch.o )
[2 of 2] Compiling Control.Monad.Catch.Pure ( src/Control/Monad/Catch/Pure.hs, dist/build/Control/Monad/Catch/Pure.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build fingertree-0.1.4.2.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/fingertree-0.1.4.2-a187520107c19a5835ab0a9af45a86ed682a393cf92298fa20d24ff6cbd10dc6.log
):
Configuring library for fingertree-0.1.4.2..
Preprocessing library for fingertree-0.1.4.2..
Building library for fingertree-0.1.4.2..

Data/FingerTree.hs:13:14: warning:
    -XAutoDeriveTypeable is deprecated: Typeable instances are created automatically for all types since GHC 8.2.
   |
13 | {-# LANGUAGE AutoDeriveTypeable #-}
   |              ^^^^^^^^^^^^^^^^^^

Data/IntervalMap/FingerTree.hs:10:14: warning:
    -XAutoDeriveTypeable is deprecated: Typeable instances are created automatically for all types since GHC 8.2.
   |
10 | {-# LANGUAGE AutoDeriveTypeable #-}
   |              ^^^^^^^^^^^^^^^^^^

Data/PriorityQueue/FingerTree.hs:10:14: warning:
    -XAutoDeriveTypeable is deprecated: Typeable instances are created automatically for all types since GHC 8.2.
   |
10 | {-# LANGUAGE AutoDeriveTypeable #-}
   |              ^^^^^^^^^^^^^^^^^^
[1 of 3] Compiling Data.FingerTree  ( Data/FingerTree.hs, dist/build/Data/FingerTree.o )
[2 of 3] Compiling Data.IntervalMap.FingerTree ( Data/IntervalMap/FingerTree.hs, dist/build/Data/IntervalMap/FingerTree.o )
[3 of 3] Compiling Data.PriorityQueue.FingerTree ( Data/PriorityQueue/FingerTree.hs, dist/build/Data/PriorityQueue/FingerTree.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build fused-effects-1.1.1.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/fused-effects-1.1.1.0-38e212a81788b89551014b9c87f63dd6a8c8bd2c6e900db138dd21fb9167e77b.log
):
Configuring library for fused-effects-1.1.1.0..
Preprocessing library for fused-effects-1.1.1.0..
Building library for fused-effects-1.1.1.0..
[ 1 of 54] Compiling Control.Algebra.Handler ( src/Control/Algebra/Handler.hs, dist/build/Control/Algebra/Handler.o )
[ 2 of 54] Compiling Control.Effect.Catch.Internal ( src/Control/Effect/Catch/Internal.hs, dist/build/Control/Effect/Catch/Internal.o )
[ 3 of 54] Compiling Control.Effect.Choose.Internal ( src/Control/Effect/Choose/Internal.hs, dist/build/Control/Effect/Choose/Internal.o )
[ 4 of 54] Compiling Control.Effect.Empty.Internal ( src/Control/Effect/Empty/Internal.hs, dist/build/Control/Effect/Empty/Internal.o )
[ 5 of 54] Compiling Control.Effect.Lift.Internal ( src/Control/Effect/Lift/Internal.hs, dist/build/Control/Effect/Lift/Internal.o )
[ 6 of 54] Compiling Control.Effect.Reader.Internal ( src/Control/Effect/Reader/Internal.hs, dist/build/Control/Effect/Reader/Internal.o )
[ 7 of 54] Compiling Control.Effect.State.Internal ( src/Control/Effect/State/Internal.hs, dist/build/Control/Effect/State/Internal.o )
[ 8 of 54] Compiling Control.Effect.Sum ( src/Control/Effect/Sum.hs, dist/build/Control/Effect/Sum.o )
[ 9 of 54] Compiling Control.Effect.NonDet.Internal ( src/Control/Effect/NonDet/Internal.hs, dist/build/Control/Effect/NonDet/Internal.o )
[10 of 54] Compiling Control.Effect.Throw.Internal ( src/Control/Effect/Throw/Internal.hs, dist/build/Control/Effect/Throw/Internal.o )
[11 of 54] Compiling Control.Effect.Error.Internal ( src/Control/Effect/Error/Internal.hs, dist/build/Control/Effect/Error/Internal.o )
[12 of 54] Compiling Control.Effect.Writer.Internal ( src/Control/Effect/Writer/Internal.hs, dist/build/Control/Effect/Writer/Internal.o )
[13 of 54] Compiling Control.Algebra  ( src/Control/Algebra.hs, dist/build/Control/Algebra.o )
[14 of 54] Compiling Control.Effect.Writer ( src/Control/Effect/Writer.hs, dist/build/Control/Effect/Writer.o )
[15 of 54] Compiling Control.Effect.Trace ( src/Control/Effect/Trace.hs, dist/build/Control/Effect/Trace.o )
[16 of 54] Compiling Control.Effect.Throw ( src/Control/Effect/Throw.hs, dist/build/Control/Effect/Throw.o )
[17 of 54] Compiling Control.Effect.Fail ( src/Control/Effect/Fail.hs, dist/build/Control/Effect/Fail.o )
[18 of 54] Compiling Control.Effect.State ( src/Control/Effect/State.hs, dist/build/Control/Effect/State.o )
[19 of 54] Compiling Control.Effect.Reader ( src/Control/Effect/Reader.hs, dist/build/Control/Effect/Reader.o )
[20 of 54] Compiling Control.Effect.Lift ( src/Control/Effect/Lift.hs, dist/build/Control/Effect/Lift.o )
[21 of 54] Compiling Control.Effect.Labelled ( src/Control/Effect/Labelled.hs, dist/build/Control/Effect/Labelled.o )
[22 of 54] Compiling Control.Effect.State.Labelled ( src/Control/Effect/State/Labelled.hs, dist/build/Control/Effect/State/Labelled.o )
[23 of 54] Compiling Control.Effect.Reader.Labelled ( src/Control/Effect/Reader/Labelled.hs, dist/build/Control/Effect/Reader/Labelled.o )
[24 of 54] Compiling Control.Effect.Fresh ( src/Control/Effect/Fresh.hs, dist/build/Control/Effect/Fresh.o )
[25 of 54] Compiling Control.Effect.Empty ( src/Control/Effect/Empty.hs, dist/build/Control/Effect/Empty.o )
[26 of 54] Compiling Control.Effect.Cut ( src/Control/Effect/Cut.hs, dist/build/Control/Effect/Cut.o )
[27 of 54] Compiling Control.Effect.Cull ( src/Control/Effect/Cull.hs, dist/build/Control/Effect/Cull.o )
[28 of 54] Compiling Control.Effect.Choose ( src/Control/Effect/Choose.hs, dist/build/Control/Effect/Choose.o )
[29 of 54] Compiling Control.Effect.NonDet ( src/Control/Effect/NonDet.hs, dist/build/Control/Effect/NonDet.o )
[30 of 54] Compiling Control.Effect.Catch ( src/Control/Effect/Catch.hs, dist/build/Control/Effect/Catch.o )
[31 of 54] Compiling Control.Effect.Error ( src/Control/Effect/Error.hs, dist/build/Control/Effect/Error.o )
[32 of 54] Compiling Control.Carrier.Trace.Printing ( src/Control/Carrier/Trace/Printing.hs, dist/build/Control/Carrier/Trace/Printing.o )
[33 of 54] Compiling Control.Carrier.Trace.Ignoring ( src/Control/Carrier/Trace/Ignoring.hs, dist/build/Control/Carrier/Trace/Ignoring.o )
[34 of 54] Compiling Control.Carrier.State.Strict ( src/Control/Carrier/State/Strict.hs, dist/build/Control/Carrier/State/Strict.o )
[35 of 54] Compiling Control.Carrier.Writer.Strict ( src/Control/Carrier/Writer/Strict.hs, dist/build/Control/Carrier/Writer/Strict.o )
[36 of 54] Compiling Control.Carrier.Trace.Returning ( src/Control/Carrier/Trace/Returning.hs, dist/build/Control/Carrier/Trace/Returning.o )
[37 of 54] Compiling Control.Carrier.State.Lazy ( src/Control/Carrier/State/Lazy.hs, dist/build/Control/Carrier/State/Lazy.o )
[38 of 54] Compiling Control.Carrier.State.Church ( src/Control/Carrier/State/Church.hs, dist/build/Control/Carrier/State/Church.o )
[39 of 54] Compiling Control.Carrier.Writer.Church ( src/Control/Carrier/Writer/Church.hs, dist/build/Control/Carrier/Writer/Church.o )
[40 of 54] Compiling Control.Carrier.Reader ( src/Control/Carrier/Reader.hs, dist/build/Control/Carrier/Reader.o )
[41 of 54] Compiling Control.Carrier.NonDet.Church ( src/Control/Carrier/NonDet/Church.hs, dist/build/Control/Carrier/NonDet/Church.o )
[42 of 54] Compiling Control.Carrier.Lift ( src/Control/Carrier/Lift.hs, dist/build/Control/Carrier/Lift.o )
[43 of 54] Compiling Control.Carrier.Interpret ( src/Control/Carrier/Interpret.hs, dist/build/Control/Carrier/Interpret.o )
[44 of 54] Compiling Control.Carrier.Fresh.Strict ( src/Control/Carrier/Fresh/Strict.hs, dist/build/Control/Carrier/Fresh/Strict.o )
[45 of 54] Compiling Control.Carrier.Fresh.Church ( src/Control/Carrier/Fresh/Church.hs, dist/build/Control/Carrier/Fresh/Church.o )
[46 of 54] Compiling Control.Carrier.Error.Either ( src/Control/Carrier/Error/Either.hs, dist/build/Control/Carrier/Error/Either.o )
[47 of 54] Compiling Control.Carrier.Throw.Either ( src/Control/Carrier/Throw/Either.hs, dist/build/Control/Carrier/Throw/Either.o )
[48 of 54] Compiling Control.Carrier.Fail.Either ( src/Control/Carrier/Fail/Either.hs, dist/build/Control/Carrier/Fail/Either.o )
[49 of 54] Compiling Control.Carrier.Error.Church ( src/Control/Carrier/Error/Church.hs, dist/build/Control/Carrier/Error/Church.o )
[50 of 54] Compiling Control.Carrier.Empty.Maybe ( src/Control/Carrier/Empty/Maybe.hs, dist/build/Control/Carrier/Empty/Maybe.o )
[51 of 54] Compiling Control.Carrier.Empty.Church ( src/Control/Carrier/Empty/Church.hs, dist/build/Control/Carrier/Empty/Church.o )
[52 of 54] Compiling Control.Carrier.Cut.Church ( src/Control/Carrier/Cut/Church.hs, dist/build/Control/Carrier/Cut/Church.o )
[53 of 54] Compiling Control.Carrier.Cull.Church ( src/Control/Carrier/Cull/Church.hs, dist/build/Control/Carrier/Cull/Church.o )
[54 of 54] Compiling Control.Carrier.Choose.Church ( src/Control/Carrier/Choose/Church.hs, dist/build/Control/Carrier/Choose/Church.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build exe:happy from happy-1.20.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/happy-1.20.0-4d047695a0ca1d00b23a413fb8866de27fe21fef2445153b3466b49be6c380e2.log
):
Configuring executable 'happy' for happy-1.20.0..
Preprocessing executable 'happy' for happy-1.20.0..
Building executable 'happy' for happy-1.20.0..
[ 1 of 19] Compiling AbsSyn           ( src/AbsSyn.lhs, dist/build/happy/happy-tmp/AbsSyn.o )
[ 2 of 19] Compiling GenUtils         ( src/GenUtils.lhs, dist/build/happy/happy-tmp/GenUtils.o )
[ 3 of 19] Compiling NameSet          ( src/NameSet.hs, dist/build/happy/happy-tmp/NameSet.o )
[ 4 of 19] Compiling ParamRules       ( src/ParamRules.hs, dist/build/happy/happy-tmp/ParamRules.o )
[ 5 of 19] Compiling ParseMonad       ( src/ParseMonad.hs, dist/build/happy/happy-tmp/ParseMonad.o )
[ 6 of 19] Compiling Lexer            ( src/Lexer.lhs, dist/build/happy/happy-tmp/Lexer.o )
[ 7 of 19] Compiling AttrGrammar      ( src/AttrGrammar.lhs, dist/build/happy/happy-tmp/AttrGrammar.o )
[ 8 of 19] Compiling AttrGrammarParser ( src/AttrGrammarParser.hs, dist/build/happy/happy-tmp/AttrGrammarParser.o )
[ 9 of 19] Compiling Grammar          ( src/Grammar.lhs, dist/build/happy/happy-tmp/Grammar.o )
[10 of 19] Compiling LALR             ( src/LALR.lhs, dist/build/happy/happy-tmp/LALR.o )
[11 of 19] Compiling First            ( src/First.lhs, dist/build/happy/happy-tmp/First.o )
[12 of 19] Compiling Parser           ( src/Parser.hs, dist/build/happy/happy-tmp/Parser.o )
[13 of 19] Compiling Paths_happy      ( dist/build/happy/autogen/Paths_happy.hs, dist/build/happy/happy-tmp/Paths_happy.o )
[14 of 19] Compiling Info             ( src/Info.lhs, dist/build/happy/happy-tmp/Info.o )
[15 of 19] Compiling PrettyGrammar    ( src/PrettyGrammar.hs, dist/build/happy/happy-tmp/PrettyGrammar.o )
[16 of 19] Compiling ProduceGLRCode   ( src/ProduceGLRCode.lhs, dist/build/happy/happy-tmp/ProduceGLRCode.o )
[17 of 19] Compiling Target           ( src/Target.lhs, dist/build/happy/happy-tmp/Target.o )
[18 of 19] Compiling ProduceCode      ( src/ProduceCode.lhs, dist/build/happy/happy-tmp/ProduceCode.o )
[19 of 19] Compiling Main             ( src/Main.lhs, dist/build/happy/happy-tmp/Main.o )
Linking dist/build/happy/happy ...
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build hashable-1.3.0.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/hashable-1.3.0.0-1d29906a4606d3a23276cb314b8acbcba8260622fecd453b8e4410ebd6dfc52e.log
):
Configuring library for hashable-1.3.0.0..
Preprocessing library for hashable-1.3.0.0..
Building library for hashable-1.3.0.0..
[1 of 5] Compiling Data.Hashable.Class ( Data/Hashable/Class.hs, dist/build/Data/Hashable/Class.o )
[2 of 5] Compiling Data.Hashable.Generic.Instances ( Data/Hashable/Generic/Instances.hs, dist/build/Data/Hashable/Generic/Instances.o )
[3 of 5] Compiling Data.Hashable.Generic ( Data/Hashable/Generic.hs, dist/build/Data/Hashable/Generic.o )
[4 of 5] Compiling Data.Hashable    ( Data/Hashable.hs, dist/build/Data/Hashable.o )
[5 of 5] Compiling Data.Hashable.Lifted ( Data/Hashable/Lifted.hs, dist/build/Data/Hashable/Lifted.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build haskell-lexer-1.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/haskell-lexer-1.1-98cc80d0859cce9bb094210a94f15873e1d573a5b57192c7a438cb490101703c.log
):
Configuring haskell-lexer-1.1...
Preprocessing library for haskell-lexer-1.1..
Building library for haskell-lexer-1.1..
[1 of 6] Compiling Language.Haskell.Lexer.Position ( Language/Haskell/Lexer/Position.hs, dist/build/Language/Haskell/Lexer/Position.o )
[2 of 6] Compiling Language.Haskell.Lexer.Tokens ( Language/Haskell/Lexer/Tokens.hs, dist/build/Language/Haskell/Lexer/Tokens.o )
[3 of 6] Compiling Language.Haskell.Lexer.Layout ( Language/Haskell/Lexer/Layout.hs, dist/build/Language/Haskell/Lexer/Layout.o )
[4 of 6] Compiling Language.Haskell.Lexer.Utils ( Language/Haskell/Lexer/Utils.hs, dist/build/Language/Haskell/Lexer/Utils.o )
[5 of 6] Compiling Language.Haskell.Lexer.Lex ( Language/Haskell/Lexer/Lex.hs, dist/build/Language/Haskell/Lexer/Lex.o )

Language/Haskell/Lexer/Lex.hs:122:5: warning: [-Wname-shadowing]
    This binding for ‘c’ shadows the existing binding
      bound at Language/Haskell/Lexer/Lex.hs:19:8
    |
122 |     c | isAscii c -> 0
    |     ^

******************************************
removed some repeated logs here due to size
******************************************

Language/Haskell/Lexer/Lex.hs:7360:10: warning: [-Wunused-matches]
    Defined but not used: ‘err’
     |
7360 | state275 err as is = output NestedComment as (start1 is)
     |          ^^^
[6 of 6] Compiling Language.Haskell.Lexer ( Language/Haskell/Lexer.hs, dist/build/Language/Haskell/Lexer.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build hostname-1.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/hostname-1.0-362888aa3c739d57063982a10920cce224e70437d1e5f09bcd6ff9f593e969d8.log
):
Configuring hostname-1.0...
Preprocessing library for hostname-1.0..
Building library for hostname-1.0..
[1 of 1] Compiling Network.HostName ( Network/HostName.hs, dist/build/Network/HostName.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build hscolour-1.24.4.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/hscolour-1.24.4-044d147eb6421dc06dd3fd31e9b99a4a1523e65f863423d014573a955ea269d7.log
):
Configuring hscolour-1.24.4...
Preprocessing executable 'HsColour' for hscolour-1.24.4..
Building executable 'HsColour' for hscolour-1.24.4..

<no location info>: warning: [-Wmissing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules: 
        Language.Haskell.HsColour
        Language.Haskell.HsColour.ACSS
        Language.Haskell.HsColour.ANSI
        Language.Haskell.HsColour.Anchors
        Language.Haskell.HsColour.CSS
        Language.Haskell.HsColour.Classify
        Language.Haskell.HsColour.ColourHighlight
        Language.Haskell.HsColour.Colourise
        Language.Haskell.HsColour.General
        Language.Haskell.HsColour.HTML
        Language.Haskell.HsColour.InlineCSS
        Language.Haskell.HsColour.LaTeX
        Language.Haskell.HsColour.MIRC
        Language.Haskell.HsColour.Options
        Language.Haskell.HsColour.Output
        Language.Haskell.HsColour.TTY
[ 1 of 17] Compiling Language.Haskell.HsColour.Classify ( Language/Haskell/HsColour/Classify.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Classify.o )

Language/Haskell/HsColour/Classify.hs:50:39: warning: [-Wtabs]
    Tab character found here, and in 7 further locations.
    Please use spaces instead.
   |
50 | glue (q:".":n:rest) | isUpper (head q)  -- qualified names
   |                                       ^^
[ 2 of 17] Compiling Language.Haskell.HsColour.ColourHighlight ( Language/Haskell/HsColour/ColourHighlight.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ColourHighlight.o )
[ 3 of 17] Compiling Language.Haskell.HsColour.Colourise ( Language/Haskell/HsColour/Colourise.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Colourise.o )
[ 4 of 17] Compiling Language.Haskell.HsColour.General ( Language/Haskell/HsColour/General.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/General.o )
[ 5 of 17] Compiling Language.Haskell.HsColour.Anchors ( Language/Haskell/HsColour/Anchors.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Anchors.o )

Language/Haskell/HsColour/Anchors.hs:73:1: warning: [-Wtabs]
    Tab character found here, and in four further locations.
    Please use spaces instead.
   |
73 |                       | v `inST` st     -> Nothing
   | ^^^^^^^^
[ 6 of 17] Compiling Language.Haskell.HsColour.HTML ( Language/Haskell/HsColour/HTML.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/HTML.o )
[ 7 of 17] Compiling Language.Haskell.HsColour.CSS ( Language/Haskell/HsColour/CSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/CSS.o )
[ 8 of 17] Compiling Language.Haskell.HsColour.ACSS ( Language/Haskell/HsColour/ACSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ACSS.o )
[ 9 of 17] Compiling Language.Haskell.HsColour.InlineCSS ( Language/Haskell/HsColour/InlineCSS.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/InlineCSS.o )

Language/Haskell/HsColour/InlineCSS.hs:12:24: warning: [-Wtabs]
    Tab character found here.
    Please use spaces instead.
   |
12 | hscolour :: ColourPrefs -- ^ Preferences for styling.
   |                        ^
[10 of 17] Compiling Language.Haskell.HsColour.LaTeX ( Language/Haskell/HsColour/LaTeX.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/LaTeX.o )
[11 of 17] Compiling Language.Haskell.HsColour.MIRC ( Language/Haskell/HsColour/MIRC.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/MIRC.o )
[12 of 17] Compiling Language.Haskell.HsColour.Output ( Language/Haskell/HsColour/Output.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Output.o )
[13 of 17] Compiling Language.Haskell.HsColour.Options ( Language/Haskell/HsColour/Options.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/Options.o )

Language/Haskell/HsColour/Options.hs:11:9: warning: [-Wtabs]
    Tab character found here, and in 12 further locations.
    Please use spaces instead.
   |
11 |     Help                -- ^ print usage message
   |         ^^^^^^^^
[14 of 17] Compiling Language.Haskell.HsColour.ANSI ( Language/Haskell/HsColour/ANSI.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/ANSI.o )

Language/Haskell/HsColour/ANSI.hs:62:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        ‘toEnum’
    • In the instance declaration for ‘Enum Highlight’
   |
62 | instance Enum Highlight where
   |          ^^^^^^^^^^^^^^
[15 of 17] Compiling Language.Haskell.HsColour.TTY ( Language/Haskell/HsColour/TTY.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour/TTY.o )
[16 of 17] Compiling Language.Haskell.HsColour ( Language/Haskell/HsColour.hs, dist/build/HsColour/HsColour-tmp/Language/Haskell/HsColour.o )

Language/Haskell/HsColour.hs:37:19: warning: [-Wtabs]
    Tab character found here, and in two further locations.
    Please use spaces instead.
   |
37 |          -> String      -- ^ Title for output.
   |                   ^^^^^^
[17 of 17] Compiling Main             ( HsColour.hs, dist/build/HsColour/HsColour-tmp/Main.o )

HsColour.hs:72:1: warning: [-Wtabs]
    Tab character found here, and in two further locations.
    Please use spaces instead.
   |
72 |                               [(f, guessLiterate lhs f) | Input f <- good]
   | ^^^^^^^^

<no location info>: warning: [-Wmissing-home-modules]
    These modules are needed for compilation but not listed in your .cabal file's other-modules: 
        Language.Haskell.HsColour
        Language.Haskell.HsColour.ACSS
        Language.Haskell.HsColour.ANSI
        Language.Haskell.HsColour.Anchors
        Language.Haskell.HsColour.CSS
        Language.Haskell.HsColour.Classify
        Language.Haskell.HsColour.ColourHighlight
        Language.Haskell.HsColour.Colourise
        Language.Haskell.HsColour.General
        Language.Haskell.HsColour.HTML
        Language.Haskell.HsColour.InlineCSS
        Language.Haskell.HsColour.LaTeX
        Language.Haskell.HsColour.MIRC
        Language.Haskell.HsColour.Options
        Language.Haskell.HsColour.Output
        Language.Haskell.HsColour.TTY
Linking dist/build/HsColour/HsColour ...
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build indexed-profunctors-0.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/indexed-profunctors-0.1-952e6e8a5a23372b24023bbf412b090bb5e02fb50e1776f09ed2be5815f1a045.log
):
Configuring library for indexed-profunctors-0.1..
Preprocessing library for indexed-profunctors-0.1..
Building library for indexed-profunctors-0.1..
[1 of 1] Compiling Data.Profunctor.Indexed ( src/Data/Profunctor/Indexed.hs, dist/build/Data/Profunctor/Indexed.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build indexed-traversable-0.1.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/indexed-traversable-0.1.1-f1ff70a08aeed8d1b40d30e9791722fb5338dd336f2f2147b85316995593e9ae.log
):
Configuring library for indexed-traversable-0.1.1..
Preprocessing library for indexed-traversable-0.1.1..
Building library for indexed-traversable-0.1.1..
[1 of 5] Compiling GhcExts          ( src/GhcExts.hs, dist/build/GhcExts.o )
[2 of 5] Compiling WithIndex        ( src/WithIndex.hs, dist/build/WithIndex.o )
[3 of 5] Compiling Data.Traversable.WithIndex ( src/Data/Traversable/WithIndex.hs, dist/build/Data/Traversable/WithIndex.o )
[4 of 5] Compiling Data.Functor.WithIndex ( src/Data/Functor/WithIndex.hs, dist/build/Data/Functor/WithIndex.o )
[5 of 5] Compiling Data.Foldable.WithIndex ( src/Data/Foldable/WithIndex.hs, dist/build/Data/Foldable/WithIndex.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build integer-logarithms-1.0.3.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/integer-logarithms-1.0.3.1-c24eeee40c9398e5c4f6df7d63f5ccff15883bcdc9110d25577c38295e7e57d6.log
):
Configuring library for integer-logarithms-1.0.3.1..
Preprocessing library for integer-logarithms-1.0.3.1..
Building library for integer-logarithms-1.0.3.1..
[1 of 4] Compiling GHC.Integer.Logarithms.Compat ( src/GHC/Integer/Logarithms/Compat.hs, dist/build/GHC/Integer/Logarithms/Compat.o )
[2 of 4] Compiling Math.NumberTheory.Logarithms ( src/Math/NumberTheory/Logarithms.hs, dist/build/Math/NumberTheory/Logarithms.o )
[3 of 4] Compiling Math.NumberTheory.Powers.Integer ( src/Math/NumberTheory/Powers/Integer.hs, dist/build/Math/NumberTheory/Powers/Integer.o )
[4 of 4] Compiling Math.NumberTheory.Powers.Natural ( src/Math/NumberTheory/Powers/Natural.hs, dist/build/Math/NumberTheory/Powers/Natural.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build lens-family-core-2.0.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/lens-family-core-2.0.0-567c01bb6aaa241f0925827121eef1690daaea8ed561624c223cabaceb3d28d8.log
):
Configuring lens-family-core-2.0.0...
Preprocessing library for lens-family-core-2.0.0..
Building library for lens-family-core-2.0.0..
[ 1 of 10] Compiling Lens.Family.Identical ( src/Lens/Family/Identical.hs, dist/build/Lens/Family/Identical.o )
[ 2 of 10] Compiling Lens.Family.Phantom ( src/Lens/Family/Phantom.hs, dist/build/Lens/Family/Phantom.o )
[ 3 of 10] Compiling Lens.Family.State.Zoom ( src/Lens/Family/State/Zoom.hs, dist/build/Lens/Family/State/Zoom.o )
[ 4 of 10] Compiling Lens.Family.Unchecked ( src/Lens/Family/Unchecked.hs, dist/build/Lens/Family/Unchecked.o )
[ 5 of 10] Compiling Lens.Family      ( src/Lens/Family.hs, dist/build/Lens/Family.o )
[ 6 of 10] Compiling Lens.Family.Stock ( src/Lens/Family/Stock.hs, dist/build/Lens/Family/Stock.o )
[ 7 of 10] Compiling Lens.Family.State.Strict ( src/Lens/Family/State/Strict.hs, dist/build/Lens/Family/State/Strict.o )
[ 8 of 10] Compiling Lens.Family.State.Lazy ( src/Lens/Family/State/Lazy.hs, dist/build/Lens/Family/State/Lazy.o )
[ 9 of 10] Compiling Lens.Family.State ( src/Lens/Family/State.hs, dist/build/Lens/Family/State.o )
[10 of 10] Compiling Lens.Family.Clone ( src/Lens/Family/Clone.hs, dist/build/Lens/Family/Clone.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build network-2.8.0.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/network-2.8.0.1-4218a5d495183415f846c47d98a3ee883cb08ba68125851ed3e8ec6de8a225a6.log
):
Configuring network-2.8.0.1...
configure: WARNING: unrecognized options: --with-compiler
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking linux/can.h usability... yes
checking linux/can.h presence... yes
checking for linux/can.h... yes
checking linux/tcp.h usability... yes
checking linux/tcp.h presence... yes
checking for linux/tcp.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking for readlink... yes
checking for symlink... yes
checking for if_nametoindex... yes
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_accrights... no
checking for struct sockaddr.sa_len... no
checking for in_addr_t in netinet/in.h... yes
checking for SO_PEERCRED and struct ucred in sys/socket.h... yes
checking for getpeereid in unistd.h... checking for getpeereid... no
checking for _head_libws2_32_a in -lws2_32... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking whether AI_ADDRCONFIG is declared... yes
checking whether AI_ALL is declared... yes
checking whether AI_NUMERICSERV is declared... yes
checking whether AI_V4MAPPED is declared... yes
checking whether IPV6_V6ONLY is declared... yes
checking whether IPPROTO_IP is declared... yes
checking whether IPPROTO_TCP is declared... yes
checking whether IPPROTO_IPV6 is declared... yes
checking for sendfile in sys/sendfile.h... yes
checking for sendfile in sys/socket.h... no
checking for gethostent... yes
checking for accept4... yes
configure: creating ./config.status
config.status: creating network.buildinfo
config.status: creating include/HsNetworkConfig.h
configure: WARNING: unrecognized options: --with-compiler
Preprocessing library for network-2.8.0.1..
linking dist/build/Network/BSD_hsc_make.o failed (exit code 1)
rsp file was: "dist/build/Network/hsc2hscall5608-2.rsp"
command was: /usr/bin/gcc dist/build/Network/BSD_hsc_make.o dist/build/Network/BSD_hsc_utils.o -o dist/build/Network/BSD_hsc_make -fuse-ld=gold -fuse-ld=gold -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/unix-2.7.2.2 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/unix-2.7.2.2 -lrt -lutil -ldl -lpthread -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/time-1.9.3 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/time-1.9.3 -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/bytestring-0.10.10.1 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/bytestring-0.10.10.1 -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/deepseq-1.4.4.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/deepseq-1.4.4.0 -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/array-0.5.4.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/array-0.5.4.0 -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/base-4.13.0.0 -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/integer-gmp-1.0.2.0 -lgmp -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3 -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ghc-prim-0.5.3 -lc -lm -L/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts -Wl,-R,/home/rtorr/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/rts -lm -lrt -ldl -lpthread
error: /usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status

Failed to build network-uri-2.6.3.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/network-uri-2.6.3.0-e819bf8755c712c0f9048850a9a1913ab19d25051ddae86cb4c7322db31133a7.log
):
Configuring library for network-uri-2.6.3.0..
Preprocessing library for network-uri-2.6.3.0..
Building library for network-uri-2.6.3.0..
[1 of 3] Compiling Network.URI      ( Network/URI.hs, dist/build/Network/URI.o )

Network/URI.hs:10:14: warning: [-Wtrustworthy-safe]
    ‘Network.URI’ is marked as Trustworthy but has been inferred as safe!
   |
10 | {-# LANGUAGE Trustworthy #-}
   |              ^^^^^^^^^^^
[2 of 3] Compiling Network.URI.Lens ( Network/URI/Lens.hs, dist/build/Network/URI/Lens.o )

Network/URI/Lens.hs:20:1: warning: [-Wunused-imports]
    The import of ‘Control.Applicative’ is redundant
      except perhaps to import instances from ‘Control.Applicative’
    To import instances alone, use: import Control.Applicative()
   |
20 | import           Control.Applicative
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[3 of 3] Compiling Network.URI.Static ( Network/URI/Static.hs, dist/build/Network/URI/Static.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build parallel-3.2.2.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/parallel-3.2.2.0-cff3324e0096c6562bd3e9b61efdc7521176ff03c3356cbdac5014e9881072d6.log
):
Configuring library for parallel-3.2.2.0..
Preprocessing library for parallel-3.2.2.0..
Building library for parallel-3.2.2.0..
[1 of 3] Compiling Control.Parallel ( Control/Parallel.hs, dist/build/Control/Parallel.o )
[2 of 3] Compiling Control.Seq      ( Control/Seq.hs, dist/build/Control/Seq.o )
[3 of 3] Compiling Control.Parallel.Strategies ( Control/Parallel/Strategies.hs, dist/build/Control/Parallel/Strategies.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build prettyprinter-1.7.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/prettyprinter-1.7.0-ac2f011ebacd7c267d8572b0b0120b0746a565fb311ea4038ebb9370c196153d.log
):
Configuring library for prettyprinter-1.7.0..
Preprocessing library for prettyprinter-1.7.0..
Building library for prettyprinter-1.7.0..
[ 1 of 28] Compiling Prettyprinter.Render.Util.Panic ( src/Prettyprinter/Render/Util/Panic.hs, dist/build/Prettyprinter/Render/Util/Panic.o )
[ 2 of 28] Compiling Prettyprinter.Internal ( src/Prettyprinter/Internal.hs, dist/build/Prettyprinter/Internal.o )
[ 3 of 28] Compiling Prettyprinter.Render.String ( src/Prettyprinter/Render/String.hs, dist/build/Prettyprinter/Render/String.o )
[ 4 of 28] Compiling Data.Text.Prettyprint.Doc.Render.String ( src/Data/Text/Prettyprint/Doc/Render/String.hs, dist/build/Data/Text/Prettyprint/Doc/Render/String.o )
[ 5 of 28] Compiling Prettyprinter.Internal.Type ( src/Prettyprinter/Internal/Type.hs, dist/build/Prettyprinter/Internal/Type.o )
[ 6 of 28] Compiling Data.Text.Prettyprint.Doc.Internal.Type ( src/Data/Text/Prettyprint/Doc/Internal/Type.hs, dist/build/Data/Text/Prettyprint/Doc/Internal/Type.o )
[ 7 of 28] Compiling Prettyprinter.Internal.Debug ( src/Prettyprinter/Internal/Debug.hs, dist/build/Prettyprinter/Internal/Debug.o )
[ 8 of 28] Compiling Data.Text.Prettyprint.Doc.Internal.Debug ( src/Data/Text/Prettyprint/Doc/Internal/Debug.hs, dist/build/Data/Text/Prettyprint/Doc/Internal/Debug.o )
[ 9 of 28] Compiling Data.Text.Prettyprint.Doc.Internal ( src/Data/Text/Prettyprint/Doc/Internal.hs, dist/build/Data/Text/Prettyprint/Doc/Internal.o )
[10 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Util.Panic ( src/Data/Text/Prettyprint/Doc/Render/Util/Panic.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Util/Panic.o )
[11 of 28] Compiling Prettyprinter.Render.Util.StackMachine ( src/Prettyprinter/Render/Util/StackMachine.hs, dist/build/Prettyprinter/Render/Util/StackMachine.o )
[12 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Util.StackMachine ( src/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Util/StackMachine.o )
[13 of 28] Compiling Prettyprinter.Symbols.Ascii ( src/Prettyprinter/Symbols/Ascii.hs, dist/build/Prettyprinter/Symbols/Ascii.o )
[14 of 28] Compiling Prettyprinter    ( src/Prettyprinter.hs, dist/build/Prettyprinter.o )
[15 of 28] Compiling Prettyprinter.Render.Util.SimpleDocTree ( src/Prettyprinter/Render/Util/SimpleDocTree.hs, dist/build/Prettyprinter/Render/Util/SimpleDocTree.o )
[16 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Util.SimpleDocTree ( src/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Util/SimpleDocTree.o )
[17 of 28] Compiling Prettyprinter.Render.Tutorials.TreeRenderingTutorial ( src/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.hs, dist/build/Prettyprinter/Render/Tutorials/TreeRenderingTutorial.o )
[18 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Tutorials.TreeRenderingTutorial ( src/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Tutorials/TreeRenderingTutorial.o )
[19 of 28] Compiling Prettyprinter.Render.Tutorials.StackMachineTutorial ( src/Prettyprinter/Render/Tutorials/StackMachineTutorial.hs, dist/build/Prettyprinter/Render/Tutorials/StackMachineTutorial.o )
[20 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Tutorials.StackMachineTutorial ( src/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.o )

src/Data/Text/Prettyprint/Doc/Render/Tutorials/StackMachineTutorial.hs:14:1: warning: [-Wdeprecations]
    Module ‘Prettyprinter.Render.Tutorials.StackMachineTutorial’ is deprecated:
      Writing your own stack machine is probably more efficient and customizable; also consider using »renderSimplyDecorated(A)« instead
   |
14 | import Prettyprinter.Render.Tutorials.StackMachineTutorial
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[21 of 28] Compiling Prettyprinter.Render.Text ( src/Prettyprinter/Render/Text.hs, dist/build/Prettyprinter/Render/Text.o )
[22 of 28] Compiling Data.Text.Prettyprint.Doc.Render.Text ( src/Data/Text/Prettyprint/Doc/Render/Text.hs, dist/build/Data/Text/Prettyprint/Doc/Render/Text.o )
[23 of 28] Compiling Data.Text.Prettyprint.Doc ( src/Data/Text/Prettyprint/Doc.hs, dist/build/Data/Text/Prettyprint/Doc.o )
[24 of 28] Compiling Data.Text.Prettyprint.Doc.Symbols.Ascii ( src/Data/Text/Prettyprint/Doc/Symbols/Ascii.hs, dist/build/Data/Text/Prettyprint/Doc/Symbols/Ascii.o )
[25 of 28] Compiling Prettyprinter.Symbols.Unicode ( src/Prettyprinter/Symbols/Unicode.hs, dist/build/Prettyprinter/Symbols/Unicode.o )
[26 of 28] Compiling Data.Text.Prettyprint.Doc.Symbols.Unicode ( src/Data/Text/Prettyprint/Doc/Symbols/Unicode.hs, dist/build/Data/Text/Prettyprint/Doc/Symbols/Unicode.o )
[27 of 28] Compiling Prettyprinter.Util ( src/Prettyprinter/Util.hs, dist/build/Prettyprinter/Util.o )
[28 of 28] Compiling Data.Text.Prettyprint.Doc.Util ( src/Data/Text/Prettyprint/Doc/Util.hs, dist/build/Data/Text/Prettyprint/Doc/Util.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build primitive-0.7.1.0.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/primitive-0.7.1.0-6ec5b7e4ea022c51cc8aaa647737bee4a30326b12da77f7bd64fca1f31713b97.log
):
Configuring library for primitive-0.7.1.0..
Preprocessing library for primitive-0.7.1.0..
Building library for primitive-0.7.1.0..
[ 1 of 13] Compiling Control.Monad.Primitive ( Control/Monad/Primitive.hs, dist/build/Control/Monad/Primitive.o )
[ 2 of 13] Compiling Data.Primitive.Internal.Compat ( Data/Primitive/Internal/Compat.hs, dist/build/Data/Primitive/Internal/Compat.o )
[ 3 of 13] Compiling Data.Primitive.Array ( Data/Primitive/Array.hs, dist/build/Data/Primitive/Array.o )
[ 4 of 13] Compiling Data.Primitive.MVar ( Data/Primitive/MVar.hs, dist/build/Data/Primitive/MVar.o )
[ 5 of 13] Compiling Data.Primitive.MachDeps ( Data/Primitive/MachDeps.hs, dist/build/Data/Primitive/MachDeps.o )
[ 6 of 13] Compiling Data.Primitive.Internal.Operations ( Data/Primitive/Internal/Operations.hs, dist/build/Data/Primitive/Internal/Operations.o )
[ 7 of 13] Compiling Data.Primitive.MutVar ( Data/Primitive/MutVar.hs, dist/build/Data/Primitive/MutVar.o )
[ 8 of 13] Compiling Data.Primitive.SmallArray ( Data/Primitive/SmallArray.hs, dist/build/Data/Primitive/SmallArray.o )
[ 9 of 13] Compiling Data.Primitive.Types ( Data/Primitive/Types.hs, dist/build/Data/Primitive/Types.o )
[10 of 13] Compiling Data.Primitive.ByteArray ( Data/Primitive/ByteArray.hs, dist/build/Data/Primitive/ByteArray.o )
[11 of 13] Compiling Data.Primitive.PrimArray ( Data/Primitive/PrimArray.hs, dist/build/Data/Primitive/PrimArray.o )
[12 of 13] Compiling Data.Primitive.Ptr ( Data/Primitive/Ptr.hs, dist/build/Data/Primitive/Ptr.o )
[13 of 13] Compiling Data.Primitive   ( Data/Primitive.hs, dist/build/Data/Primitive.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build raw-strings-qq-1.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/raw-strings-qq-1.1-6179c5406af76c6c6583cce5145962d6367c64364d2bfc22046720f50d3e4999.log
):
Configuring library for raw-strings-qq-1.1..
Preprocessing library for raw-strings-qq-1.1..
Building library for raw-strings-qq-1.1..
[1 of 1] Compiling Text.RawString.QQ ( Text/RawString/QQ.hs, dist/build/Text/RawString/QQ.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build reflection-2.1.6.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/reflection-2.1.6-f28ec3b3cf7017504c67191abbeec049d5b24e4c7b9ced6e2ddb982de116d9b3.log
):
Configuring library for reflection-2.1.6..
Preprocessing library for reflection-2.1.6..
Building library for reflection-2.1.6..
[1 of 1] Compiling Data.Reflection  ( fast/Data/Reflection.hs, dist/build/Data/Reflection.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

Failed to build semigroups-0.19.1.
Build log (
/home/rtorr/.cabal/logs/ghc-8.8.4/semigroups-0.19.1-60f03c05ec68d08ff0a202c8ed62caf6fb721a4ba2033cab02e69a6f7aaa88e6.log
):
Configuring library for semigroups-0.19.1..
Preprocessing library for semigroups-0.19.1..
Building library for semigroups-0.19.1..
[1 of 1] Compiling Data.Semigroup.Generic ( src/Data/Semigroup/Generic.hs, dist/build/Data/Semigroup/Generic.o )
/usr/bin/ld.gold: error: cannot find -lgmp
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
rtorr@DESKTOP-URU9RD9:~/github/semantic$ ghcup list
[ Warn  ] New GHC version available: 8.10.3. To upgrade, run 'ghcup install ghc 8.10.3'
   Tool  Version        Tags                      Notes
✔✔ ghc   8.8.4          recommended,base-4.13.0.0 hls-powered
✔✔ cabal 3.2.0.0        latest,recommended
✔✔ hls   0.7.1          latest,recommended
✔✔ ghcup 0.1.12         latest,recommended

Been a while since I used haskell tools, and im a bit lost on what might be broken here.

patrickt commented 3 years ago

The fact that -lgmp is missing seems to indicate that the GMP bignum library is missing, or not being linked in, on WSL. Can you try installing that globally, and/or trying it with 8.10? I also remember that the upcoming GHC 9 release makes it easier to use a bignum library that isn’t GMP; I plan to do some research into it when I have some free cycles.

rtorr commented 3 years ago

Right on, I will try that!

patrickt commented 2 years ago

I think this is a WSL issue, so I’m going to close this for now. Feel free to reopen if it persists with a GMP bignum install. You will also definitely need 8.10.