-
Notifications
You must be signed in to change notification settings - Fork 843
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
Failure to build filepath library #5025
Comments
@ndmitchell I think this problem could be related to GHC boot packages pruning added in #4547. Unfortunately I'm not sure if I will have time to have a close look into the details of it soon. |
I couldn't reproduce it using Linux unfortunately and that raises some doubts in my hypothesis above |
@ndmitchell could you run this with verbose logging? |
@qrilka - the output of |
Sorry for being late with a reply. It looks like the main problem here comes from a dependency cycle through the |
I am closing given the passage of time and because I can build the current version of snapshot: lts-22.13
extra-deps:
- directory-1.3.8.2
- process-1.6.18.0
- time-1.12.2
- Win32-2.14.0.0
flags:
Win32:
os-string: true
directory:
os-string: true |
Using stack-2.1.3 x86_64 on Windows.
Steps to reproduce
git clone https://github.com/haskell/filepath.git
stack init --resolver=nightly-2019-04-24 --ignore-subdirs --force
to create a simplestack.yaml
file.stack test
Expected
I expected it to run successfully, and indeed it did 4 months ago, using an older stack but the same resolver. See the trace at https://ci.appveyor.com/project/ndmitchell/filepath/builds/24067399.
Actual
Note that adding the time extra-deps does work, as does adding the
time
that is in the stackage snapshot. The problem only occurs whenfilepath
is the package name, so I guess that is messing with its dependencies some way?Stack version
Installed via
stack upgrade
.Tracked at haskell/filepath#72 as well.
The text was updated successfully, but these errors were encountered: