Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922980 - media-sound/mpd-0.23.13: optional io_uring
Summary: media-sound/mpd-0.23.13: optional io_uring
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Adrian Schollmeyer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-27 00:14 UTC by CaptainBlood
Modified: 2024-09-22 13:07 UTC (History)
2 users (show)

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


Attachments
ebuild patch (mpd-0.23.13-r1.ebuild.patch,900 bytes, patch)
2024-01-27 00:14 UTC, CaptainBlood
Details | Diff
ebuild patch (mpd-0.23.13-r1.ebuild.patch,910 bytes, patch)
2024-01-27 01:27 UTC, CaptainBlood
Details | Diff
ebuild patch (mpd-0.23.13-r1.ebuild.patch,1.08 KB, patch)
2024-01-27 01:56 UTC, CaptainBlood
Details | Diff
ebuild patch (mpd-0.23.13-r1.ebuild.patch,1.08 KB, patch)
2024-01-27 02:13 UTC, CaptainBlood
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-01-27 00:14:49 UTC
Created attachment 883200 [details, diff]
ebuild patch

io_uring currently hardcoded in ebuild.
Some kernel may have io_uring disabled, e.g. for security reason.

A minimal patch to bump ebuild in this respect.

Binary size decreases ~ 10%.

No more pesky terminal warning.

Please note both ebuild have no addressing CONFIG_CHECK
Comment 1 CaptainBlood 2024-01-27 01:27:03 UTC
Created attachment 883201 [details, diff]
ebuild patch

Better conformant patch.
Comment 2 CaptainBlood 2024-01-27 01:56:05 UTC
Created attachment 883202 [details, diff]
ebuild patch

package dependency added.

side note:
net-fs/samba suffers the same, blocking sys-libs/liburing removal here.
Comment 3 CaptainBlood 2024-01-27 02:13:34 UTC
Created attachment 883203 [details, diff]
ebuild patch
Comment 4 Larry the Git Cow gentoo-dev 2024-09-22 13:07:11 UTC
The bug has been closed via the following commit(s):

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

commit 7274988e561d1dfd666b5c02d39a98d7db39995e
Author:     Adrian Schollmeyer <nex+b-g-o@nexadn.de>
AuthorDate: 2024-09-21 14:42:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-22 13:06:29 +0000

    media-sound/mpd: optional io-uring, fix yajl deps, support log_file=syslog
    
    This introduces yajl as a new USE flag, controlling whether the program
    should link against dev-libs/yajl. This is needed for two different
    features, hence the new REQUIRED_USE.
    
    Closes: https://bugs.gentoo.org/922980
    Closes: https://bugs.gentoo.org/934927
    Closes: https://bugs.gentoo.org/937264
    
    Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/mpd/files/mpd-0.23.15.init-r1 |  61 +++++++
 media-sound/mpd/metadata.xml              |   2 +
 media-sound/mpd/mpd-0.23.15-r2.ebuild     | 291 ++++++++++++++++++++++++++++++
 3 files changed, 354 insertions(+)