-
Notifications
You must be signed in to change notification settings - Fork 841
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 gives "cannot satisfy" errors after a while #1498
Comments
Hmm, this seems serious indeed. By chance, are you using docker while building? It definitely isn't e1000b9, as that only affects GHCi. My best guess is that it's something squirrely related to #1166 . Are you also using |
We are not using docker. All these machines are running OS X. We occasionally use stack test, would it help if I avoided that to see if the error still occurs? And in general, any debugging tips? |
I've had this without ever running stack with |
i switched back to 0.1.10 and ran a stack clean. After that I made sure to never call After I switched branches it caused ~30 local packages to be queued for rebuild and the same style satisfy errors occurred. A few at a time for pretty much every package. In the end it didn't get stuck and everything is now built ok... |
I've got a reproducible case, so I'll start bisecting in the background now. |
OK, bisect is done and says that 7cd87cb is the culprit. It's not clear to me what that commit does and how it could break this. Does this help you? Anything more I can do? |
I've got some more info that might be useful: it seems to be picking the wrong package hash when it fails. If you rerun the command, it picks a different hash for the same package (without rebuilding it) and it works. Some relevant output lines:
I've put the full log in this gist. This starts after a |
Cool, i'll use that^ commit for now. |
@hesselink Awesome, thanks for investigating so thoroughly. The purpose of the commit was to avoid unnecessary reconfigures when the configure options don't change. Either these reconfigures are necessary, or we need to I've reverted that commit, since it's just an optimization, and one that appears to cause problems... Can y'all please see if this issue is fixed on master? |
sure! |
I just tested with the latest master, and the issue is fixed there, it seems. Thanks! |
Great! |
I'm sorry if this report is very vague, but I figured I'd report it anyway: when using stack 0.1.10 (but not 0.1.8), after a while we get "cannot satisfy" errors like this:
This doesn't happen on the first build, but it does happen eventually. It has happened on multiple machines here, so I don't think it's tied to one specific setup being broken.
I haven't tried hard to come up with a reproducible case; if you have any ideas what direction I should try, that would help a lot.
The text was updated successfully, but these errors were encountered: