Can't build the website locally
gkaracha opened this issue · comments
I'm failing to build the website for local hacking on Ubuntu 20.04.4 LTS, due to the following error:
$ cd src
$ ./hack
+ echo 123
+ stack run -- clean
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.
ghc: panic! (the 'impossible' happened)
(GHC version 8.4.4 for x86_64-unknown-linux):
Prelude.chr: bad argument: 1526726659
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
-- While building simple Setup.hs (scroll up to its section to see the error) using:
/home/gkaracha/.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/gkaracha/.stack/setup-exe-src/setup-mPHDZzAJ.hs /home/gkaracha/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /home/gkaracha/.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
Might it be the case that we need to pin a different GHC version?
wow; this is unfortunate
i believe from monoidal i've learned that this means you need to delete your .stack folder; but this really shouldn't happen with stack :(
wow; this is unfortunate
i believe from monoidal i've learned that this means you need to delete your .stack folder; but this really shouldn't happen with stack :(
@silky indeed, purging .stack
worked! Pity that these things still happen, but I'll go ahead and close the issue anyway; not much we can do about it here.