-
Notifications
You must be signed in to change notification settings - Fork 9
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
gl and cabal new-build
don't mix
#17
Comments
That
|
This sounds a lot like a symptom/manifestation of haskell/cabal#4293 |
The first issue, it turns out, isn't unique to |
If we smash all the separate modules used by the setup into Setup.hs destroying any attempt at code organization does this issue go away? |
Just to make sure we're on the same page: the trouble as I see it, is that we don't have |
Blech. |
Ah, now I understand why @hvr, is there a |
Never mind, I answered my own question: haskell/cabal#4293 is also apparently the Alas, there's really nothing more we can do on |
In order to make this work, we'll likely need to monkey around a bit with
|
@typedrat, you claimed that you managed to "fix" |
Just the trivial autogen-modules was enough to get it to sdist correctly, but a new way to trigger the code gen will be needed. |
Right. I suppose I'm wondering what the best hook to use in lieu of |
I’m at a show tonight, but I’ll try and get you a good answer soon.
Alexis Williams
Sent from Polymail ( https://polymail.io/?utm_source=polymail&utm_medium=referral&utm_campaign=signature )
…On Mon, Oct 08, 2018 at 6:08 PM Ryan Scott < Ryan Scott ( Ryan Scott ***@***.***> ) > wrote:
Right. I suppose I'm wondering what the best hook to use in lieu of sDistHook
is. We'd likely want something that can automatically populate the list of
autogen-modules (since the idea of doing that by hand makes me shudder),
although I'm not sure which hook would be best suited for that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
#17 (comment) ) , or mute
the thread (
https://github.com/notifications/unsubscribe-auth/ABAj_TNk-TIUbk5rWUpz3F3Fmpzw3YGpks5ui_b3gaJpZM4Re0gQ
).
|
Maybe it is time to bite the bullet and make the build a preprocess that
generates the thing we upload rather than a custom Setup. This would reduce
the install footprint for users quite a bit (as they wouldn't need hxt,
etc.) at the cost of introducing an extra step in the distribution process.
On Mon, Oct 8, 2018 at 9:11 PM Alexis Williams <notifications@github.com>
wrote:
… I’m at a show tonight, but I’ll try and get you a good answer soon.
Alexis Williams
Sent from Polymail (
https://polymail.io/?utm_source=polymail&utm_medium=referral&utm_campaign=signature
)
On Mon, Oct 08, 2018 at 6:08 PM Ryan Scott < Ryan Scott ( Ryan Scott <
***@***.***> ) > wrote:
>
>
>
> Right. I suppose I'm wondering what the best hook to use in lieu of
sDistHook
> is. We'd likely want something that can automatically populate the list
of
> autogen-modules (since the idea of doing that by hand makes me shudder),
> although I'm not sure which hook would be best suited for that.
>
>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub (
> #17 (comment) ) , or
mute
> the thread (
>
https://github.com/notifications/unsubscribe-auth/ABAj_TNk-TIUbk5rWUpz3F3Fmpzw3YGpks5ui_b3gaJpZM4Re0gQ
> ).
>
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASmEVDZH9Se6AEl-xvYC9fQnOMK_kgmks5ui_ezgaJpZM4Re0gQ>
.
|
Ping @typedrat. It seems that |
While it would be good to know the answer to #17 (comment), it is worth noting that |
At this point, the only thing preventing |
haskell-CI/haskell-ci#283 has been fixed. I've submitted #20, which should finally bring |
I recently attempted to switch the Travis infrastructure in this repo to use
cabal new-build
, which caused everything to break in unique and mysterious ways.On GHC 7.8 and 7.10, running
cabal sdist
simply fails with:I haven't the foggiest idea where that
>=1.12.0
constraint is coming from, asgl.cabal
requires>=1.24
.On GHC 8.0 and later, the build fails at the custom setup:
This is despite the fact that
custom-setup
does, in fact, depend onhxt
, which exports this module.I'm way out of my element in debugging this... @hvr, any thoughts?
The text was updated successfully, but these errors were encountered: