Bug#752357: Bug is related to jnr-posix-1.1.8.jar.

Nils Ulltveit-Moe nils at u-moe.no
Mon Jun 23 14:29:21 UTC 2014


I did some more debugging on the Jython source, and this bug is related 
to problems with jnr-posix-1.1.8.jar which is used by Jython 2.5.3. This 
java library provides POSIX functionality to the os module in Jython.

When Jython is installed directly from jython.org, then a working 
version of jnr-posix is linked in as part of the Jython jar, which is 
the reason why this version works.

I tried to compile in support for jnr-posix-2.5.0.jar in 
jython-2.5.4-rc1. This approach requires a source code patch (attached) 
for the newer jnr-posix-2.5.0 library. It also requires installation of 
jnr-constants-0.8.5.jar and jnr-ffi-1.0.0.jar.

The easiest workaround for now, is to download and install 
jython-2.5.4-rc1 from jython.org, and wait for a stable version of 
Jython 2.7, which includes the required upgrade of jnr-posix, since 
doing this patch properly requires quite extensive changes to Jython.

I have attached the patch I was working on, in case someone wants to 
take this approach further.

Best regards,
Nils Ulltveit-Moe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jython_2.5.4-RC1-1ubuntu1.diff
Type: text/x-patch
Size: 5627 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140623/14c7b6b6/attachment.bin>


More information about the pkg-java-maintainers mailing list