Bumped my mostly-stable system yesterday, and broke akonadi, and hence kmail and so forth. "akonadictl start" barfed with a message about mariadb not finding liburing.so.2, which was fair, as it wasn't installed. Installing it fixes the problem. As far as I can tell, mariadb ebuild and its dependencies do not require liburing, though from what I've read, it's a very good thing. (It's possible I hadn't noticed the problem before, as I use a binpkg host, and the host has mpd installed, and that does depend on liburing; the client doesn't use mpd, and as I'd built the client with --binpkg-changed-deps y, perhaps that changed something.) I note there's a USE=uring flag, not set on my systems, nor defaulted by profiles, and mariadb doesn't use it. I also note the existence of bugs 876238, 878853, which seem to be relevant. My guess is that if uring support is to be seletable, it ought to respect the uring USE flag, and that ought to default to on, assuming io-uring is deemed sufficiently mature. I'll post emerge --info shortly.
hp ~ # emerge --info mariadb liburing Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.36-r5, 6.0.13-hp x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.0.13-hp-x86_64-AMD_A9-9420_RADEON_R5,_5_COMPUTE_CORES_2C+3G-with-glibc2.36 KiB Mem: 3909152 total, 1858052 free KiB Swap: 7874556 total, 7874556 free Timestamp of repository gentoo: Thu, 15 Dec 2022 01:45:01 +0000 Head commit of repository gentoo: 7df4841e245062753bf4704d28a11227b36a1ce7 Timestamp of repository Pauls: Thu, 04 Feb 2021 19:40:45 +0000 sh dash 0.5.11.5 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r4::gentoo dev-lang/python: 3.9.13::gentoo, 3.10.9::gentoo dev-lang/rust-bin: 1.65.0::gentoo dev-util/cmake: 3.20.5::gentoo dev-util/meson: 0.63.2-r1::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 15.0.5::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 15.0.5::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://acer/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 Pauls location: /usr/local/overlay sync-type: rsync sync-uri: rsync://acer/local-overlay masters: gentoo sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--ask --usepkg --jobs 2 --load-average 2 --quiet-build y" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB en en_US" MAKEOPTS="-j2" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" RUSTFLAGS="-C target-cpu=native" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cleartype cli cmake corefonts crypt cups dbus declarative display-manager dri dts dvb dvd dvdr elogind encode exif ffmpeg flac fontconfig fortran gdbm gif glibc-omitfp gpm gstremer gtk gui iconv icu id3 id3tag ieee1394 ipv6 java joystick jpeg kde kwallet lcms libglvnd libnotify libtirpc lm-sensors mad mdadm midi mmx mmxext mng mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin ogg opencl opengl openh264 openmp orc pam pango pcre pdf plasma pm-utils png policykit popcnt ppds printsupport pulseaudio qml qt5 readline reports sdl seccomp semantic-desktop sndfile spell split-usr sql sse sse2 sse3 sse4a ssl startup-notification suid svg test-rust threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis vulkan wallpapers wayland widgets wireless wxwidgets x264 xattr xcb xcomposite xine xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="sony ptp2 directory" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 fma4 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 emu" INPUT_DEVICES="synaptics libinput" KERNEL="linux" L10N="en-GB en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="wiki-publisher" LLVM_TARGETS="AMDGPU X86 BPF AArch64 ARM" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" SANE_BACKENDS="snapscan net" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= dev-db/mariadb-10.6.10::gentoo was built with the following: USE="backup pam perl server xml -bindist -columnstore -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -kerberos -latin1 (-mroonga) -numa -odbc -oqgraph -profiling -rocksdb -s3 (-selinux) -sphinx -sst-mariabackup -sst-rsync -static -systemd -systemtap -tcmalloc -test -yassl" ABI_X86="(64)" CFLAGS="-march=bdver4 -mtune=znver2 -mno-avx256-split-unaligned-store -mno-fma4 -mno-lwp -mno-tbm -mno-xop -mno-xsaves -O2 -pipe -fno-strict-aliasing" CXXFLAGS="-march=bdver4 -mtune=znver2 -mno-avx256-split-unaligned-store -mno-fma4 -mno-lwp -mno-tbm -mno-xop -mno-xsaves -O2 -pipe -felide-constructors -fno-strict-aliasing" FEATURES="userfetch strict ebuild-locks fixlafiles news buildpkg binpkg-logs sandbox userpriv protect-owned xattr parallel-fetch binpkg-dostrip ipc-sandbox sfperms unmerge-logs network-sandbox buildpkg-live unmerge-orphans distlocks preserve-libs unknown-features-warn qa-unresolved-soname-deps usersync usersandbox merge-sync config-protect-if-modified assume-digests multilib-strict binpkg-docompress pid-sandbox" sys-libs/liburing-2.2::gentoo was built with the following: USE="-static-libs" ABI_X86="(64) -32 (-x32)" CFLAGS="-march=bdver4 -mtune=znver2 -mno-avx256-split-unaligned-store -mno-fma4 -mno-lwp -mno-tbm -mno-xop -mno-xsaves -O2 -pipe" CXXFLAGS="-march=bdver4 -mtune=znver2 -mno-avx256-split-unaligned-store -mno-fma4 -mno-lwp -mno-tbm -mno-xop -mno-xsaves -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
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(+)