sys-apps/shadow with activated selinux use flag needs libsemanage as build and runtime dependency. Reproducible: Always Steps to Reproduce: 1. remove libsemanage 2. try to emerge sys-apps/shadow with selinux use flag 3. emerge fails in configure "configure: error: semanage/semanage.h is missing" Actual Results: emerge fails with error: "configure: error: semanage/semanage.h is missing" Expected Results: emerge merges sys-libs/libsemanage as dependency before merging sys-apps/shadow[selinux]
should be all set now in the tree; thanks for the report! Commit message: Depend on libsemanage when USE=selinux http://sources.gentoo.org/sys-apps/shadow/shadow-4.1.5-r2.ebuild?rev=1.1