-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
Strange decode issue in flag cache and build cache with store branch of stack #25
Comments
kantp
pushed a commit
to kantp/stack
that referenced
this issue
May 23, 2016
There were two issues that caused the decoding of the caches to fail (see mgsloan/store#25): - taggedEncodeFile did not actually write the file. This prevented the caches from being populated, which in turn lead to PeekExceptions (because the caches still had contents serialised with cereal). - decodeFileMaybe tried to deserialize to a value of type a, while the files contained values of type Tagged a.
kantp
pushed a commit
to kantp/stack
that referenced
this issue
May 23, 2016
There was an issues that caused the decoding of the caches to fail (see mgsloan/store#25): decodeFileMaybe tried to deserialize to a value of type a, while the files contained values of type Tagged a.
This is not an error in |
mgsloan
pushed a commit
to commercialhaskell/stack
that referenced
this issue
May 24, 2016
There was an issues that caused the decoding of the caches to fail (see mgsloan/store#25): decodeFileMaybe tried to deserialize to a value of type a, while the files contained values of type Tagged a.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current blocker to releasing store publicly is that I ran into some funky behavior with stack ported to store. Not yet sure if it's a
store
issue.Repro:
Checkout https://github.com/commercialhaskell/stack/tree/wip-store next to your
store
dir. (so that../store/
exists from the stack dir)stack build --fast
within the stack directorystack exec bash
to enter into a shell with modified PATHRun
stack build -v
twice and for the 2nd run observe a log like. It needs to be run twice as decode failures are expected the first run. The caches should be populated after that, though.(Note the
PeekException
s)The text was updated successfully, but these errors were encountered: