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

postgresql-libpq-configure-0.11-... failed during the configure step #10

Closed
tomjaguarpaw opened this issue Oct 6, 2024 · 7 comments
Closed

Comments

@tomjaguarpaw
Copy link

Yesterday I uploaded opaleye-0.10.4.0. Two builds have been attempted, both failed, for example: https://hackage.haskell.org/package/opaleye-0.10.4.0/reports/1

The error is:

Error: cabal: Some packages failed to install:
opaleye-0.10.4.0-KQhmRh8kr3X1liiGgwrlzJ depends on opaleye-0.10.4.0 which
failed to install.
postgresql-libpq-0.11.0.0-GBaHc059NQJ9a4iGXqEfFK depends on
postgresql-libpq-0.11.0.0 which failed to install.
postgresql-libpq-configure-0.11-GQ0HQiY1Xe86n5ML0kWxUT failed during the
configure step. The exception was:
ExitFailure 1
@LaurentRDC
Copy link

Same problem with beam-postgres released yesterday

@tomjaguarpaw
Copy link
Author

A related discussion: haskellari/postgresql-libpq#66

@echatav
Copy link

echatav commented Jan 15, 2025

Same problem for Squeal. Is there a way to update libpq on the Hackage server?

@gbaz
Copy link
Contributor

gbaz commented Jan 15, 2025

we're still using debian bullseye for the docbuilder, and the latest libpq-dev in that is still 13 series. i don't think there's an easy way to update libpq without causing package chaos on the docbuilder. seems unfortunate that the postgres version required by the underlying dependencies is set to be higher than necessary, but i don't see a great workaround from our end until we do a full upgrade/transfer of the docbuilder box. until then, docs for such packages will need to be uploaded manually.

@phadej
Copy link
Member

phadej commented Jan 16, 2025

seems unfortunate that the postgres version required by the underlying dependencies is set to be higher than necessar

It's not. libpq >=14 is a hard requirement. There is functionality (pipelining) which requires libpq 14. I'm against having conditional APIs in libraries (as it makes building on top tricky).

Just keep doc builder up to date. Ubuntu 22.04 is 3 years old now (includes libpq-14). Debian stable has libpq-15. I think working with three years distro is fair ask. Asking for older is a stretch.

EDIT: for timeline

Bullseye is the development codename for Debian 11. It was superseded by Debian Bookworm on 2023-06-10.

And bulleye had been EOL'd last year (2024-08-14), https://www.debian.org/releases/

@tomjaguarpaw
Copy link
Author

Random idea, I don't know how feasible it is: run doc builds in a Docker image, so it can be more easily kept up to date.

@gbaz
Copy link
Contributor

gbaz commented Jan 16, 2025

bullseye is LTS until 2016. We'll eventually set up a new docbuilder sometime this year, and certainly consider a docker image or the like. until then, c'est la vie.

@gbaz gbaz closed this as completed Jan 16, 2025
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

5 participants