Many people will not use use lvm2, so force it on users is not good. UDisks have --disable-lvm2 that allows removal of such dependency. Reproducible: Always Steps to Reproduce:
It's also missing one for dmmp. --disable-lvm2 disable LVM2 support --disable-dmmp disable dm-multipath support
Because you can't avoid the lvm2 depend USE flag doesn't make sense... lvm2 is required for the device-mapper anyway.
I'm also reporting at udisks: https://bugs.freedesktop.org/show_bug.cgi?id=27906 thanks for noticing the device-mapper dependency.
Most binary distributions split libdevmapper/device-mapper into it's own package. Gentoo doesn't since upstream is shipping it in one tarball and the build system is most likely designed to build them all at once. Anyway, if udisks makes device-mapper optional by USE flag, we can have something like: $(use_enable device-mapper) $(use_enable lvm2) device-mapper? ( lvm2 ) lvm2? ( lvm2 ) But since it's not the case right now, closing as UPSTREAM with reference to the bug you opened.