Created attachment 347628 [details] Build log, emerge info. Emerging dev-java/jsc-0.1.49 fails with this error: depend-java-query: error: no such option: --get-vm See attached build.log and other relevant info.
The problem is that /usr/portage/eclass/java-utils-2.eclass:2667 has: GENTOO_VM="$(depend-java-query --get-vm "${JAVA_PKG_NV_DEPEND:-${DEPEND}}")" I have dev-java/java-config-2.2.0 installed, which places these files in /usr/bin: lrwxrwxrwx 1 root root 11 May 8 23:23 /usr/bin/depend-java-query -> python-exec -rwxr-xr-x 1 root root 3747 May 8 23:23 /usr/bin/depend-java-query-python2.7 -rwxr-xr-x 1 root root 3747 May 8 23:23 /usr/bin/depend-java-query-python3.2 -rwxr-xr-x 1 root root 297 Apr 24 23:23 /usr/bin/python-exec And python-exec had this in it: #!/usr/bin/python3 # EASY-INSTALL-ENTRY-SCRIPT: 'nose==1.3.0','console_scripts','nosetests' __requires__ = 'nose==1.3.0' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('nose==1.3.0', 'console_scripts', 'nosetests')() ) Re-emerging python-exec and java-config fixed this issue and now jsch emerges fine.
python-exec now has a whole bunch more stuff in it than it did so presumably those changes fixed my issue....
> # EASY-INSTALL-ENTRY-SCRIPT: 'nose==1.3.0','console_scripts','nosetests' Sounds like this script was introduced through some external method (easy install / pip / pythonxy) and therefore your python-exec got overwritten, as a result python-exec could no longer delegate that option to depend-java-query. This has nothing to do with depend-java-query itself. If you think Portage may have did this then make sure collision-protect is listed in FEATURES to avoid this from happening and get informed about collisions; if you do find a collision this way, please file a new bug about it. Thank you and have a nice day.