Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687588

Summary: dev-db/mysql-connector-c standalone releases abandoned, build from mysql tarball instead
Product: Gentoo Linux Reporter: Timo Rothenpieler <timo>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD, PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/12251
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mysql-connector-c-8.0.16.ebuild

Description Timo Rothenpieler 2019-06-07 17:07:43 UTC
Created attachment 579162 [details]
mysql-connector-c-8.0.16.ebuild

Upstream seems to have stopped maintaining the the standalone mysql-connector-c releases. The last release for that is from 2 years ago now.

It is however possible to build just the client lib from the regular mysql release tarball. The attached ebuild does just that, and I'm using it on my systems since a while now, originally to work around missing OpenSSL 1.1 support of the old version.

The primary issue it has is that the soname of the library it builds is actually 21, not 18 anymore. But due to everything having the slot 18 hardcoded in, I was forced to keep it in slot 18. So it produces a lot of preserved-rebuilds.

I also never tested it with libressl.

Other than that, it worked and still works smoothly for everything I use it with.

I'm not sure if the old libmysqlclient has any known issues, but getting a more up to date Version would be very nice either way.
Comment 1 Larry the Git Cow gentoo-dev 2019-06-11 19:09:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b50c01c2f9491ad6e63e8b93324ab90090005ab

commit 0b50c01c2f9491ad6e63e8b93324ab90090005ab
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-06-11 19:00:32 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-06-11 19:00:32 +0000

    dev-db/mysql-connector-c: Version bump to 8.0.16
    
    Closes: https://bugs.gentoo.org/687588
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 dev-db/mysql-connector-c/Manifest                  |   1 +
 .../mysql-connector-c/files/8.0.16-libressl.patch  | 279 +++++++++++++++++++++
 .../mysql-connector-c-8.0.16.ebuild                |  92 +++++++
 3 files changed, 372 insertions(+)