Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946223 - dev-perl/DBD-mysql-5.7.0: stablereq
Summary: dev-perl/DBD-mysql-5.7.0: stablereq
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on: 947750
Blocks:
  Show dependency tree
 
Reported: 2024-12-10 19:47 UTC by Tomáš Mózes
Modified: 2025-01-29 11:06 UTC (History)
4 users (show)

See Also:
Package list:
dev-perl/DBD-mysql-5.7.0 amd64 arm arm64 ppc64 x86
Runtime testing required: ---
sam: sanity-check+


Attachments
MYSQL_OPT_RECONNECT.patch (MYSQL_OPT_RECONNECT.patch,464 bytes, patch)
2024-12-24 23:44 UTC, Banana
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2024-12-10 19:47:52 UTC
The current stable started to print this warning when used:

WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.

The warning is gone after upgrading from 4.50.0-r1 to 5.7.0.
Comment 1 NATTkA bot gentoo-dev Security 2024-12-10 19:52:16 UTC
Sanity check failed:

> dev-perl/DBD-mysql-5.7.0
>   bdepend sparc stable profile default/linux/sparc/23.0 (6 total)
>     >=dev-db/mysql-8:*
>   bdepend sparc dev profile default/linux/sparc/23.0/desktop (4 total)
>     >=dev-db/mysql-8:*
Comment 2 Banana 2024-12-24 23:44:20 UTC
Created attachment 914833 [details, diff]
MYSQL_OPT_RECONNECT.patch
Comment 3 Banana 2024-12-24 23:48:13 UTC
I've attached a patch for DBD-mysql-4.50.0-r1 (usable as a patch in /etc/portage/patches/dev-perl/DBD-mysql-4.50.0-r1/MYSQL_OPT_RECONNECT.patch) based on the ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/2031548 and the mentioned fix: https://github.com/aorr436/DBD-mysql/commit/7a5c9efbcf7d055f8586f4e678df3509c7cb645f

One alternatice could be also removing the whole section as done in the upstream repo: https://github.com/perl5-dbi/DBD-mysql/commit/cfe411868626e8d553716d1d9a9e759ba1104b75

But since the DBD-mysql-4.50.0-r1 file is the "same" as the ubuntu one I've modified like there.
Comment 4 Hanno Böck gentoo-dev 2025-01-04 12:14:07 UTC
It seems the sanity check fails due to dev-db/mysql having no stable sparc version any more.

I guess the way forward is to drop the sparc stable keyword also for DBD-mysql (?), and move on with stabilization on other archs?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-09 03:12:58 UTC
arm64 done
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-01-09 03:13:00 UTC
arm done
Comment 7 Jakov Smolić archtester gentoo-dev 2025-01-10 04:46:25 UTC
x86 done
Comment 8 Larry the Git Cow gentoo-dev 2025-01-29 06:04:57 UTC
The bug has been referenced in the following commit(s):

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

commit abe5b3b18a030d5a498bd19ead6499b0f0f18373
Author:     Robin H. Johnson <robbat2@gentoo.org>
AuthorDate: 2025-01-29 06:00:53 +0000
Commit:     Robin H. Johnson <robbat2@gentoo.org>
CommitDate: 2025-01-29 06:04:54 +0000

    dev-perl/DBD-mysql: stable amd64
    
    Builds & passes tests w/ USE='-mariadb mysql'
    
    Bug: https://bugs.gentoo.org/946223
    Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

 dev-perl/DBD-mysql/DBD-mysql-5.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)