Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

98.1. liburing-2.15

Linux kernel io_uring access library

2.15-1 · LGPL-2.1-or-later OR MIT · 0.2 SBU · 1.1 MiB, 247 files · 41_system, 76 of 1047 · ports/core/disk/liburing

Homepage: https://github.com/axboe/liburing

liburing is the user-space library for io_uring, the kernel’s asynchronous I/O interface: a program queues reads, writes, accepts and other operations into a ring of submission entries shared with the kernel, and collects the results from a completion ring, with few or no system calls per operation. It wraps the setup and the ring handling, and is what qemu, samba, postgresql, fuse, ubdsrv and the other ports that list it use to reach io_uring. The package installs liburing.so, liburing-ffi.so (the same interface with the inline helpers compiled in, for callers that cannot use C inline functions) and the section 2, 3 and 7 manual pages.

Depends on: nothing a recipe names.

Required by (10): fuse, libnbd, mpd, plocate, postgresql, qemu, qt6-qtbase, samba, sdl3, ubdsrv.

Sources: liburing-2.15.tar.gz (537.2 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install liburing'

build.sh:

./configure --mandir=/usr/share/man --use-libc
make library
make DESTDIR=$PKG install

Libraries: liburing-ffi.a, liburing-ffi.so, liburing.a, liburing.so.

Directories: /usr/include/liburing, /usr/share/licenses/liburing.

The recipe passes no --prefix: configure’s defaults are already /usr and /usr/lib, and --prefix is resolved with realpath -s, an option not every realpath accepts. The top-level Makefile runs ./configure itself, with no options at all, whenever config-host.mak is missing, so make must run only after a configure that succeeded; build.sh runs under set -e, which stops it at a failed configure first. The recipe runs make library, which builds only src/, not the tests and examples make all builds.