Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649602 - dev-db/mysql-connector-c: add libressl support
Summary: dev-db/mysql-connector-c: add libressl support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-03-05 08:22 UTC by Reuben Farrelly
Modified: 2018-03-09 16:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Farrelly 2018-03-05 08:22:57 UTC
Similar to https://bugs.gentoo.org/602324 we also need to have libressl build-time support added to dev-db/mysql-connector-c .

Currently the mysql-connector-c-6.1.11 ebuild has:

CDEPEND="
    sys-libs/zlib:=[${MULTILIB_USEDEP}]
    ssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
"

This of course tries to pull in openssl, which on my system is not installed due to the presence of libressl.

The mysql-connector-c-6.1.11 package is required to be installed for the latest mariadb-10.3.5_rc ebuild that is now in the tree so the lack of support in this package is actually holding up the upgrade of mariadb.
Comment 1 Joerg Neikes 2018-03-06 16:34:59 UTC
Works with -ssl in package for dev-db/mysql-connector-c .

echo "dev-db/mysql-connector-c -ssl" >> /etc/portage/package.use .

Not the fine way, but works.
Comment 2 Joerg Neikes 2018-03-06 16:45:26 UTC
Ok seems like there is a new useflag for the make.conf.
Changed mysql with mariadb and now all mysql problems for mariadb are gone.
Comment 3 Joerg Neikes 2018-03-06 17:08:44 UTC
(In reply to Joerg Neikes from comment #2)
> Ok seems like there is a new useflag for the make.conf.
> Changed mysql with mariadb and now all mysql problems for mariadb are gone.

Ok this is not the case.
Comment 4 Larry the Git Cow gentoo-dev 2018-03-09 16:38:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=608396f9309f779d0bd10ce6e9b90ea9913b864e

commit 608396f9309f779d0bd10ce6e9b90ea9913b864e
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-03-09 16:37:34 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-03-09 16:37:34 +0000

    dev-db/mysql-connector-c: Add libressl support
    
    This requires a sed as the cmake checks for Version 1
    while libressl has Version 2
    
    Closes: https://bugs.gentoo.org/649602
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../mysql-connector-c-6.1.11-r1.ebuild             | 89 ++++++++++++++++++++++
 1 file changed, 89 insertions(+)