
#13675: Binary.get(TyClDecl): ForeignType -------------------------------------+------------------------------------- Reporter: Neidon | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash or panic | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Neidon):
Have you been able to reproduce this after wiping your .stack directory?
No. I did `rm -rf ~/.stack`, then rebuilt the whole project from scratch `stack build --install-ghc` and the problem was gone. I've tried this just now on the same machine and I'm also getting missed interface files, albeit for a different package. {{{ /tmp/stack13960/cpphs-1.20.4/Language/Preprocessor/Cpphs/ReadFirst.hs:21:1: error: Failed to load interface for ‘System.Directory’ There are files missing in the ‘directory-1.3.1.0’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. }}} So I don't know how to reproduce this anymore. For future reference, it would be nice to know what I should include in the dumps of the computer's state aside from `~/.stack` and the project directory, but for now this bug should probably be closed and reopened only if someone else encounters it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13675#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler