checkstyle's build.xml uses the depend tag (see URL) which is an optional task. this means that checkstyle should name dev-java/ant-task as a dependency. Reproducible: Always Steps to Reproduce: 1. emerge checkstyle Actual Results: fails because ant cannot use <depend> tag. Expected Results: checkstyle emerged.
it depends on ant, which depends on ant-tasks