Skip to content
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

stack build (on the stack project itself) cache invalidated after a stack install #2353

Closed
chrisdone opened this issue Jul 8, 2016 · 1 comment

Comments

@chrisdone
Copy link
Member

Pinging @mgsloan. @snoyberg suspects this may be due to the store serialization we added recently. It seems like perhaps the git hash for the stack binary is causing such invalidation.

Steps to reproduce

bash-3.2$ stack build
bash-3.2$ stack install
Copying from /Users/chris/Work/stack/.stack-work/install/x86_64-osx/lts-6.0/7.10.3/bin/stack to /Users/chris/.local/bin/stack

Copied executables to /Users/chris/.local/bin:
- stack
bash-3.2$ stack build
Populated index cache.
Did not find .cabal file for kansas-comet-0.4 with Git SHA of be4690cfa4a780f71d05182fe5c69bb4ae635bf7
Did not find .cabal file for blank-canvas-0.6 with Git SHA of 1ab8537279ad2dd4cf25f76527633d47e5b16a94
stack-1.1.3: unregistering (missing dependencies: store)
store-0.1.0.1: unregistering (missing dependencies: th-lift-instances, th-orphans, th-utilities)
th-lift-instances-0.1.7: unregistering (old configure information not found)
th-orphans-0.13.1: unregistering (missing dependencies: th-lift-instances)
th-utilities-0.1.1.0: unregistering (missing dependencies: th-orphans)
th-lift-instances-0.1.7: configure
Progress: 0/5  c cuser interrupt
@chrisdone chrisdone changed the title stack build on the stack project itself cache invalidated after a stack install stack build (on the stack project itself) cache invalidated after a stack install Jul 8, 2016
@sjakobi
Copy link
Member

sjakobi commented Jul 8, 2016

Yes I hope this gets fixed soon.

Closing as a duplicate of #2296.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants