Your message dated Tue, 5 Jan 2010 11:26:18 +0100
with message-id <[email protected]>
and subject line 563028
has caused the Debian Bug report #563028,
regarding Subject: jruby: jruby.jar has classes compiled for 1.6 JVM but  
declares support for 1.5 runtime
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
563028: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563028
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: jruby
Version: 1.4.0-1
Severity: important

The JRuby installation fails when used with the java5 runtime even
though the package claims support

~$ dpkg -p jruby | grep Depends
Depends: openjdk-6-jre | java5-runtime | java6-runtime
~$ jruby -e "puts 'hello'"
hello
~$ JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun jruby -e "puts 'hello'"
Error: Some library (perhaps JRuby) was built with a later JVM version.
Please use libraries built with the version you intend to use or an earlier one.
Specify -w for full UnsupportedClassVersionError stack trace
~$ dpkg -S /usr/lib/jvm/java-1.5.0-sun
sun-java5-bin: /usr/lib/jvm/java-1.5.0-sun
~$

It seems that some classes in /usr/lib/jruby/lib/jruby.jar have been
compiled for the 1.6 class file format:

/tmp$ jar xf /usr/lib/jruby/lib/jruby.jar
/tmp$ find org -name '*class' | xargs file -b  | sort -u
compiled Java class data, version 46.0 (Java 1.2)
compiled Java class data, version 47.0 (Java 1.3)
compiled Java class data, version 49.0 (Java 1.5)
compiled Java class data, version 50.0 (Java 1.6)
/tmp$ find org -name '*class' | xargs file | grep '1.6' | tail -1
org/jruby/RubyBigDecimal$i_method_0_0$RUBYINVOKER$op_uminus.class:
                             compiled Java class data, version 50.0
(Java 1.6)

It would be nice if we could run it all on the 1.5 VM like the
upstream tarballs! Or at least have the dependenc corrected!

Cheers!
Shyamal

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages jruby depends on:
ii  default-jre [java6-runtime] 1.6-34       Standard Java or Java compatible R
ii  openjdk-6-jre [java6-runtim 6b16-1.6.1-2 OpenJDK Java runtime, using Hotspo
ii  sun-java5-jre [java5-runtim 1.5.0-19-1   Sun Java(TM) Runtime Environment (
ii  sun-java6-jre [java6-runtim 6-16-1       Sun Java(TM) Runtime Environment (

jruby recommends no packages.

jruby suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
tag 563028 - pending
tag 563028 + wontfix
severity 563028 wishlist
thanks

There is no Java5 SDK that I can find left in the archive: sun-java5 was
removed a while ago, openjdk never had a version 5 in debian, and gcj
could never quite build jruby, so this will have to remain like this.

Cheers,

--Seb


--- End Message ---

Reply via email to