-
Notifications
You must be signed in to change notification settings - Fork 34
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
Problems building on rust:1-alpine3.21 #69
Comments
Thanks for reporting. That either seems to be a problem with alpine itself (as the signature of that function changed) or a problem with the bundled source code from postgresql. Consider reporting it in these two locations. That written: We generally only consider the targets tested in our CI setup as completely supported. Everything else (including musl) might work or not. We happily accept PR's to fix it, but we won't test or otherwise notice/fix such issues on our own. |
Thanks for your response. I did some more digging, and realized that the main difference between those alpine versions is the libpq and libpq-dev version: 3.20 uses 16.6-rc0 and 3.21 uses 17.2-rc0. So I'd assume it's an upstream issue. |
The changes in the package libpq and libpq-dev shouldn't be related to this as the bundled flag will use it's own bundled (== included in the crates.io package) version of the libpq source code. The error in your initial post indicates that this bundled libpq version (should be upstream 17.0 at the time of writing) does not compile anymore on the new alpine version. That might be due to changes on their side, compile updates on their side (possibly an previous warning now turned into an error?) or due to incompatibilities in that libpq version with alpine itself. |
Hey,
I've got some issues trying to compile (project uses the
rust:1-alpine3.21
docker image):Output:
Cargo.toml:
Building the project with rust:1-alpine3.20 works fine.
The text was updated successfully, but these errors were encountered: