Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 876238

Summary: dev-db/mariadb-10.6.8-r1 links against liburing instead of libaio automagically
Product: Gentoo Linux Reporter: Martin Kolleck <martin.kolleck>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic, sam
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=878853
https://github.com/gentoo/gentoo/pull/29265
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Updated ebuild with aio and uring USE flags
Patch to build system to respect user choice of aio/uring.

Description Martin Kolleck 2022-10-08 23:17:52 UTC
It looks like MariaDB 10.6.8, allows liburing to be used instead of libaio. If both are installed at the time MariaDB 10.6.8 is compiled, liburing is unexpectedly linked into /usr/sbin/mariadbd even though the package does not depend on it.
Comment 1 Martin Kolleck 2022-10-09 00:52:41 UTC
Created attachment 822877 [details]
Updated ebuild with aio and uring USE flags
Comment 2 Martin Kolleck 2022-10-09 00:53:32 UTC
Created attachment 822880 [details, diff]
Patch to build system to respect user choice of aio/uring.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-30 04:17:08 UTC
(In reply to Martin Kolleck from comment #2)
> Created attachment 822880 [details, diff] [details, diff]
> Patch to build system to respect user choice of aio/uring.

Could you send this upstream please and pop the link here? Thank you!
Comment 4 Larry the Git Cow gentoo-dev 2023-02-03 19:33:17 UTC
The bug has been closed via the following commit(s):

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

commit e6e311f8ce19ac8e2e40730279861127866d494d
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2023-01-25 14:50:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-03 19:32:43 +0000

    dev-db/mariadb: add dependency on sys-libs/liburing
    
    liburing replaces libaio on recent Linux kernels
    https://jira.mariadb.org/browse/MDEV-24883
    
    Bug: https://bugs.gentoo.org/878853
    Closes: https://bugs.gentoo.org/876238
    Closes: https://bugs.gentoo.org/886327
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mariadb/mariadb-10.6.11-r1.ebuild | 1321 ++++++++++++++++++++++++++++++
 1 file changed, 1321 insertions(+)