Summary: | dev-perl/DBD-mysql-5.1.0:dbdimp.c:1407:31: error: ‘MYSQL_OPT_GET_SERVER_PUBLIC_KEY’ undeclared and more "undeclared" errors | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Kredba <kredba> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | conikost, galiven, gentoo, jasmin+gentoo, matoro_gentoo, mgorny, parona, phils, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/perl5-dbi/DBD-mysql/issues/361 https://github.com/perl5-dbi/DBD-mysql/pull/366 https://github.com/gentoo/gentoo/pull/34276 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 919865 | ||
Bug Blocks: | 921000 | ||
Attachments: | build.log file |
Description
David Kredba
2023-10-10 05:51:32 UTC
Created attachment 872443 [details]
build.log file
meh. According to https://github.com/perl5-dbi/DBD-mysql/issues/361, it needs to be built against MySQL always now, even if it doesn't connect to MySQL (can still connect to MariaDB). So dev-db/mariadb[perl] requires dev-perl/DBD-mysql which will now require mysql… surely, makes lots of sense. (In reply to Sam James from comment #2) > meh. According to https://github.com/perl5-dbi/DBD-mysql/issues/361, it > needs to be built against MySQL always now, even if it doesn't connect to > MySQL (can still connect to MariaDB). So this is more fallout from the [ill-advised IMO] fragmenting of MySQL, and the real answer here is that there now needs to be a DBD::mariadb separate from DBD::mysql. (In reply to Phil Stracchino (Unix Ronin) from comment #4) > (In reply to Sam James from comment #2) > > meh. According to https://github.com/perl5-dbi/DBD-mysql/issues/361, it > > needs to be built against MySQL always now, even if it doesn't connect to > > MySQL (can still connect to MariaDB). > > So this is more fallout from the [ill-advised IMO] fragmenting of MySQL, and > the real answer here is that there now needs to be a DBD::mariadb separate > from DBD::mysql. Never mind, I take that back; I see there is ALREADY a DBD::MariaDB (In reply to Phil Stracchino (Unix Ronin) from comment #5) > > > > So this is more fallout from the [ill-advised IMO] fragmenting of MySQL, and > > the real answer here is that there now needs to be a DBD::mariadb separate > > from DBD::mysql. > > Never mind, I take that back; I see there is ALREADY a DBD::MariaDB And yet dev-db/mariadb depends on dev-perl/DBD-mysql and NOT on dev-perl/DBD-MariaDB So the dependencies for dev-db/mariadb probably need to be changed as well. dev-db/percona-toolkit is a bit of a problem because it ALSO depends on dev-perl/DBD-mysql and NOT on dev-perl/DBD-MariaDB, but may well be used on a system with mariadb installed and not MySQL. So is what we really need here some kind of virtual package that dev-db/percona-toolkit can depend upon? Or is the correct approach a USE [mysql|mariadb] in dev-db/percona-toolkit? We should probably migrate as much as possible to DBD::MariaDB since that also supports mysql. That said, still needs some research on the involved reverse deps. Stay tuned. (In reply to Andreas K. Hüttel from comment #7) > We should probably migrate as much as possible to DBD::MariaDB since that > also supports mysql. > > That said, still needs some research on the involved reverse deps. Stay > tuned. Any news on this? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=775705089b3681b09f7f37f1d209481d8b57f10d commit 775705089b3681b09f7f37f1d209481d8b57f10d Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2023-12-14 01:46:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-14 06:43:18 +0000 dev-db/mariadb: switch to dev-perl/DBD-MariaDB https://github.com/MariaDB/server/commit/5cc2096f93b7f130b36f8bc0fc43440db9a848e4 Bug: https://bugs.gentoo.org/915511 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/34276 Signed-off-by: Sam James <sam@gentoo.org> dev-db/mariadb/mariadb-10.11.5-r1.ebuild | 1318 +++++++++++++++++++++++++++++ dev-db/mariadb/mariadb-10.6.15-r1.ebuild | 1329 ++++++++++++++++++++++++++++++ 2 files changed, 2647 insertions(+) @sam: What about handling within packages? Don't they need to be adjusted as well? For example squid-6.5 has: mysql? ( dev-perl/DBD-mysql ). MariaDB was special in this case as it had support for DBD-MariaDB already, other packages aren't as fortunate and would require patching. https://github.com/bugzilla/bugzilla/pull/142#pullrequestreview-1616149102 bugzilla atleast has had some talk about using it instead. |