package jython-stilts 3.1.2-2 failed to install/upgrade: installed jython-stilts package post-installation script subprocess returned error exit status 1

Bug #1784043 reported by Justin Allen
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
jython (Ubuntu)
New
Undecided
Unassigned
starjava-ttools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Will not install

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: jython-stilts 3.1.2-2
ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Thu Jul 26 05:07:29 2018
ErrorMessage: installed jython-stilts package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-07-18 (9 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt 1.6.3
SourcePackage: starjava-ttools
Title: package jython-stilts 3.1.2-2 failed to install/upgrade: installed jython-stilts package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Justin Allen (justindallen82) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in starjava-ttools (Ubuntu):
status: New → Confirmed
Revision history for this message
Ole Streicher (olebole) wrote :

I can't reproduce this.

What I did:

 * created a Ubuntu 18.04 chroot, and did a schroot into it
 * added "multiverse universe" to `/etc/apt/sources.list`
 * `apt update`
 * `apt install jython-stilts`

I get warnings, which are created by the startup of Jython:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper$ReflectiveAccess (file:/usr/share/java/jnr-posix.jar) to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper$ReflectiveAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

But the package installs fine, and a quick test afterwards shows that it imports fine:

(bionic)oles@donar:~$ jython
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by jnr.posix.JavaLibCHelper$ReflectiveAccess (file:/usr/share/java/jnr-posix.jar) to method sun.nio.ch.SelChImpl.getFD()
WARNING: Please consider reporting this to the maintainers of jnr.posix.JavaLibCHelper$ReflectiveAccess
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jython 2.7.1 (, Oct 22 2017, 13:43:00)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java10.0.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import stilts
>>>

The difference is that in the log above, there is a package "ibm-java80-jdk" installed, which however is not part of Ubuntu 18.04.

Revision history for this message
Ole Streicher (olebole) wrote :

From the terminal log:

Exception in thread "main" java.lang.NoSuchMethodError: java/nio/ByteBuffer.limit(I)Ljava/nio/ByteBuffer; (loaded from /usr/lib/jvm/java-ibm-x86_64-80/jre/lib/rt.jar by <Bootstrap Loader>) called from class jline.internal.InputStreamReader (loaded from file:/usr/share/java/jline2.jar by sun.misc.Launcher$AppClassLoader@4b7a0fb9).
 at jline.internal.InputStreamReader.<init>(InputStreamReader.java:104)
 at jline.console.ConsoleReader.setInput(ConsoleReader.java:330)
 at jline.console.ConsoleReader.<init>(ConsoleReader.java:248)
 at org.python.util.JLineConsole.install(JLineConsole.java:107)
 at org.python.core.Py.installConsole(Py.java:1744)
 at org.python.core.PySystemState.initConsole(PySystemState.java:1258)
 at org.python.core.PySystemState.doInitialize(PySystemState.java:1109)
 at org.python.core.PySystemState.initialize(PySystemState.java:1023)
 at org.python.core.PySystemState.initialize(PySystemState.java:979)
 at org.python.core.PySystemState.initialize(PySystemState.java:974)
 at org.python.util.jython.run(jython.java:263)
 at org.python.util.jython.main(jython.java:142)

I would also assume that the bug is not in jython-stilts, but in jython itself. Could anyone just install jython (with the ibm-java80-jdk), and then just start "jython"?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.