Bug#786651: jython: invoking jython gives a stacktrace and nothing more
Rogério Brito
rbrito at ime.usp.br
Sun May 24 00:52:54 UTC 2015
Package: jython
Version: 2.5.3-5
Severity: important
Hi.
I have jython installed on my system that is running testing.
Unfortunately, it seems that some recent upgrade changed the dependencies of
jython and it, now, fails to start with a backtrace. Here is what I get:
$ jython
"my" variable $jythonHome masks earlier declaration in same scope at /usr/bin/jython line 15.
Exception in thread "main" java.lang.NoClassDefFoundError: jnr/posix/POSIXHandler
at org.python.modules.Setup.<clinit>(Setup.java:29)
at org.python.core.PySystemState.initBuiltins(PySystemState.java:1047)
at org.python.core.PySystemState.doInitialize(PySystemState.java:883)
at org.python.core.PySystemState.initialize(PySystemState.java:802)
at org.python.core.PySystemState.initialize(PySystemState.java:752)
at org.python.core.PySystemState.initialize(PySystemState.java:745)
at org.python.util.jython.run(jython.java:150)
at org.python.util.jython.main(jython.java:129)
Caused by: java.lang.ClassNotFoundException: jnr.posix.POSIXHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 8 more
I don't know exactly which package is the culprit here, which is why I have
not put a higher severity, but since this makes jython unusable, perhaps a
higher severity is in order. If jython is not really the culprit here, feel
free to reassign this bug as appropriate.
If I manually downgrade many packages related to jython to their versions in
jessie, then I am able to get jython working again.
If any further information is needed, please let me know and I will try my
best to provide them, so that we can have a version of jython that works
fine in sid.
Thanks,
Rogério Brito.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing'), (175, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages jython depends on:
ii antlr3 3.2-10
ii default-jre-headless [java5-runtime-headless] 2:1.7-52
ii libasm3-java 3.3.2-2
ii libconstantine-java 0.8.6-5
ii libguava-java 17.0-1
ii libjffi-java 1.0.2-11
ii libjline-java 1.0-2
ii libjnr-netdb-java 1.1.4-1
ii libjnr-posix-java 1.1.8-3
ii libjnr-x86asm-java 1.0.2-2
ii liblivetribe-jsr223-java 2.0.6-1
ii libreadline-java 0.8.0.1+dfsg-4
ii openjdk-7-jre-headless [java5-runtime-headless] 7u79-2.5.5-1
ii openjdk-8-jre-headless [java5-runtime-headless] 8u45-b14-2
ii perl 5.20.2-4
Versions of packages jython recommends:
ii default-jdk 2:1.7-52
ii openjdk-7-jdk [java-compiler] 7u79-2.5.5-1
ii openjdk-8-jdk [java-compiler] 8u45-b14-2
Versions of packages jython suggests:
pn jython-doc <none>
pn libmysql-java <none>
pn libpostgresql-jdbc-java <none>
ii libservlet2.5-java 6.0.41-4
-- no debconf information
--
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
More information about the pkg-java-maintainers
mailing list