When using per-package build the build of udisks fails with the following error msg: cp org.freedesktop.UDisks2.conf.in org.freedesktop.UDisks2.conf GEN org.freedesktop.UDisks2.policy /build/buildroot/build/per-package/udisks/host/bin/msgfmt: cannot locate ITS rules for org.freedesktop.UDisks2.policy.in make[5]: *** [Makefile:924: org.freedesktop.UDisks2.policy] Error 1 make[4]: *** [Makefile:632: all-recursive] Error 1 make[3]: *** [Makefile:514: all-recursive] Error 1 make[2]: *** [Makefile:446: all] Error 2 make[1]: *** [package/pkg-generic.mk:293: /build/buildroot/build/build/udisks-2.9.4/.stamp_built] Error 2 make: *** [Makefile:23: _all] Error 2 I tried to figure out what dependency might be missing but wasn't successful. Any hints welcome!
I just realized the same is happening with gvfs for which some extra handlings is alread in the polkit.mk file. [88/263] Generating daemon/org.gtk.vfs.file-operations.policy with a custom command FAILED: daemon/org.gtk.vfs.file-operations.policy /build/buildroot/build/per-package/gvfs/host/bin/meson --internal msgfmthelper --msgfmt=/build/buildroot/build/per-package/gvfs/host/bin/msgfmt daemon/org.gtk.vfs.file-operations.policy.in daemon/org.gtk.vfs.file-operations.policy xml /build/buildroot/build/build/gvfs-1.48.1/po /build/buildroot/build/per-package/gvfs/host/bin/msgfmt: cannot locate ITS rules for daemon/org.gtk.vfs.file-operations.policy.in [113/263] Compiling C object common/libgvfscommon.so.p/meson-generated_.._gvfsdbus.c.o ninja: build stopped: subcommand failed.
I can't reproduce the udisks issue, I've successfully built the following configuration: BR2_arm=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_PER_PACKAGE_DIRECTORIES=y BR2_INIT_NONE=y BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y BR2_SYSTEM_BIN_SH_NONE=y # BR2_PACKAGE_BUSYBOX is not set BR2_PACKAGE_UDISKS=y # BR2_TARGET_ROOTFS_TAR is not set Could you provide a defconfig that reproduces the issue?
Thank you for your report. The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker: https://gitlab.com/buildroot.org/buildroot/-/issues We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker. Thank you!