-
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
nondeterministic build failure on OS X #5405
Comments
I have problem me too. |
Macだけキャッシュが失敗するので。 [nondeterministic build failure on OS X · Issue #5405 · commercialhaskell/stack](commercialhaskell/stack#5405) まあデプロイする時にキャッシュはさほど必要ではないか。
Macだけキャッシュが失敗するので。 [nondeterministic build failure on OS X · Issue #5405 · commercialhaskell/stack](commercialhaskell/stack#5405) まあデプロイする時にキャッシュはさほど必要ではないか。
@ncaq's suggestion seemed to help |
This does indeed seem to be a problem with the caching mechanism given that the error doesn't happen if the cache is disabled. Should we report this here or is this a bug with stack itself? |
Either way, it would be good if stack were a bit more resilient to this kind of cache corruption |
I am going to close this issue given the passage of time. If other users experience something similar with current versions of Stack, it can be reopened. |
General summary/comments (optional)
Sometimes building a local package on an OS X runner on GitHub actions with the error message
/path/to/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.4: cannot execute binary file
This isn't much to go on, so any advice on how to further debug this would be useful and I'd be happy to try and see.
An example log https://github.com/expipiplus1/vulkan/runs/1174300593?check_suite_focus=true reproduced here:
Steps to reproduce
It happens with this CI script in https://github.com/expipiplus1/vulkan https://github.com/expipiplus1/vulkan/blob/bd652725c75d16c979e73f9651a7096963579324/.github/workflows/ci.yml#L96-L171
I don't have an OS X machine with stack installed to check.
Stack version
2.3.1
Method of installation
Github action setup-haskell
The text was updated successfully, but these errors were encountered: