I was wondering why I was getting this log message in all my systems upon updating of pdftk package: Install dev-java/java-dep-check for dependency checking I then saw it comes from java-utils-2_pkg_preinst in java-utils-2.eclass and I wondered why I need to manually emerge that package instead of getting it automatically pulled as BDEPEND as it seems to be needed Thanks
dev-java/java-dep-check inherits java-pkg-2.eclass, making it an indirect descendant of java-utils-2.eclass. If we put BDEPEND="dev-java/java-dep-check" into java-utils-2.eclass, it would effectively be added into dev-java/java-dep-check too, creating a package that unconditionally depends on itself. Therefore, this is not feasible. Anyway, the dependency check is just an optional check enabled by setting the JAVA_PKG_STRICT variable. Setting or unsetting JAVA_PKG_STRICT does not make any difference in terms of functionality and correctness of the build artifacts.
(We could actually add an exemption for that package.)