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

Implement gRPC interface. #1

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Implement gRPC interface. #1

wants to merge 7 commits into from

Conversation

YoEight
Copy link
Member

@YoEight YoEight commented Jan 13, 2021

No description provided.

@YoEight
Copy link
Member Author

YoEight commented Jan 13, 2021

Error I got with https://github.com/awakesecurity/gRPC-haskell

yoeight@rannoch:~/code/EventStoreDB-Client-Haskell$ stack build --fast
grpc-haskell-core> configure
grpc-haskell-core> Configuring grpc-haskell-core-0.0.0.0...
grpc-haskell-core> build
grpc-haskell-core> Preprocessing library for grpc-haskell-core-0.0.0.0..
grpc-haskell-core> c2hs: Errors during expansion of binding hooks:
grpc-haskell-core> 
grpc-haskell-core> src/Network/GRPC/Unsafe.chs:145: (column 7) [ERROR]  >>> Unknown identifier!
grpc-haskell-core>   Cannot find a definition for `grpc_shutdown_blocking' in the header file.
grpc-haskell-core> 
Progress 1/3

--  While building package grpc-haskell-core-0.0.0.0 (scroll up to its section to see the error) using:
      /home/yoeight/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0 build --ghc-options " -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1

@YoEight
Copy link
Member Author

YoEight commented Jan 13, 2021

The error is probably due to debian buster having 1.16. Current Haskell gRPC library requires 1.2 but isn't tested with newer version

https://packages.debian.org/source/buster/grpc

@YoEight
Copy link
Member Author

YoEight commented Jan 17, 2021

Switched to https://github.com/haskell-grpc-native/http2-grpc-haskell for internal gRPC library. 100% Haskell, no C weirdness.

@YoEight
Copy link
Member Author

YoEight commented Jan 28, 2021

Got a cross dependencies issue with both proto-lens 0.6 and 0.7

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

Successfully merging this pull request may close these issues.

1 participant