mapmot / arduino-overlay

Arduino IDE overlay for gentoo linux
https://bugs.gentoo.org/525882
GNU General Public License v2.0
2 stars 2 forks source link

dev-embedded/arduino will pull jdk/jvm even with java flag disabled #4

Closed mapmot closed 6 years ago

mapmot commented 6 years ago

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?

mapmot commented 6 years ago

Fixed in b10dee0698e1a8522aba303fed24ddf6f30c2f96 and the help of tdr on #gentoo-dev-help