Summary: | <dev-perl/DBD-mysql-4.41.0-r2,=dev-perl/DBD-mysql-4.42.0 does not work with mariadb | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Craig Andrews <candrews> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | atoth, candrews, grknight, hydrapolic, jackmort37, kentnl, leho, m0par, net-mail+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=604678 https://jira.mariadb.org/browse/CONC-289 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | mariadb-10.2.patch |
Description
Craig Andrews
![]() Created attachment 498562 [details, diff]
mariadb-10.2.patch
Try this patch since MariaDB 10.2 is compatible with 5.7
The supplied patch does improve things somewhat, but tests fail with it applied: t/15reconnect.t ......................... Failed 10/16 subtests t/15reconnect.t (Wstat: 11 Tests: 6 Failed: 0) Non-zero wait status: 11 Parse errors: Bad plan. You planned 16 tests but ran 6. That's a SEGV [13298659.930685] perl[8675]: segfault at 208 ip 00007f2694bbc6ee sp 00007fff1a69e220 error 4 in libmariadb.so.3[7f2694b9c000+43000] Hit the same bug affecting my spamassassin bayesian connection: spamd and sa-learn stopped functioning. I came to the same conclusion and essentially hardwired the conditional statement to be always true - functionally did the same as the proposed patch. Both spamd and sa-learn works now. The issue has been probably brought to the surface because of the perl-5.26 upgrade and the necessary DBD-mysql recompile. Although I haven't use the test USE flag, haven't seen perl segfaults while normal system activity - including running spamd. Nasty. The patch should fix the DBD-mysql side. I've reported upstream about the segfault. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0d23325cf132e9f85ec34ae6bac49f3b5f5ec8 commit 1b0d23325cf132e9f85ec34ae6bac49f3b5f5ec8 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2017-10-19 23:53:16 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2017-10-19 23:53:59 +0000 dev-perl/DBD-mysql: Fix compiling against MariaDB 10.2 bug #634192 rbump needed because compiles can break and install without errors if you disabled tests. Bug: https://bugs.gentoo.org/634192 Package-Manager: Portage-2.3.8, Repoman-2.3.3 ...4.41.0-r1.ebuild => DBD-mysql-4.41.0-r2.ebuild} | 1 + dev-perl/DBD-mysql/files/4.041-mariadb-10.2.patch | 35 ++++++++++++++++++++++ 2 files changed, 36 insertions(+)} It appears that this issue has been fixed - can you please confirm and mark as resolved as appropriate? Everything <DBD-mysql-4.44.0 seems to be masked by now, so probably safe to close this bug. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12f7b3b83729b4a144883996e628889c8a2df78 commit b12f7b3b83729b4a144883996e628889c8a2df78 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2019-10-09 21:48:21 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2019-10-09 21:49:01 +0000 dev-perl/DBD-mysql: Drop old, vulnerable and masked versions. Also drops embedded useflag support. Closes: https://bugs.gentoo.org/634192 Closes: https://bugs.gentoo.org/598048 Closes: https://bugs.gentoo.org/644174 Closes: https://bugs.gentoo.org/598060 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-perl/DBD-mysql/DBD-mysql-4.32.0-r2.ebuild | 49 ------ dev-perl/DBD-mysql/DBD-mysql-4.37.0.ebuild | 68 -------- dev-perl/DBD-mysql/DBD-mysql-4.41.0-r2.ebuild | 69 -------- dev-perl/DBD-mysql/DBD-mysql-4.41.0.ebuild | 65 -------- dev-perl/DBD-mysql/DBD-mysql-4.42.0.ebuild | 66 -------- dev-perl/DBD-mysql/Manifest | 4 - .../files/4.041-amvis-type-conversions.patch | 47 ------ dev-perl/DBD-mysql/files/4.041-no-dot-inc.patch | 103 ------------ dev-perl/DBD-mysql/files/4.042-no-dot-inc.patch | 178 --------------------- .../files/DBD-mysql-print_embedded_options.patch | 20 --- dev-perl/DBD-mysql/metadata.xml | 1 - 11 files changed, 670 deletions(-) |