-
Notifications
You must be signed in to change notification settings - Fork 79
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 appears to fail with glibc 2.38 #95
Comments
@mvdan Thanks for the report, tracking this in the core library as pganalyze/libpg_query#202 |
This should be patched now in #96. Released as tag |
oschwald
added a commit
to oschwald/sqlvet
that referenced
this issue
May 30, 2024
4.2.0 does not work with newer glibc versions, including the version in Ubuntu 24.04. The problem was fixed in pganalyze/pg_query_go#95. Rather than just upgrading to 4.2.3, I thought it would make sense to switch to v5 for Postgres 16 support.
houqp
pushed a commit
to houqp/sqlvet
that referenced
this issue
Jun 3, 2024
* Upgrade to pg_query_go v5 4.2.0 does not work with newer glibc versions, including the version in Ubuntu 24.04. The problem was fixed in pganalyze/pg_query_go#95. Rather than just upgrading to 4.2.3, I thought it would make sense to switch to v5 for Postgres 16 support. * Update other dependencies * Compare error strings instead of the full error The parsing errors have significantly more state now and comparing the whole error is fragile.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I build this library via https://github.com/sqlc-dev/sqlc, and recently it's started failing the C build:
I think the cause here is that Arch Linux recently updated from glibc 2.37 to 2.38, so the header at /usr/include/string.h likely changed considerably.
The text was updated successfully, but these errors were encountered: