Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876238 - dev-db/mariadb-10.6.8-r1 links against liburing instead of libaio automagically
Summary: dev-db/mariadb-10.6.8-r1 links against liburing instead of libaio automagically
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-08 23:17 UTC by Martin Kolleck
Modified: 2023-02-03 19:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild with aio and uring USE flags (mariadb-10.6.8-r2.ebuild,41.65 KB, text/plain)
2022-10-09 00:52 UTC, Martin Kolleck
Details
Patch to build system to respect user choice of aio/uring. (mariadb-10.6.8-uring-vs-aio.patch,1.47 KB, patch)
2022-10-09 00:53 UTC, Martin Kolleck
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(+)