-
Notifications
You must be signed in to change notification settings - Fork 804
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
Disables fast-digits due to unsupported Cabal features #6167
Comments
@jkachmar sorry, I'm AFK. Would it be alright if I get back to you next week? I must have been daydreaming, but somehow I was absolutely confident that Stack can handle this feature. Sorry for this. (It is not Cabal 3 btw, it's available since Cabal 2) |
Ah, my mistake; I must have been confusing that with the multiple public libraries feature 😅. I've temporarily disabled the package so this isn't blocking anything; we can just re-enable it whenever you get a chance to make the change. If you're not opposed to it, I could try making a PR reverting |
Could we not revert to the older version of fast-digits in the meantime in Nightly? |
@jkachmar I'm confused; are you sure that multiple internal libraries are unsupported? I've just checked and it seems that Stack handles them just fine:
This succeeds with
|
After reading through commercialhaskell/stack#4564, it appears that As much as I'd like to be tool-agnostic, I'm reluctant to make an additional release just to work around a bug in a build tool. I'm happy to review this, if in future Stack team takes a stance that internal libraries won't be supported and adds a specific error message. I'm not sure why the issue with |
@jkachmar do you remember what the build log said? |
Fortunately Jens dropped the output in Slack. build log
I suppose this is just a curator issue then, not a general |
Looks like I was wrong here, however that doesn't help me understand how to resolve this any better. I restricted the LTS 18.6 build to I'm at a bit of a loss in terms of understanding how this worked before but seems to be failing now; I'll forward this along to some of the other curators and hopefully someone will have an idea about how to proceed. |
Right, |
Okay I've done a bit more digging and it looks like this error comes from the following block of code in ...and the issue we're seeing is one that's happened before as well: commercialhaskell/stack#5264. Unfortunately I'm not aware of a path forward besides disabling cc @snoyberg on this because you're the only person I can think of who might have the context around how to resolve this sort of issue. |
For the record, this is my personal preference. I was opposed to these new features in Cabal from the start and had all objections overridden. It's difficult playing with the Cabal treadmill when features are flung downstream. So yes, my personal preference would be removing usage of these features. That said, others did implement the support for these internal libraries. It's been a constant source of bugs. I don't think I'll be implementing my own bug fixes here, since this isn't a feature I want to waste more time on. For workarounds: typically in this situation my workaround is to manually unregister things from the GHC package database. I'm not sure if you've tried that already @jkachmar. I can hop onto the build server and try to resuscitate this if you'd like. |
This needs features in stack, and is tracked by commercialhaskell/stack#5318 |
fast-digits-0.3.1.0
was released recently, and it leverages the multiple internal libraries feature that was introduced in Cabal 3.Unfortunately
stack
(and by extension Stackage) don't seem to support this feature at the moment, so this breaks the Stackage Nightly build.cc @Bodigrim to let you know; I'm not sure what the resolution on our side is for this, but it does seem unfortunate that this is unsupported at the moment.
The text was updated successfully, but these errors were encountered: