We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Might be due to Cabal, or more likely GHC --make.
I start building stack, and interrupt:
[ 45 of 126] Compiling Stack.Types.Compiler ( src/Stack/Types/Compiler.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/Compiler.o ) [ 46 of 126] Compiling Stack.Config.Nix ( src/Stack/Config/Nix.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Config/Nix.o ) [ 47 of 126] Compiling Stack.Types.BuildPlan ( src/Stack/Types/BuildPlan.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/BuildPlan.o ) ^Cuser interrupt $
After a few actions, including a git reset --hard (and maybe partial builds?), I go on and start getting the following errors. Cleaning fixes them.
git reset --hard
$ stack build stack-1.4.1: configure (lib + exe) Configuring stack-1.4.1... stack-1.4.1: build (lib + exe) Preprocessing library stack-1.4.1... [ 50 of 126] Compiling Stack.Types.Resolver[boot] ( src/Stack/Types/Resolver.hs-boot, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/Resolver.o-boot ) [ 51 of 126] Compiling Stack.Types.Config[boot] ( src/Stack/Types/Config.hs-boot, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/Config.o-boot ) [ 52 of 126] Compiling Stack.Types.Resolver ( src/Stack/Types/Resolver.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/Resolver.o ) [ 53 of 126] Compiling Stack.Options.ResolverParser ( src/Stack/Options/ResolverParser.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Options/ResolverParser.o ) [ 57 of 126] Compiling Stack.Types.PackageIndex ( src/Stack/Types/PackageIndex.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/PackageIndex.o ) [ 58 of 126] Compiling Stack.Types.Config ( src/Stack/Types/Config.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/Config.o ) [ 59 of 126] Compiling Stack.Config.Build ( src/Stack/Config/Build.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Config/Build.o ) [ 60 of 126] Compiling Stack.Config.Docker ( src/Stack/Config/Docker.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Config/Docker.o ) [ 61 of 126] Compiling Stack.Constants ( src/Stack/Constants.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Constants.o ) [ 62 of 126] Compiling Data.Attoparsec.Interpreter ( src/Data/Attoparsec/Interpreter.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Data/Attoparsec/Interpreter.o ) [ 63 of 126] Compiling Stack.Docker.GlobalDB ( src/Stack/Docker/GlobalDB.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Docker/GlobalDB.o ) [ 64 of 126] Compiling Stack.Exec ( src/Stack/Exec.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Exec.o ) [ 65 of 126] Compiling Stack.Options.BenchParser ( src/Stack/Options/BenchParser.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Options/BenchParser.o ) [ 66 of 126] Compiling Stack.Options.GhcVariantParser ( src/Stack/Options/GhcVariantParser.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Options/GhcVariantParser.o ) [ 67 of 126] Compiling Stack.Options.HaddockParser ( src/Stack/Options/HaddockParser.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Options/HaddockParser.o ) [ 68 of 126] Compiling Stack.Options.TestParser ( src/Stack/Options/TestParser.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Options/TestParser.o ) [ 69 of 126] Compiling Stack.Types.Internal ( src/Stack/Types/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/Internal.o ) [ 70 of 126] Compiling Stack.Types.StackT ( src/Stack/Types/StackT.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/StackT.o ) [ 71 of 126] Compiling Stack.New ( src/Stack/New.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/New.o ) [ 72 of 126] Compiling Stack.PackageIndex ( src/Stack/PackageIndex.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/PackageIndex.o ) <no location info>: error: ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-apple-darwin): Loading temp shared object failed: dlopen(/var/folders/_7/hlxv4yv95x95vgnn416b4q4m0000gp/T/ghc42275_0/libghc_122.dylib, 5): Symbol not found: _stackzm1zi4zi1zm462qvxPX9OKHnV4PeX8OJ5_StackziTypesziBuildPlan_MiniBuildPlan_con_info Referenced from: /var/folders/_7/hlxv4yv95x95vgnn416b4q4m0000gp/T/ghc42275_0/libghc_122.dylib [ 74 of 126] Compiling Stack.Setup.Installed ( src/Stack/Setup/Installed.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Setup/Installed.o ) Expected in: flat namespace [ 75 of 126] Compiling Stack.Types.Package ( src/Stack/Types/Package.hs, .stack-work/dist/x86_64-osx/Cabal-1.24.2.0/build/Stack/Types/Package.o ) in /var/folders/_7/hlxv4yv95x95vgnn416b4q4m0000gp/T/ghc42275_0/libghc_122.dylib Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
The text was updated successfully, but these errors were encountered:
Feel free to close all these bugs by having one or more FAQs.
Sorry, something went wrong.
Might be good to file a ghc bug, ideally it wouldn't leave things in a bad state when interrupted. Adding an FAQ seems reasonable.
Closing in favor of #4559
No branches or pull requests
Might be due to Cabal, or more likely GHC --make.
I start building stack, and interrupt:
After a few actions, including a
git reset --hard
(and maybe partial builds?), I go on and start getting the following errors. Cleaning fixes them.The text was updated successfully, but these errors were encountered: