"Because eclasses modify various cached variables, conditional inheritance is not allowed except where the same results will always be obtained on every system. For example, inherits based upon USE flags are illegal, but inherits based solely upon PN are allowed."
To solve this, a conditional inherit based on the java USE flag would be needed, which is not allowed. Ideas?
This is caussed by java-pkg-2 and java-ant-2 eclasses inherited by the ebuild. From https://devmanual.gentoo.org/general-concepts/portage-cache/index.html:
"Because eclasses modify various cached variables, conditional inheritance is not allowed except where the same results will always be obtained on every system. For example, inherits based upon USE flags are illegal, but inherits based solely upon PN are allowed."
To solve this, a conditional inherit based on the java USE flag would be needed, which is not allowed. Ideas?