Red Hat Bugzilla – Bug 914202
mysql-connector-odbc: FTBFS in rawhide
Last modified: 2013-03-04 06:23:51 EST
Your package mysql-connector-odbc failed to build from source in current rawhide.
NOTE: build logs are cleaned up after 1 week
For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Created attachment 701189 [details]
This patch illustrates what types has been changed
The problem is that "const" has been added to some char variables/function types in MariaDB header files. The patch attached illustrates the particular cases.
However, I don't think we should fix that in mysql-connector-odbc, but we should rather push mariadb to stay compatible with mysql in case of header files (reported as MariaDB upstream bug: https://mariadb.atlassian.net/browse/MDEV-4195).
Another thing is that there is already a new version of mysql-connector-odbc-5.2.4, so it would make sense to take a look at it if it suffers from this issue as well (but I haven't managed to build it check it yet).
(In reply to comment #1)
> However, I don't think we should fix that in mysql-connector-odbc, but we
> should rather push mariadb to stay compatible with mysql in case of header
> files (reported as MariaDB upstream bug:
Well, the situation is a bit different -- the symbols where "const" has been added are not a part of the exported API in Fedora. Instead, they're manually extracted from mysql/mariadb source and added to mysql-connector-odbc source in order to build it successfully. So I've only added the "const" for now, which should be enough for now: