Bug 799599

Summary: Groovysh does not run
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: groovyAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: johannes.lips, lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: groovy-1.8.6-4.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-09 04:52:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Alexeev 2012-03-03 11:15:53 UTC
Description of problem:
$ groovysh 
/usr/bin/build-classpath: error: Could not find ../jvm/java/lib/tools Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
java.lang.NoClassDefFoundError: org.fusesource.jansi.AnsiConsole
        at org.codehaus.groovy.tools.shell.Main.class$(Main.groovy)
        at org.codehaus.groovy.tools.shell.Main.$get$$class$org$fusesource$jansi$AnsiConsole(Main.groovy)
        at org.codehaus.groovy.tools.shell.Main.<clinit>(Main.groovy:38)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:108)
        at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130)

# LANG=C alternatives --config java

There are 4 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
 + 2           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
   3           /usr/java/jdk1.7.0/jre/bin/java
*  4           /usr/java/jdk1.7.0_01/jre/bin/java

Enter to keep the current selection[+], or type selection number: 

Version-Release number of selected component (if applicable):
$ rpm -qa 'groovy' 'java*'
java-1.7.0-openjdk-1.7.0.3-2.1.fc16.1.x86_64
groovy-1.8.6-1.fc16.noarch
java-1.7.0-openjdk-devel-1.7.0.3-2.1.fc16.1.x86_64
java-1.6.0-openjdk-1.6.0.0-65.1.11.1.fc16.x86_64
java-1.6.0-openjdk-devel-1.6.0.0-65.1.11.1.fc16.x86_64

How reproducible:
Always

Comment 1 hannes 2012-03-03 11:42:25 UTC
Missing dep in groovysh. I issued fixed builds and I will push updates for all relevant branches shortly. Thanks for reporting.

Comment 2 Fedora Update System 2012-03-03 12:28:51 UTC
groovy-1.8.6-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/FEDORA-2012-2402/groovy-1.8.6-2.fc16

Comment 3 Fedora Update System 2012-03-03 12:30:26 UTC
groovy-1.8.6-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/groovy-1.8.6-2.fc17

Comment 4 Fedora Update System 2012-03-05 20:56:16 UTC
Package groovy-1.8.6-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing groovy-1.8.6-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2870/groovy-1.8.6-2.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-03-09 04:52:30 UTC
groovy-1.8.6-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2012-03-09 21:30:01 UTC
groovy-1.8.6-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/groovy-1.8.6-3.fc16

Comment 7 Fedora Update System 2012-03-09 21:30:18 UTC
groovy-1.8.6-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/groovy-1.8.6-3.fc17

Comment 8 Fedora Update System 2012-03-21 20:33:19 UTC
groovy-1.8.6-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/groovy-1.8.6-4.fc17

Comment 9 Fedora Update System 2012-03-31 03:09:12 UTC
groovy-1.8.6-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-04-12 02:34:48 UTC
groovy-1.8.6-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.