Your message dated Tue, 28 Oct 2008 15:45:58 +0100 (CET)
with message-id <[EMAIL PROTECTED]>
and subject line The problem does not occur in mina
has caused the Debian Bug report #503792,
regarding mina: java bytecode / java runtime version mismatch
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.)
--
503792: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503792
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: mina
Version: 1.1.7.dfsg-4
Severity: serious
User: [EMAIL PROTECTED]
Usertags: jbc-mismatch
This package builds with openjdk-6 or cacao-oj6, which is not the
default jvm in testing/unstable. The openjdk-6 and cacao-oj6 javac
creates java bytecode for version 50, which cannot be used by older
jvms. Binary packages explicitely built with openjdk-6 or cacao-oj6
must not depend on java-runtime{,1,2,5}{,-headless}, but only on
java-runtime6{,-headless} or any of the non-virtual packages providing
a java6 runtime.
It is preferred to build the bytecode so that it runs on older jvms.
This is done passing '-source 1.[45]' to javac (or for cdbs ant tasks
setting ANT_OPTS to -Dant.build.javac.source=1.[45].
You usually can check for the java byte code with file(1), currently
broken in testing/unstable, or use javap -verbose (a script checking
the command line args (check-class-version) can be found at
http://people.debian.org/~doko/tmp/. Both .class and .jar files found
in the binary packages need to be checked.
Note: this report may be a false positive, if all bytecode files have
version 49 or less.
--- End Message ---
--- Begin Message ---
Hi,
> This package builds with openjdk-6 or cacao-oj6
[..]
> It is preferred to build the bytecode so that it runs on older jvms.
> This is done passing '-source 1.[45]' to javac (or for cdbs ant tasks
> setting ANT_OPTS to -Dant.build.javac.source=1.[45].
As you can see in my debian/rules [1] :
-----
# Force compilation of 1.5 .class format
JAVA_OPTS := -source 1.5 -target 1.5
[..]
jh_build -o"$(JAVA_OPTS)" $(CORE_JAR) $(CORE_SRC)
----
So, I'm using 49.0 class format here and then :
-----
Depends: openjdk-6-jre-headless | java5-runtime-headless
-----
I think we should build some Q&A scripts (lintian, putting your script in
a crontab) on every java packaging.
See you on [EMAIL PROTECTED] :)
[1] http://svn.drazzib.com/debian-pkg/mina/tags/1.1.7.dfsg-4/debian/rules
[2] http://svn.drazzib.com/debian-pkg/mina/tags/1.1.7.dfsg-4/debian/control
--
Damien Raude-Morvan
--- End Message ---