[SRU] scilab-cli and scilab-adv-cli does not start on bionic, cosmic, disco and eoan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scilab (Debian) |
Fix Released
|
Unknown
|
|||
scilab (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Scilab does not show console prompt and freezes.
* Scilab requires additional fixes to properly work with OpenJDK 11, thus it needs to be backported to releases that have openjdk-lts as the default-jdk.
* The bug was caused by the failure to load modules, which had their service files removed during build time. The change was introduced in scilab 6.0.1-4, which started using find to remove all empty files during build time, that caused some required (although empty) files from the modules to be removed as well, thus causing scilab to fail to find and load these modules.
[Test Case]
1. run scilab-cli
2. verify that it reports missing modules and that it hangs
```
$ scilab-cli
commons module not found.
graphic_objects module not found.
ui_data module not found.
graph module not found.
history_browser module not found.
slint module not found.
coverage module not found.
```
With the fix applied scilab-cli should load and show a prompt to the user
```
$ scilab-cli Scilab 6.0.2 (May 21 2019, 20:36:16)
-->
```
[Regression Potential]
* This change only prevent empty files in scilab source from being removed during build time. No side-effect (except for getting the modules working again) is known.
[Original Report]
Steps to reproduce:
1. Have Ubuntu 18.04.2 LTS installed with all updates
2. Install latest Scilab package (6.0.1-
3. Launch Scilab CLI with `scilab-cli` or `scilab-adv-cli`
Expected results:
* Scilab shows its console prompt
Actual results:
* Scilab does not show console prompt and freezes with the following messages:
```
$ scilab-cli
commons module not found.
graphic_objects module not found.
ui_data module not found.
graph module not found.
history_browser module not found.
slint module not found.
coverage module not found.
```
```
$ scilab-adv-cli
Picked up _JAVA_OPTIONS: -Djava.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.scilab.
WARNING: Please consider reporting this to the maintainers of org.scilab.
WARNING: Use --illegal-
WARNING: All illegal access operations will be denied in a future release
commons module not found.
graphic_objects module not found.
ui_data module not found.
graph module not found.
history_browser module not found.
slint module not found.
coverage module not found.
```
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: scilab-cli 6.0.1-7ubuntu1~
ProcVersionSign
Uname: Linux 4.15.0-47-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
CurrentDesktop: MATE
Date: Tue Apr 16 22:30:55 2019
InstallationDate: Installed on 2018-10-17 (181 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitec
SourcePackage: scilab
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in scilab (Debian): | |
status: | Unknown → New |
summary: |
- scilab-cli and scilab-adv-cli does not start on bionic, cosmic and disco + scilab-cli and scilab-adv-cli does not start on bionic, cosmic, disco + and eoan |
tags: | added: eoan |
tags: | added: id-5cbf8cd59e0abe4d0844735a |
Changed in scilab (Debian): | |
status: | New → Fix Released |
description: | updated |
summary: |
- scilab-cli and scilab-adv-cli does not start on bionic, cosmic, disco - and eoan + [SRU] scilab-cli and scilab-adv-cli does not start on bionic, cosmic, + disco and eoan |
Changed in scilab (Ubuntu): | |
importance: | Undecided → High |
Cosmic is affected too with Scilab 6.0.1-7ubuntu1~ 18.10 .