-
Notifications
You must be signed in to change notification settings - Fork 803
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
bustle and hPDB-examples failing to build #746
Comments
I'm not at all surprised that hPDB-examples is failing, see https://ghc.haskell.org/trac/ghc/ticket/10565. I'm quite surprised that it's succeeding though... In fact, it probably isn't succeeding, and the previous build success is simply being retained. We should probably delete the entire nightly cache directory each time we bump GHC versions at all. I wouldn't be surprised if we see the same build failure with bustle once we do that too. I'll kick that off now. |
Ah right, indeed Then my suggestion would be to drop them for lts-3 for now anyway - they must both be leaf packages anyway. Edit: I was also kind of surprised to see some warnings about 7.10.1 .hi or haddock files while building Nightly with ghc-7.10.2 the first times - I guess that was the same phenomon. |
Just to be on the safe side, I'm wiping everything out and then doing clean builds from scratch for both nightly and LTS. I've already dropped hPDB-examples, and I'm trying to build bustle locally to see if there's an obvious 7.10.2 bug. |
And for the record, the common denominator between these two packages is that they're both executable-only packages (no library), which is why stackage-curator didn't notice that it needed to rebuild them. |
Ah right I see. |
bustle seems still failing as above: cc @wjt |
I'll take a look, but I don't have time for the next few days I'm afraid. I did see a failure like this before, on Travis – it seemed possibly related to installing hgettext (which depends on Cabal-the-library) and also upgrading Cabal-the-library, maybe there is some order-of-installation problem… |
That makes a lot of sense. Unfortunately, with the current way of using the cabal executable, I can't think of a good way to solve this kind of a problem. The issue is that there are potentially three different Cabal library versions available (in the global DB, in the user DB, and what cabal-install is compiled against), and we'll run into different problems depending on which of these are out of sync with each other. |
The path of least resistance might be to just reimplement the very minimal Cabal hooks provided by hgettext and then not use it at all in |
If you could make that change, it would be great for us, thanks! |
Okay, give Bustle 0.5.2 a spin? I've inlined the Cabal hooks from hgettext. It builds fine locally and on Travis with two different versions of GHC and Cabal, but I never did reproduce this failure locally and couldn't remember the conditions which triggered it on Travis so there could still be some lurking problem in Stackage's build environment. (I haven't had time to set that up locally to test, sorry.) |
I've added bustle back, thanks for making the change. I'll let you know if there are any issues after the next nightly builds (kicks off in 12 hours). I'm going to close this issue, thanks! |
bustle and hPDB-examples build okay for Stackage Nightly but for some reason they are failing to build for the LTS 3 (bootstrap).
Here are the respective errors:
I have seen these failures several times now so it is quite reproducible in the original lts-3 build environment.
Sorry maybe I should have split into 2 reports - since may well be unrelated.
Dunno if @snoyberg is working on recreating the LTS environment.
The text was updated successfully, but these errors were encountered: