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
Installation fails on macOS when built against mysql-connector-c #65
Comments
It installs beautifully on Travis, though: https://travis-ci.org/rstats-db/RMariaDB/jobs/283414936 Can you please share the output of |
|
@jeroen: Does this ring a bell? The |
Looks like a bug in |
Here is the upstream bug report. I recommend building against |
Unfortunately, mariadb-connector-c had a severe bug that made RMariaDB almost unusable, blobs and strings didn't work with the prepared statement protocol. For some reason I've seen it only on Fedora and OS X, not on Ubuntu or Windows. Maybe compiler settings/differences? I'll switch orders in the |
We are building the CRAN binaries against the homebrew version of |
Something weird is going on, I agree. If the DBItest passes, everything is OK, but they aren't currently checked with |
Xenial/Debian/Federa won't backport 2.3.4 into their released versions. You'll have to work with what is in there now, or wait for the next release of those distributions... |
That would be a reason to bundle the lib, no? |
Bundling would be really painful, because mariadb-client needs to properly be configured against the systems ssl, iconv, etc. Moreover you will need to fix all compiler warnings in the mariadb source code to please CRAN. I wouldn't go there. The best strategy in the long run is to work with what is in the distros, and recommend people to upgrade if possible. The only versions we can control is what ships with the binary packages for windows and osx. According to CRAN checks, things are working now on OSX (mariadb-connector-c 2.2.2) and Windows (mariadb-connector-c 2.3.2), no? |
Then we'll need to nudge the distros to backport the relevant patch, because I can't seem to work around the problem and still use the prepared statement protocol (53e571d). |
@renkun-ken: For now, I'd be happy to review a PR that works around this in the |
Stale, please open a new issue if problems persist. |
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
I tried installing both CRAN and latest dev version with
mysql-connector-c (mysql-connector-c-6.1.11.high_sierra)
but both failed with the following messages:My session info
I tried building against
mariadb-connector-c
and everything looks fine.The text was updated successfully, but these errors were encountered: