Skip to content

Errors on first stack ghci startup

> stack ghci
Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-8.4.4.                                      
rts-1.0: Warning: .:466:1: The field "hugs-options" is deprecated. hugs isn't supported anymore
Installed GHC.    
Using main module: 1. Package `site' component site:exe:site with main-is file: /home/galaxybeing/Dropbox/org/stanford-lambda.gitlab.io/site.hs
ghc: panic! (the 'impossible' happened)
  (GHC version 8.4.4 for x86_64-unknown-linux):
	Prelude.chr: bad argument: 1577058307

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


Error: 
--  While building simple Setup.hs (scroll up to its section to see the error) using:
      /home/galaxybeing/.stack/programs/x86_64-linux/ghc-tinfo6-8.4.4/bin/ghc-8.4.4 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-2.2.0.1 /home/galaxybeing/.stack/setup-exe-src/setup-mPHDZzAJ.hs /home/galaxybeing/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /home/galaxybeing/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4
    Process exited with code: ExitFailure 1

Warning: Build failed, but trying to launch GHCi anyway
The following GHC options are incompatible with GHCi and have not been passed to it: -threaded
Configuring GHCi with the following packages: site

Warning: Didn't find expected autogen file: /home/galaxybeing/Dropbox/org/stanford-lambda.gitlab.io/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/build/site/autogen/cabal_macros.h
GHCi, version 8.4.4: http://www.haskell.org/ghc/  :? for help
<command line>: cannot satisfy -package hakyll-4.12.4.0
    (use -v for more information)
Edited by Lawrence Bottorff