This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Doesn't build anymore: internal error in InstallPlan.completed #1580
Open
Description
Don't know why, maybe a cabal store issue, but leaving here for reference.
Commit f4600b7
$ cabal v2-run ./install.hs --project-file install/shake.project hie-8.6.5
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
- hie-install-0.8.0.0 (lib) (configuration changed)
- fake-package-0 (exe:script) (configuration changed)
Configuring library for hie-install-0.8.0.0..
Preprocessing library for hie-install-0.8.0.0..
Building library for hie-install-0.8.0.0..
[1 of 8] Compiling BuildSystem ( src/BuildSystem.hs, /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/hie-install-0.8.0.0/build/BuildSystem.o ) [/home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/hie-install-0.8.0.0/build/autogen/cabal_macros.h changed]
[4 of 8] Compiling Env ( src/Env.hs, /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/hie-install-0.8.0.0/build/Env.o )
[5 of 8] Compiling Stack ( src/Stack.hs, /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/hie-install-0.8.0.0/build/Stack.o )
[6 of 8] Compiling Cabal ( src/Cabal.hs, /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/hie-install-0.8.0.0/build/Cabal.o )
[7 of 8] Compiling Help ( src/Help.hs, /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/hie-install-0.8.0.0/build/Help.o )
[8 of 8] Compiling HieInstall ( src/HieInstall.hs, /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/hie-install-0.8.0.0/build/HieInstall.o )
Configuring executable 'script' for fake-package-0..
Preprocessing executable 'script' for fake-package-0..
Building executable 'script' for fake-package-0..
[1 of 1] Compiling Main ( Main.hs, /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/fake-package-0/x/script/build/script/script-tmp/Main.o )
Linking /home/jule/git/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.5/fake-package-0/x/script/build/script/script ...
# git (for submodules)
# git (for submodules)
# cabal (for check)
# cabal (for hie-8.6.5)
# cabal (for hie-8.6.5)
Wrote tarball sdist to
/home/jule/git/haskell-ide-engine/dist-newstyle/sdist/haskell-ide-engine-1.0.0.0.tar.gz
Wrote tarball sdist to
/home/jule/git/haskell-ide-engine/dist-newstyle/sdist/hie-plugin-api-1.0.0.0.tar.gz
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
- cabal-doctest-1.0.8 (lib) (requires build)
- cabal-plan-0.6.2.0 (lib) (requires build)
- ghc-lib-parser-8.8.1 (lib) (requires download & build)
- optparse-applicative-0.14.3.0 (lib) (requires download & build)
internal error in InstallPlan.completed
CallStack (from HasCallStack):
error, called at ./Distribution/Client/InstallPlan.hs:262:25 in main:Distribution.Client.InstallPlan
Error when running Shake build system:
at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shake-0.18.4-0402ec806be7121617d2cc33ed2aa9f37bfa96a41220f814ded3fcacab3c1e62:Development.Shake.Internal.Args
* Depends on: hie-8.6.5
at command, called at src/Cabal.hs:39:14 in hie-install-0.8.0.0-inplace:Cabal
* Raised the exception:
Development.Shake.command, system command failed
Command line: cabal v2-install -w /home/jule/.ghcup/bin/ghc-8.6.5 --write-ghc-environment-files=never --installdir /home/jule/.cabal/bin --max-backjumps=5000 exe:hie --overwrite-policy=always
Exit code: 1
Stderr:
internal error in InstallPlan.completed
CallStack (from HasCallStack):
error, called at ./Distribution/Client/InstallPlan.hs:262:25 in main:Distribution.Client.InstallPlan