Landlock not automatically disabled when not available
The option is set to auto
by default:
option('landlock', type: 'feature', value: 'auto',
description: 'Enable landlock sandboxing support in Tracker metadata extractor')
but it fails to build if the kernel where the build is made doesn't support it:
Checking if "landlock is enabled in kernel" runs: NO (1)
../meson.build:210:4: ERROR: Problem encountered: Landlock was auto-enabled in build options, but is disabled in the kernel
A full log can be found at /run/build/tracker-miners/_flatpak_build/meson-logs/meson-log.txt
This should just pass. FWIW, I also find it weird that the build system checks for a kernel feature being supported at compile-time when it's very likely that the system on which it will be run is a different one.