Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656048 - Broken tree due to USE mask of dev-db/mariadb client-libs
Summary: Broken tree due to USE mask of dev-db/mariadb client-libs
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-18 16:49 UTC by Kilian
Modified: 2018-05-18 16:59 UTC (History)
0 users

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 Kilian 2018-05-18 16:49:20 UTC
Situation: I want to use mariadb, libressl and paludis is my package manager.

Problem:

1. =virtual/libmysqlclient-18 has a depend on dev-db/mariadb:${SLOT}[client-libs(+),static-libs?,${MULTILIB_USEDEP}]

2. base/package.use.mask has a mask on "dev-db/mariadb client-libs"

3. Only >=dev-db/mariadb-10.2.12 supports libressl instead of openssl

4. =dev-db/mariadb-10.2.12 is gone from the tree

5. >=dev-db/mariadb-10.2.14 introduces the use-flag client-libs

But I cannot set the use-flag because it is masked! So the dependency for =virtual/libmysqlclient-18 can only be fulfilled by downgrading to dev-db/mariadb-10.1.31-r1 which in turn does not support libressl which would mean switching back to openssl.

To make things worse, there is no mechanism in paludis to unmask use-flags (ref. https://608064.bugs.gentoo.org/attachment.cgi?id=462278) and bug 608064

Resolution: Remove the USE mask of dev-db/mariadb client-libs from base/package.use.mask. Thanks.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-05-18 16:55:06 UTC
Activate the libressl USE on dev-db/mysql-connector-c.

We will not be removing this mask as it is a tool to force everyone onto that package.

If paludis cannot figure that out, it's their bug.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2018-05-18 16:59:00 UTC
(In reply to Kilian from comment #0)
> But I cannot set the use-flag because it is masked! So the dependency for
> =virtual/libmysqlclient-18 can only be fulfilled by downgrading to
> dev-db/mariadb-10.1.31-r1 which in turn does not support libressl which
> would mean switching back to openssl.

In addition, mariadb-10.1 *does* support libressl, but you have to disable the openssl use in package.mask.

Some call this wrong, but it is a transitional thing and changed in 10.2.