aria gnu-crypto # JAVA_PKG_FORCE_COMPILER="ecj-3.2" ebuild gnu-crypto-2.0.1-r2.ebuild digest unpack <snip> * Could not find environment file for >>> Source unpacked. aria gnu-crypto # ebuild gnu-crypto-2.0.1-r2.ebuild digest unpack <snip> * Could not find environment file for >>> Source unpacked. Code in ebuild: einfo $(java-pkg_get-javac) The good thing is that nothing is using this function but that's probably why this hasn't been detected until now. It seems this function only works if you first call java-pkg_init-compiler_ Probably should add the java-pkg_init-compiler_ in init-vm or something.
Created attachment 407846 [details] Demo ebuild Confirming.
Created attachment 407848 [details, diff] Patch to call java-pkg_init-compiler_ and die on errors rather than using stdout Alternatively, we could die if GENTOO_COMPILER is unset. Calling java-pkg_init-compiler_ seems nicer to me and I don't see problems with it. Do you?
Very timely, sping! I ran into this while dealing with bug #542700. I've merged this now with some additional simplifications.