-
Notifications
You must be signed in to change notification settings - Fork 84
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 build
does not work, despite having happy-1.20
in PATH
#262
Comments
|
I can't reproduce this locally. The build succeeds for me. Are you sure it's a fresh clone of the repo? |
Actually, it sounds like your |
How strange. It works if I start a clean build in a |
Actually I must take that back. Perhaps I didn't read it right back in Feb or perhaps I tried it on another machine. This is on Ubuntu 22.04: $ nix-shell --pure -p ghc cabal-install happy
...
$ cabal build
...
[5 of 5] Compiling Happy.Tabular ( src/Happy/Tabular.lhs, /evo/code/hs/happy/dist-newstyle/build/x86_64-linux/ghc-9.4.8/happy-tabular-2.0/build/Happy/Tabular.o, /evo/code/hs/happy/dist-newstyle/build/x86_64-linux/ghc-9.4.8/happy-tabular-2.0/build/Happy/Tabular.dyn_o )
Error: cabal: Failed to build happy-frontend-2.0 (which is required by
exe:happy from happy-2.0). same error as in #274. |
I will close this issue again in favor of #274, where Vlad already started to diagnose the error. |
Here's a log of my attempt to build happy on abcd8c0:
According to https://haskell-happy.readthedocs.io/en/latest/contributing.html#build-instructions, this should just work.
Apparently the build has trouble finding a generated file,
/evo/code/hs/happy/././HappyTemplate-arrays-coerce
. Perhaps it is looking in the wrong path, butfd -uup
doesn't turn it up either.The text was updated successfully, but these errors were encountered: