While building the Document Scanner source code from GNOME / Document Scanner · GitLab using GNOME Builder on Ubuntu 25.04 failed with following error.
../src/basic/meson.build:390:8: ERROR: Problem encountered: found unknown filesystem(s) defined in kernel headers:
Filesystem found in kernel header but not in filesystems-gperf.gperf: BCACHEFS_SUPER_MAGIC
Filesystem found in kernel header but not in filesystems-gperf.gperf: PID_FS_MAGIC
A full log can be found at /run/build/systemd/_flatpak_build/meson-logs/meson-log.txt
Error: module systemd: Child process exited with code 1
I get the same error in Debian unstable. It appears to be a build issue with systemd package. I’m not sure if the Devel flatpak manifest is kept up-to-date (as it uses systemd-v251 which is quite old). You can try building from flathub manifest at https://github.com/flathub/org.gnome.SimpleScan.