icedtea6 and icedtea are not included JAVA_VIRTUAL_VM list. as a result launcher script fails while resolving target if user-vm is set to icedtea6 or icedtea. for example with dev-java/groovy-1.5.6 installed: ro@nifiga ~ $ /usr/bin/groovy Traceback (most recent call last): File "/usr/bin/gjl", line 302, in <module> vm = get_vm(pkg) File "/usr/bin/gjl", line 196, in get_vm target, needs_jdk = get_needed_target2(pkg) File "/usr/bin/gjl", line 86, in get_needed_target2 target = pkg.target() File "/usr/lib64/python2.5/site-packages/java_config_2/Virtual.py", line 110, in target return self.get_provider().query("TARGET") AttributeError: 'NoneType' object has no attribute 'query' Couldn't get needed information Reproducible: Always Steps to Reproduce: 1. install icedtea6, set it as your user-vm 2. install groovy 3. run groovy Actual Results: Traceback (most recent call last): File "/usr/bin/gjl", line 302, in <module> vm = get_vm(pkg) File "/usr/bin/gjl", line 196, in get_vm target, needs_jdk = get_needed_target2(pkg) File "/usr/bin/gjl", line 86, in get_needed_target2 target = pkg.target() File "/usr/lib64/python2.5/site-packages/java_config_2/Virtual.py", line 110, in target return self.get_provider().query("TARGET") AttributeError: 'NoneType' object has no attribute 'query' Couldn't get needed information Expected Results: error: neither -e or filename provided usage: groovy [options] [args] options: -a,--autosplit <splitPattern> split lines using splitPattern (default '\s') using implicit 'split' variable -c,--encoding <charset> specify the encoding of the files -D,--define <name=value> define a system property -d,--debug debug mode will print out full stack traces -e <script> specify a command line script -h,--help usage information -i <extension> modify files in place; create backup if extension is given (e.g. '.bak') -l <port> listen on a port and process inbound lines -n process files line by line using implicit 'line' variable -p process files line by line and print result (see also -n) -v,--version display the Groovy and JVM versions
Created attachment 170379 [details] proposed ebuild adding icedtea6 and icedtea to JAVA_VIRTUAL_VM's list solved the problem.
Created attachment 170381 [details] ... and a diff
oops... just noticed that package name in summary should be java-virtuals/jmx-1.0 !
I added the ebuild to java-overlay since icedtea lives there. Thanks for reporting and the fix.