I'm getting the following test failure with sys-apps/keyutils-1.5.5: make[1]: Entering directory `/var/tmp/portage/sys-apps/keyutils-1.5.5/work/keyutils-1.5.5/tests' bash runtest.sh keyctl/update/userupdate keyctl/update/noargs keyctl/update/bad-args keyctl/unlink/valid keyctl/unlink/noargs keyctl/unlink/bad-args keyctl/unlink/all keyctl/timeout/valid keyctl/timeout/noargs keyctl/timeout/bad-args keyctl/show/noargs keyctl/session/valid keyctl/session/bad-args keyctl/search/valid keyctl/search/noargs keyctl/search/bad-args keyctl/revoke/valid keyctl/revoke/noargs keyctl/revoke/bad-args keyctl/requesting/noargs keyctl/reading/valid keyctl/reading/noargs keyctl/reading/bad-args keyctl/pupdate/userupdate keyctl/pupdate/noargs keyctl/pupdate/bad-args keyctl/permitting/valid keyctl/permitting/noargs keyctl/permitting/bad-args keyctl/padd/useradd keyctl/padd/noargs keyctl/padd/bad-args keyctl/noargs keyctl/newring/valid keyctl/newring/noargs keyctl/newring/bad-args keyctl/listing/valid keyctl/listing/noargs keyctl/listing/bad-args keyctl/link/valid keyctl/link/recursion keyctl/link/noargs keyctl/link/bad-args keyctl/instantiating/noargs keyctl/instantiating/bad-args keyctl/describing/valid keyctl/describing/noargs keyctl/describing/bad-args keyctl/clear/valid keyctl/clear/noargs keyctl/clear/bad-args keyctl/add/useradd keyctl/add/noargs keyctl/add/bad-args #### Some tests require root privileges. #### It is recommended that this be run as root. keyctl_describe: Function not implemented Running with session keyring RHTS/keyctl/23736 keyctl_join_session_keyring: Function not implemented make[1]: *** [run] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/keyutils-1.5.5/work/keyutils-1.5.5/tests' make: *** [test] Error 2 emake failed After some digging around I think this happens because CONFIG_KEYS(*) is not set in my kernel. It would be nice if the ebuild would warn me of this, and possibly not run the tests if the kernel option is not enabled. * I haven't tested yet if enabling this option actually helps, but it looks like it does. The keyutils documentation doesn't mention any kernel option at all... Also note that the kernel help text for this option mentions: "If you are unsure as to whether this is required, answer N."
It looks like CONFIG_KEYS_DEBUG_PROC_KEYS is also needed to run the full test suite.
Fixed in CVS