-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[2.2.0 regression] mysqlclient-sys does not provide bundled bindings for libmysqlclient 21. Consider using the buildtime_bindgen
feature or contribute bindings to the crate
#4056
Comments
Thanks for reporting. This is currently somewhat expected behaviour. The provided bindings only cover systems we can actively test on. As neither any contributor nor GitHub actions provide an easy way to test on NetBsd we unfortunately cannot provide official support for this platform. That means we cannot guarantee that anything works there or continues to work. We accept contributions that fixes problems for these platforms as long as that does not affect supported platforms. Otherwise we cannot really work on solutions for such problems due to missing access to such systems. That all written: The error message con certainly be better an should point out that the target is the problem, not the version. That's the reason why I keep this issue open for now. You can likely workaround that problem by enabling the |
seeing the same with homebrew, not sure if we can just add a macos/brew build for regression testing? also I tried this patch, it does not work for me
|
@chenrui333 We already have several CI setups running testing the macOS with homebrew setup here and also for mysqlclient-sys itself. It works for these runners. (This includes the buildtime_bindings feature) I personally do not have access to macOS so I cannot provide further debugging. I fear as currently written you report is unfortunately unactionable for anyone as it is missing a lot of relevant information such as:
|
@chenrui333 I assume you reported this due to Homebrew/homebrew-core#173312?
(So to summarize that: I'm not sure if I agree with your classification as "upstream bug" as that's more a mismatch between what you implicitly expected us to provide and between what we expected you to provide) see here for jobs that passed recently. That all written: As you build a system package I think you should prefer to use the I just locally tested the following install command: |
yeah, that is the PR I am working on
Cool, I can give this command a shot, thanks! |
it works for me, just pushed a change, thanks! |
while it works for macos CI jobs, but it does not work linux CI, any idea?
linux ci run log, https://github.com/Homebrew/homebrew-core/actions/runs/9339158533/job/25703533805?pr=173312 |
Sounds need to somehow provide the mentioned header for bindgen to work. I'm not sure if it's installed while your job runs? If it's installed the relevant path is likely not in the default include path. In this case you can use the |
I will try that. |
I can reproduce it with:
It fails with :
|
@altmannmarcelo That's expected as |
Thanks for this, I was able to get it going on my M1 Mac with:
|
Quick fix for anyone wants to get things compiled asap: diesel = { version = "=2.1.6" } tho not ideal, this solved my breakage |
Setup
Regular build.
Versions
Problem Description
What are you trying to accomplish?
What is the expected output?
What is the actual output?
Are you seeing any additional errors?
Steps to reproduce
The text was updated successfully, but these errors were encountered: