Some old version of Linux don't provide the SIOCGSKNS ioctl in linux/sockios.h. In this case, attempting to build test_mkfds produces an error. Suppress building of test_mkfds. Index: util-linux-2.39.2/meson.build =================================================================== --- util-linux-2.39.2.orig/meson.build +++ util-linux-2.39.2/meson.build @@ -3288,11 +3288,14 @@ exe = executable( exes += exe if LINUX - exe = executable( - 'test_mkfds', - 'tests/helpers/test_mkfds.c', - include_directories : includes) - exes += exe + have = cc.has_header_symbol('linux/sockios.h', 'SIOCGSKNS') + if have + exe = executable( + 'test_mkfds', + 'tests/helpers/test_mkfds.c', + include_directories : includes) + exes += exe + endif endif exe = executable(