3.7.alpha: landlock build-time check is problematic.
Hi. I'm currently trying to build tracker-miners 3.7.alpha for ArchLinux. This turns out to be very problematic. Our build environment uses an unprivileged nspawn container and so we run into a little problem:
munmap(0x79f0fb934000, 18987) = 0
landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION) = -1 EPERM (Operation not permitted)
It however builds fine if I build it outside the build environment.
Besides that do we need that check on build-time?
I'm with @sthursfield on this. The build environment might be limited for reasons, while the final production environment is not (or the other way around).