Some versions of Linux don't provide linux/kcmp.h. In this case, attempting to build lsfd produces an error. Suppress building of lsfd. Index: util-linux-2.39.2/meson.build =================================================================== --- util-linux-2.39.2.orig/meson.build +++ util-linux-2.39.2/meson.build @@ -2595,17 +2595,20 @@ if not is_disabler(exe) bashcompletions += ['lsblk'] endif -exe = executable( - 'lsfd', - lsfd_sources, - include_directories : includes, - link_with : [lib_common, - lib_smartcols], - install_dir : usrbin_exec_dir, - install : true) -if not is_disabler(exe) - exes += exe - manadocs += ['misc-utils/lsfd.1.adoc'] +have = cc.has_header('linux/kcmp.h') +if have + exe = executable( + 'lsfd', + lsfd_sources, + include_directories : includes, + link_with : [lib_common, + lib_smartcols], + install_dir : usrbin_exec_dir, + install : true) + if not is_disabler(exe) + exes += exe + manadocs += ['misc-utils/lsfd.1.adoc'] + endif endif exe = executable(