thin? ( >=sys-block/thin-provisioning-tools-0.2.1 ) is both a depend and an RDEPEND. If it is not present in the build environment then the build will fail because the /sbin/thin_check command cannot be found. (I don't have the exact build log) Reproducible: Always Steps to Reproduce: 1. Create a new build environment using a stage3 tarball which does not contain sys-fs/lvm2 or sys-block/thin-provisioning-tools. 2. Chroot in to the build environment and then emerge to an alternate root using emerge --root /some/path where the package selection includes sys-fs/lvm2 3. Build will fail if the build environment does not already contain thin-provisioning-tools. Actual Results: Build of lvm2 failed with missing /sbin/thin_check command Expected Results: lvm2 installs to the alternate --root The problem was solved by updating the lvm2-2.02.103.ebuild to make the DEPEND be: DEPEND="${DEPEND_COMMON} virtual/pkgconfig >=sys-devel/binutils-2.20.1-r1 thin? ( >=sys-block/thin-provisioning-tools-0.2.1 ) static? ( selinux? ( sys-libs/libselinux[static-libs] ) udev? ( virtual/udev[static-libs] ) )" The actual fix is probably to move this to DEPEND_COMMON.
We already have that bug, but under another name. *** This bug has been marked as a duplicate of bug 448354 ***