-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 of graphql-engine binary is failing on ubuntu24.04 on x86_64 #10689
Comments
Thanks for the detailed repro, @abhijeetdandekaribm 🙏 Someone will be in touch shortly. |
Hello! Which GHC version did
|
Whatever you do, you'll need to keep the existing freeze file intact. If just trying to build a production binary then |
Yes, apt-get was installing ghc-9.4.7. So, I installed ghc-9.10.1 using ghcup tool and |
COPY commands used in this graphql-engine Dockerfile are copying the generated graphql-binary that was created using |
Version Information
v2.45.1
Environment
OSS
What is the current behaviour?
We are trying to build graphql-binary by cloning graphql-engine repo on ubuntu:24.04 and while running cabal new-build exe:graphql-engine command inside server folder we are facing below errors.
What is the expected behaviour?
The graphql-engine binary which is used in this graphql-engine Dockerfile should get generated after running cabal new-build exe:graphql-engine command.
How to reproduce the issue?
ln -s cabal/dev.project cabal.project.local
cabal update
cabal freeze
cabal new-build exe:graphql-engine
Screenshots or Screencast
Please provide any traces or logs that could help here.
Any possible solutions/workarounds you're aware of?
Update below files with import Data.List (foldl')
graphql-engine/server/lib/ekg-prometheus/System/Metrics/Prometheus/Internal/Map2.hs
graphql-engine/server/lib/ekg-prometheus/System/Metrics/Prometheus/Internal/Sample.hs
The text was updated successfully, but these errors were encountered: