knupfer / haskell-emacs

Write Emacs extensions in Haskell
376 stars 22 forks source link

haskell-emacs-init failed : No uhc found #68

Open PlumpMath opened 4 years ago

PlumpMath commented 4 years ago

Compiling ... helm-M-x-execute-command: these derivations will be built: /nix/store/vnp6zfzpj1khcwldjyr6yzddvkrxx5fx-HaskellEmacs-0.0.0.drv building ’/nix/store/vnp6zfzpj1khcwldjyr6yzddvkrxx5fx-HaskellEmacs-0.0.0.drv’... setupCompilerEnvironmentPhase Build with /nix/store/nzzhz5cgs5cj77lrbkb1i7pgq14kvkv0-ghc-8.6.5. unpacking sources unpacking source archive /nix/store/m917dmid0y13k4ap40wwvycj6imiz0y9-haskell-fun source root is haskell-fun patching sources compileBuildDriverPhase setupCompileFlags: -package-db=/build/setup-package.conf.d -j4 -threaded [1 of 1] Compiling Main ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /build/Main.o ) Linking Setup ... configuring configureFlags: --verbose --prefix=/nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0 --libdir=$prefix/lib/$compiler --libsubdir=$abi/$libname --docdir=/nix/store/d8d3vss54ys05j8bxb4vi170ny2mih6f-HaskellEmacs-0.0.0-doc/share/doc/HaskellEmacs-0.0.0 --with-gcc=gcc --package-db=/build/package.conf.d --ghc-option=-j4 --disable-split-objs --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --ghc-option=-split-sections --extra-lib-dirs=/nix/store/3cz3xgnghkpy41ab9hcj7011sqbrpg4n-ncurses-6.1-20190112/lib --extra-lib-dirs=/nix/store/zdl0hjgkyiclzzgdi0q4z2zm78zdvnif-libffi-3.3/lib --extra-lib-dirs=/nix/store/vs2f5x2r7h2gdz2qps1ylvnbvcapzrq8-gmp-6.1.2/lib Using Parsec parser Configuring HaskellEmacs-0.0.0... Dependency atto-lisp -any: using atto-lisp-0.2.2.3 Dependency attoparsec -any: using attoparsec-0.13.2.3 Dependency base -any: using base-4.12.0.0 Dependency bytestring -any: using bytestring-0.10.8.2 Dependency containers -any: using containers-0.6.0.1 Dependency deepseq -any: using deepseq-1.4.4.0 Dependency haskell-src-exts -any: using haskell-src-exts-1.21.1 Dependency mtl -any: using mtl-2.2.2 Dependency parallel -any: using parallel-3.2.2.0 Dependency text -any: using text-1.2.3.1 Dependency transformers -any: using transformers-0.5.6.2 Dependency utf8-string -any: using utf8-string-1.0.1.1 Source component graph: component exe:HaskellEmacs Configured component graph: component HaskellEmacs-0.0.0-APCGwYuKJks4evciQJmie4-HaskellEmacs include atto-lisp-0.2.2.3-8CUhbUfo0oG5kSaP5tfyOK include attoparsec-0.13.2.3-9hM2L0XTCo9CEJoPtzKCFR include base-4.12.0.0 include bytestring-0.10.8.2 include containers-0.6.0.1 include deepseq-1.4.4.0 include haskell-src-exts-1.21.1-9jRJjiNfrEsGAa1mAVgSEM include mtl-2.2.2 include parallel-3.2.2.0-EGl5SOk48TWHAD161C93aQ include text-1.2.3.1 include transformers-0.5.6.2 include utf8-string-1.0.1.1-Geq8jdOv4Q3LkcQoEOWDVv Linked component graph: unit HaskellEmacs-0.0.0-APCGwYuKJks4evciQJmie4-HaskellEmacs include atto-lisp-0.2.2.3-8CUhbUfo0oG5kSaP5tfyOK include attoparsec-0.13.2.3-9hM2L0XTCo9CEJoPtzKCFR include base-4.12.0.0 include bytestring-0.10.8.2 include containers-0.6.0.1 include deepseq-1.4.4.0 include haskell-src-exts-1.21.1-9jRJjiNfrEsGAa1mAVgSEM include mtl-2.2.2 include parallel-3.2.2.0-EGl5SOk48TWHAD161C93aQ include text-1.2.3.1 include transformers-0.5.6.2 include utf8-string-1.0.1.1-Geq8jdOv4Q3LkcQoEOWDVv Ready component graph: definite HaskellEmacs-0.0.0-APCGwYuKJks4evciQJmie4-HaskellEmacs depends atto-lisp-0.2.2.3-8CUhbUfo0oG5kSaP5tfyOK depends attoparsec-0.13.2.3-9hM2L0XTCo9CEJoPtzKCFR depends base-4.12.0.0 depends bytestring-0.10.8.2 depends containers-0.6.0.1 depends deepseq-1.4.4.0 depends haskell-src-exts-1.21.1-9jRJjiNfrEsGAa1mAVgSEM depends mtl-2.2.2 depends parallel-3.2.2.0-EGl5SOk48TWHAD161C93aQ depends text-1.2.3.1 depends transformers-0.5.6.2 depends utf8-string-1.0.1.1-Geq8jdOv4Q3LkcQoEOWDVv Using Cabal-2.4.0.1 compiled by ghc-8.6 Using compiler: ghc-8.6.5 Using install prefix: /nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0 Executables installed in: /nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0/bin Libraries installed in: /nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0/lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5/HaskellEmacs-0.0.0 Dynamic Libraries installed in: /nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0/lib/ghc-8.6.5/x86_64-linux-ghc-8.6.5 Private executables installed in: /nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0/libexec/x86_64-linux-ghc-8.6.5/HaskellEmacs-0.0.0 Data files installed in: /nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0/share/x86_64-linux-ghc-8.6.5/HaskellEmacs-0.0.0 Documentation installed in: /nix/store/d8d3vss54ys05j8bxb4vi170ny2mih6f-HaskellEmacs-0.0.0-doc/share/doc/HaskellEmacs-0.0.0 Configuration files installed in:alex /nix/store/q2p55xkwfkp1yg26kd8n95w41jbajazj-HaskellEmacs-0.0.0/etc No alex found Using ar found on system at: /nix/store/m8ih8gw7qnd2c7p0qgv3cn4b6abkbanb-binutils-2.31.1/bin/ar No c2hs found No cpphs found No doctest found Using gcc version 8.3.0 given by user at: /nix/store/47hi526v96skkwgdj7d9c31ccd1xivrx-gcc-wrapper-8.3.0/bin/gcc Using ghc version 8.6.5 found on system at: /nix/store/nzzhz5cgs5cj77lrbkb1i7pgq14kvkv0-ghc-8.6.5/bin/ghc Using ghc-pkg version 8.6.5 found on system at: /nix/store/nzzhz5cgs5cj77lrbkb1i7pgq14kvkv0-ghc-8.6.5/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.22.0 found on system at: /nix/store/nzzhz5cgs5cj77lrbkb1i7pgq14kvkv0-ghc-8.6.5/bin/haddock No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.67 found on system at: /nix/store/nzzhz5cgs5cj77lrbkb1i7pgq14kvkv0-ghc-8.6.5/bin/hpc Using hsc2hs version 0.68.5 found on system at: /nix/store/nzzhz5cgs5cj77lrbkb1i7pgq14kvkv0-ghc-8.6.5/bin/hsc2hs No hscolour found No jhc found Using ld found on system at: /nix/store/b31bs3028964clajg0aalqdyh3im00fd-binutils-wrapper-2.31.1/bin/ld.gold No pkg-config found Using runghc version 8.6.5 found on system at: /nix/store/nzzhz5cgs5cj77lrbkb1i7pgq14kvkv0-ghc-8.6.5/bin/runghc Using strip version 2.31 found on system at: /nix/store/m8ih8gw7qnd2c7p0qgv3cn4b6abkbanb-binutils-2.31.1/bin/strip Using tar found on system at: /nix/store/gvmn6xqpghbza0v8szhs22pg7qacn4l9-gnutar-1.32/bin/tar No uhc found building Preprocessing executable ’HaskellEmacs’ for HaskellEmacs-0.0.0.. Building executable ’HaskellEmacs’ for HaskellEmacs-0.0.0..

: warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file’s other-modules: Foreign.Emacs.Internal [1 of 2] Compiling Foreign.Emacs.Internal ( Foreign/Emacs/Internal.hs, dist/build/HaskellEmacs/HaskellEmacs-tmp/Foreign/Emacs/Internal.o ) [2 of 2] Compiling Main ( HaskellEmacs.hs, dist/build/HaskellEmacs/HaskellEmacs-tmp/Main.o ) HaskellEmacs.hs:193:40: error: • Expecting one more argument to ‘ModuleName’ Expected a type, but ‘ModuleName’ has kind ‘* -> *’ • In the second argument of ‘Either’, namely ‘(ModuleName, [Name])’ In the type signature: exportsGet :: String -> Either String (ModuleName, [Name]) | 193 | exportsGet :: String -> Either String (ModuleName, [Name]) | ^^^^^^^^^^ HaskellEmacs.hs:193:53: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the second argument of ‘Either’, namely ‘(ModuleName, [Name])’ In the type signature: exportsGet :: String -> Either String (ModuleName, [Name]) | 193 | exportsGet :: String -> Either String (ModuleName, [Name]) | ^^^^ HaskellEmacs.hs:203:22: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: exportsFromDecls :: [Decl] -> [Name] | 203 | exportsFromDecls :: [Decl] -> [Name] | ^^^^ HaskellEmacs.hs:203:32: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the type signature: exportsFromDecls :: [Decl] -> [Name] | 203 | exportsFromDecls :: [Decl] -> [Name] | ^^^^ HaskellEmacs.hs:206:21: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: declarationNames :: Decl -> Maybe Name | 206 | declarationNames :: Decl -> Maybe Name | ^^^^ HaskellEmacs.hs:206:35: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Name’ In the type signature: declarationNames :: Decl -> Maybe Name | 206 | declarationNames :: Decl -> Maybe Name | ^^^^ HaskellEmacs.hs:212:23: error: • Expecting one more argument to ‘ExportSpec’ Expected a type, but ‘ExportSpec’ has kind ‘* -> *’ • In the type signature: exportsFromHeader :: [ExportSpec] -> [Name] | 212 | exportsFromHeader :: [ExportSpec] -> [Name] | ^^^^^^^^^^ HaskellEmacs.hs:212:39: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the type signature: exportsFromHeader :: [ExportSpec] -> [Name] | 212 | exportsFromHeader :: [ExportSpec] -> [Name] | ^^^^ HaskellEmacs.hs:215:13: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the type signature: fromName :: Name -> String | 215 | fromName :: Name -> String | ^^^^ HaskellEmacs.hs:219:19: error: • Expecting one more argument to ‘ExportSpec’ Expected a type, but ‘ExportSpec’ has kind ‘* -> *’ • In the type signature: exportFunction :: ExportSpec -> Maybe Name | 219 | exportFunction :: ExportSpec -> Maybe Name | ^^^^^^^^^^ HaskellEmacs.hs:219:39: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Name’ In the type signature: exportFunction :: ExportSpec -> Maybe Name | 219 | exportFunction :: ExportSpec -> Maybe Name | ^^^^ HaskellEmacs.hs:224:20: error: • Expecting one more argument to ‘QName’ Expected a type, but ‘QName’ has kind ‘* -> *’ • In the type signature: unQualifiedName :: QName -> Maybe Name | 224 | unQualifiedName :: QName -> Maybe Name | ^^^^^ HaskellEmacs.hs:224:35: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Name’ In the type signature: unQualifiedName :: QName -> Maybe Name | 224 | unQualifiedName :: QName -> Maybe Name | ^^^^ builder for ’/nix/store/vnp6zfzpj1khcwldjyr6yzddvkrxx5fx-HaskellEmacs-0.0.0.drv’ failed with exit code 1 error: build of ’/nix/store/vnp6zfzpj1khcwldjyr6yzddvkrxx5fx-HaskellEmacs-0.0.0.drv’ failed user-error: Minibuffer window is not active --------------------------------------------------------------