https://devmanual.gentoo.org/ebuild-writing/eapi/ explains: utilities die on their own since EAPI=4 To me this means, that EAPI>=4 ebuilds should avoid doman || die 'doman failed' and let portage control how they die. Besides that it makes the ebuild shorter. I suggest to add a non fatal repoman warning (for bad style) for this. grep "do... " -R /usr/portage/*-* | grep "||" | cut -f1 -d":" | xargs grep "EAPI=" | egrep "EAPI=\"*[4-6]" lists 1476 ebuilds (a few false positives may be included) using constructions like doman foo.1 || die 'doman failed' dobin foo || die 'dobin failed' Reproducible: Always
repoman support has been removed per bug 835013. Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.