-
Notifications
You must be signed in to change notification settings - Fork 697
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
cabal install
: fails remotely, succeeds locally (with build-tools: alex
)
#7808
Comments
IMHO,
And declare this issue as wontfix, as it's unclear what I have no idea why EDIT: I remember that |
@phadej wrote:
Well, this
Same here. The cabal file just declares
So In the nature of things (meaning, hackage), cabal will have to handle the products of its former selves. |
Yes, But before working around previous mistakes, we have to put fences so we don't repeat them. Otherwise people will rely on them and complexity only grows with time. Then the problematic cases can be dealt one-by-one.
Is it? At least it's not added by You can also upload And in BNFC-2.9.3 there is |
Previous discussion about such a warning here and in later comments: #7251 (comment) |
And #7258 seems relevant. Even reported by @andreasabel, I still wonder why Andreas is polluting his source tree by running |
@phadej wrote:
Indeed. My apologies. It seems now that in some cases Only that I have, ironically, become a victim of my own precautions.
Excellent suggestion!
Ok, this would prevent boot-strapping tricks like used by In my case,
To be able to load my code into |
TL;DR It seems that
cabal install BNFC-2.8.3
does not runalex
, butcabal get BNFC-2.8.3 && cd BNFC-2.8.3 && cabal install
does so. Consequently GHC-9.2.1-build fails in the former case but succeeds in the latter case.What is then the truth value of BNFC-2.8.3 builds with GHC-9.2.1 ?
This question came up in the wild, when I was investigating whether
BNFC-2.8.3
builds with GHC 9.2.1.1. Fails when directly installing from hackage
2. Succeeds when first downloading
WAT?
Installation succeeds when
LexBNF.x
is processed byalex-3.2.6
, which is my installed version:The plan for the local install indeed contains
alex-3.2.6
:These are the versions of
LexBNF.hs
in the directory structure:The third has been created during build by
alex-3.2.6
.Further analysis of remote install
Note that constraining
alex == 3.2.6
does not help with the remote install:It is noteworthy that the package contains both:
LexBNF.x
LexBNF.hs
created with somealex < 3.2.6
More precisely, the tarball has:
Some excerpts from
-v3
:Here, we break to remember that the Grinch stole the vowels from
alex
, just leaving uslx
(#7209).We break to wonder why no constraint on
alex
made it into the final description.I did not see an invocation of
alex
in-v3
. It seems thatLexBNF
is taken from the shippeddist/build/bnfc/bnfc-tmp/
.The text was updated successfully, but these errors were encountered: