Skip to content
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 failure with newest process #170

Open
snoyberg opened this issue Jul 31, 2017 · 7 comments
Open

Build failure with newest process #170

snoyberg opened this issue Jul 31, 2017 · 7 comments

Comments

@snoyberg
Copy link
Owner

[ 3 of 18] Compiling Data.Conduit.Process.Unix ( Data/Conduit/Process/Unix.hs, dist/build/Data/Conduit/Process/Unix.o )

Data/Conduit/Process/Unix.hs:65:20: error:
    • The constructor ‘ProcessHandle’ should have 3 arguments, but has been given 2
    • In the pattern: ProcessHandle m _
      In an equation for ‘processHandleMVar’:
          processHandleMVar (ProcessHandle m _) = m
   |
65 | processHandleMVar (ProcessHandle m _) = m
   |                    ^^^^^^^^^^^^^^^^^
snoyberg added a commit to commercialhaskell/stackage that referenced this issue Jul 31, 2017
@SolviQorda
Copy link

I'm currently experiencing this error too. Is there a known workaround for this at all?

@bhyland
Copy link

bhyland commented Dec 27, 2018

I had the same problem trying to build the release version through stack. However, cloning the latest git version and building it with stack worked fine:

git clone https://github.com/snoyberg/keter.git
cd keter
stack build

@gleachkr
Copy link

gleachkr commented Jan 5, 2019

Careful building with the git version. It's on LTS 7.19, which uses an older version of warp still suffering from some HTTP2 bugs. I've found that, using keter with this old warp version, on some versions of chrome, what I tenatively believe is yesodweb/wai#639 causes constant unwanted GOAWAYS when redirecting to a page behind https. The issue is definitely keter - updating keter's warp fixes it, and the error message in chrome's net-logs is from the old warp.

A possible fix is adding

extra-deps: [warp-3.2.25, bsb-http-chunked-0.0.0.4]

to stack.yaml, and updating keter.cabal to put a lower version bound on warp.

@tolysz
Copy link
Contributor

tolysz commented Feb 19, 2019

Process + HTTP2 are fixed in
#195

@idcm
Copy link

idcm commented Mar 2, 2019

I'm currently experiencing this error too. Is there a known workaround for this at all?

I'm also experiencing this error. Don't know how to fix it.

@tolysz
Copy link
Contributor

tolysz commented Mar 2, 2019

@idcm build from https://github.com/tolysz/keter/tree/modernize
or wait for #195 to be reviewed and merged

@benjamingoldstein
Copy link
Contributor

I just tried to run stack install keter and I also get this same issue. I'm going to give up and use nginx without keter somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants