Bug 5732 - scilab package is not installable
Summary: scilab package is not installable
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2012-05-03 08:09 CEST by Yann COLLETTE
Modified: 2013-01-04 10:43 CET (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Yann COLLETTE 2012-05-03 08:09:51 CEST
Description of problem:

The scilab package is not installable.
When I check it, I've got the following error message:

Désolé, le paquetage suivant ne peut pas être sélectionné :

- scilab-5.3.3-2.mga2.x86_64 (en raison de conflit avec mysql-connector-java-5.1.18-1.mga2.x86_64)

Version-Release number of selected component (if applicable):

mageia 2 beta 3
Comment 1 Claire Revillet 2012-05-03 09:48:31 CEST
Hi

Can you give me the entire message please ? (which file conflict or any other information)
I don't see the point between scilab and mysql...

Claire

CC: (none) => grenoya

Comment 2 Yann COLLETTE 2012-05-03 09:56:42 CEST
That was the only message I've got. This one is displayed in a popup window and it shows up when I check the scilab package.
If you know a command which can give much more informations, I can try.

YC
Comment 3 Claire Revillet 2012-05-03 10:19:24 CEST
I can't reproduce under a cauldron 64.

can you try in CLI ?
just type " sudo urpmi scilab" in a terminal, please :)

Claire
Comment 4 Yann COLLETTE 2012-05-03 10:32:09 CEST
With the CLI command, the message is:

mysql-connector-java-5.1.18-1.mga2.x86_64 (car java-gcj-compat[*][>= 1.0.31] est non satisfait)

And I still can't install scilab.

YC
Comment 5 Yann COLLETTE 2012-05-03 10:34:04 CEST
There is no java-gcj-compat package on the DVD.
If I install all gcj related packages, I am still stuck with the same problem.
Comment 6 Claire Revillet 2012-05-03 11:22:02 CEST
oh, so the problem is not with scilab, and is more complicated.

1) In fact scilab won't work with gcj, as gcj is in version 5 (1.5) and scilab needs 1.6.
During the installation, it should have ask you wich version of java you wanted. In my test, gcj was not proposed.

2) java-gcj-compat is missing on the DVD to use gcj correctly (i add ennael in copy for that :) )


Claire

CC: (none) => ennael1
Source RPM: scilab => (none)

Comment 7 Claire Revillet 2012-05-07 22:44:58 CEST
Hi

I just tested in a fresh mageia2RC installation.
Scilab installs and launch without any problem.

But i can't find any trace of the package java-gcj-compat in the repositories (mga1 nor cauldron). Do you know were it comes from ?

Claire
Comment 8 Dave Hodgins 2012-05-07 23:48:06 CEST
(In reply to comment #7)

> But i can't find any trace of the package java-gcj-compat in the repositories
> (mga1 nor cauldron). Do you know were it comes from ?

urpmq --provides java-1.5.0-gcj|grep compat
java-gcj-compat[== 1.0.80-17.1.24.mga2]
java-1.4.2-gcj-compat[== 1.4.2.0-41]
java-1.5.0-gcj-compat[== 1.5.0]

CC: (none) => davidwhodgins

Comment 9 Claire Revillet 2012-05-08 10:39:30 CEST
So java-gcj-compat is not a package, just a provide of java-1.5.0-gcj.

CC: (none) => anssi.hannula

Comment 10 Claire Revillet 2012-05-08 10:47:13 CEST
(sorry sent before finishing)

The problem is 
1) java-1.5.0-gcj is not provided in DVDs (even RC)
2) some java modules requires 'java' (without any specific version) so the installer installs every version of java it finds.

Scilab requires java >1.5 so t's not guilty.
But i find fits-java and netcdf-java with a simple 'java'. I'm don't know if they can really work with 1.5.0 or only with the version they were build with. So maybe they can be corrected.

And as scilab pull more than 350 packages, it's hard to chaeck everyone.
But if necessary i can't give it a try.

@anssi, @dmorgan : if you have any other ideas, solutions... 

Claire

CC: (none) => dmorganec

Comment 11 Luc Menut 2012-05-08 17:12:05 CEST
in the repository, java-gcj-compat is required by:
csound-java-5.13.0  (java-gcj-compat)
jcommon-1.0.16  (java-gcj-compat >= 1.0.31)
jcommon-xml-1.0.16  (java-gcj-compat >= 1.0.31)
mapserver-java-6.0.1  (java-gcj-compat)
mysql-connector-java-5.1.18  (java-gcj-compat >= 1.0.31)
xdoclet-1.2.3  (java-gcj-compat)

java-gcj-compat is provided only by java-1.5.0-gcj.

java-gcj-compat is required by scilab through at least 2 cascading dependancies:
- scilab -> hdf-java -> netcdf-java -> jcommon -> java-gcj-compat
- scilab -> hdf-java ->  ... -> jython -> mysql-connector-java -> java-gcj-compat

IIUC, this bug affects only scilab's install from the DVD (scilab can be installed from on-line media).

one question, is it really needed to provide scilab on the DVD?

Scilab is pulled on the DVD because it has priority 5 in CAT_SCIENCE in rpmsrate-raw (but it is required by no packages on the DVD).
Scilab is quite specific tool not used by most of mageia's users.
As we don't provide on the DVD most of the scientific softs like R, octave, etc ..., I think that we can simply remove scilab from the DVD.

(btw, it would free around 250/300 Mb of dependancies on the DVD)

CC: (none) => lmenut
Hardware: x86_64 => All

Comment 12 Claire Revillet 2012-05-08 17:33:10 CEST
> ..., I think that we can simply remove scilab from the DVD.

As we are already in RC, it is the easiest solution.
Comment 13 Marja Van Waes 2012-05-26 13:09:47 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 14 roelof Wobben 2013-01-04 10:27:27 CET
@Claire : Do you know if this bug is still valid or can be closed ?

Roelof

CC: (none) => r.wobben

Comment 15 Claire Revillet 2013-01-04 10:43:44 CET
Hi,

my bad, this bug should have been moved back to release 2 and closed as scilab have been removed from DVD iirc.
Closing

Claire

Status: NEW => RESOLVED
Version: Cauldron => 2
Resolution: (none) => WORKSFORME


Note You need to log in before you can comment on or make changes to this bug.