-
Notifications
You must be signed in to change notification settings - Fork 701
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
Custom setup breaks GHCJS version detection #4630
Comments
/cc @luite |
Is it possible to strace -e process and post the trace? I'm curious what the actual invocation is. Also, if you can figure out what version of Cabal library the setup script is being linked against, that would also be helpful. (I don't have a ghcjs install handy so it is difficult for me to try repro'ing) |
Here’s an strace of running the setup https://gist.githubusercontent.com/cocreature/0576db3ab4cf3c4e6bfdc7a693d890b1/raw/cfcea7fb6041602fd2bac1bb29a87df914400367/gistfile1.txt Sadly I’m unable to spot anything useful. It looks like it’s never even calling something like
|
Closing since it looks like this probably related to using the wrong version of node ghcjs/ghcjs#470 |
I also observe this problem: #4742 |
When building a package which uses a custom setup (e.g. http-api-data) the build fails after trying to run the custom setup due to
It seems like it’s looking at the wrong output of
ghcjs
,ghcjs --numeric-ghcjs-version
outputs0.2.1
as expected. Afaict (usingghcjs-pkg
andcabal-plan
) the custom setup is built againstCabal-1.24.0.0
. I installedghcjs
from theghc-8.0
branch.This issue is reproducible with new-build and sandboxes on both
cabal-install-1.24
andcabal-install-HEAD
.The text was updated successfully, but these errors were encountered: