Bug 1467652 - mariadb library upgrade to 10.2 causes ocaml-mysql FTBFS
Summary: mariadb library upgrade to 10.2 causes ocaml-mysql FTBFS
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-mysql
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1467297
TreeView+ depends on / blocked
 
Reported: 2017-07-04 12:55 UTC by Augusto Caringi
Modified: 2017-07-20 12:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-20 12:00:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/ygrek ocaml-mysql issues 11 0 None None None 2017-07-04 13:12:25 UTC

Description Augusto Caringi 2017-07-04 12:55:11 UTC
Trying to build ocaml-mysql with the new version of MariaDB 10.2 causes an error in the configure script:

checking for mysql_real_connect in -lmysqlclient... mysql_config: unrecognized option '--variable=pkglibdir'
no
configure: error: MySQL client library not found

There is a discrepancy between mysql_config and mariadb_config, more information here:

https://jira.mariadb.org/browse/MDEV-12938

We are tracking all the possible problems regarding this MariaDB upgrade in the bug 1467297.

Copr build: https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/package/ocaml-mysql/

Comment 1 Richard W.M. Jones 2017-07-04 13:12:25 UTC
Thanks, I have opened an upstream bug:
https://github.com/ygrek/ocaml-mysql/issues/11

Comment 2 Richard W.M. Jones 2017-07-05 11:23:01 UTC
Upstream fix is:
https://github.com/ygrek/ocaml-mysql/commit/60eada32c875c8442c39fb51de533924c15f6e93

I'll apply this to the Rawhide package and hopefully it will fix things ...

Comment 3 Richard W.M. Jones 2017-07-05 11:37:28 UTC
Well it compiled:

https://koji.fedoraproject.org/koji/taskinfo?taskID=20339828

However as this was compiled against MariaDB 10.1.24, I'm guessing
you need to do something so I will leave this bug open.

Comment 4 Augusto Caringi 2017-07-10 08:51:02 UTC
(In reply to Richard W.M. Jones from comment #3)
> Well it compiled:
> 
> https://koji.fedoraproject.org/koji/taskinfo?taskID=20339828
> 
> However as this was compiled against MariaDB 10.1.24, I'm guessing
> you need to do something so I will leave this bug open.

I've tested the build against MariaDB 10.2 and it succeed:

https://copr.fedorainfracloud.org/coprs/g/db-sig/mariadb-10.2/build/577427/

Thanks!

Comment 5 Augusto Caringi 2017-07-20 11:43:03 UTC
I think that we can close this bug, right?

Comment 6 Richard W.M. Jones 2017-07-20 12:00:10 UTC
I think so.


Note You need to log in before you can comment on or make changes to this bug.