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
Unexpected re-builds with a dependency on GitHub's Win32 #2960
Comments
Thanks for the report, that indeed shouldn't happen. Perhaps a windows user would like to investigate and fix? |
The output from the second
I should've probably mentioned that some of my dependencies disallow the fixed |
This issue can be reproduced if you checkout commit |
Having the same trouble with git-annex, also due to overriding the win32 location. My stack builds are taking half an hour or more due to this problem, rather than a few seconds. I noticed that Cabal is amoung the packages stack rebuilds every time, because it depends on win32. Suspect that being a dep of Cabal might be what makes this special. |
And here's the resulting "incremental" build mess: stack build -j 1 --stack-yaml stack-windows.yaml --no-haddock --dependencies-only |
@joeyh Which version of stack is that with? Can you please try with the master version of stack If this is an issue for development, not CI, then it is often helpful to use |
This is stack 1.5.1 for Windows (32 bit), and the issue is exactly with CI builds. |
stack upgrade --git did fix this!
…--
see shy jo
|
@joeyh Woohoo! So I think this is likely solved, and 1.6 will be out soon. Anyone that runs into this with 1.6 should open a new issue about it. |
This issue is Windows-only. I'm also not sure if it's expected behaviour, so I apologize beforehand if I should've just RTFM.
I'm building a project (https://github.com/egor-tensin/windows-env) with a dependency on a specific package version from GitHub. This package (
Win32
) is also present on Stackage, but it is currently falling behind a bit, lacking a bugfix from the upstream, so I'm pulling the correct version from GitHub usingThis version is basically identical to Stackage's, except for the bugfix. A few of my package's dependencies also depend on
Win32
.Steps to reproduce
cabal build
.cabal build
.Expected
No re-building.
Actual
Many of package's dependencies are re-built.
Stack version
Method of installation
The text was updated successfully, but these errors were encountered: