-
Notifications
You must be signed in to change notification settings - Fork 91
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
Build error with wasm32-wasi: system `wasi' not recognized #271
Comments
Does the CI configuration we use shed any light? Can you run it in your environment? unix/.github/workflows/ci-wasm32-wasi.yml Lines 12 to 29 in 98adc73
CC @TerrorJack |
I saw that, but I don't think it does. Because I'm on I get the error whether or not I source I didn't do these steps though: unix/.github/workflows/ci-wasm32-wasi.yml Lines 24 to 25 in 98adc73
I'm not sure how I would do it manually, since I'm not configuring unix myself; Cabal should be doing that |
Could you try and build Another question is why your build is reinstalling |
I tried, but I was also curious about that. Maybe I need to point to some package db? Let me investigate more when I'm back at my computer |
Try |
I am nearly certain that this is an
My guess is that one of these two steps will fix your issue. @TerrorJack, I'm a bit unclear on why these manual steps are necessary; can't we simply update to |
Note that there were several issues with autoconf 2.70 in the network package. Although they seem to be mostly windows related, I'd be careful with bumping either way: haskell/network#508 |
I think I got it working with both |
I do believe we need to bump the |
@brandonchinn178, my understanding is that the solver should use the pre-existing package by default if the plan's constraints will allow it. I would try looking at |
Ok got it working with
Firstly, Secondly, we need to explicitly constraint Lastly, But it also sounds like there's an issue with the autoconf script in this repo, so I'll leave this issue open. Feel free to close when appropriate |
I'm trying to build
unix
withwasm32-wasi-cabal
using my newghc-wasm-backend
Docker image, and I'm getting this error:Any idea what's wrong?
Repro:
docker pull brandonchinn178/ghc-wasm-backend:2b62739d7e6cc65f444029f252578f2dddb95ce3
docker run --rm -it --entrypoint bash brandonchinn178/ghc-wasm-backend:2b62739d7e6cc65f444029f252578f2dddb95ce3
wasm32-wasi-cabal update
wasm32-wasi-cabal install ormolu --allow-newer='template-haskell' --allow-newer=base --allow-newer=ghc-prim --allow-newer=unix
(or install some other library depending on unix)The text was updated successfully, but these errors were encountered: