Bug 910681

Summary: CeCILL incompatible and non-free files included.
Product: [Fedora] Fedora Reporter: mejiko <kame55-itasenpara123>
Component: scilabAssignee: Clément DAVID <c.david86>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: c.david86, sylvestre
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://bugzilla.scilab.org/show_bug.cgi?id=13469
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-26 05:47:54 EST Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 182235    

Description mejiko 2013-02-13 04:17:38 EST
Hello.

Scilab included non-free code.

Scilab source RPM is "scilab-5.4.0-1.fc18.src.rpm"

Files:

scilab-5.4.0/modules/randlib/src/c/fsultra.c
scilab-5.4.0/modules/randlib/src/c/mt.c

"fsultra.c" license is "no commercial use only" (commercial use must be contact).

"mt.c" license is "Artistic License". (See bug 886838)

license file is:  scilab-5.4.0/modules/randlib/license.txt

Its non-free, and CeCILL incompatible.


and CeCILL incompatible (I think) files found. 

See:

scilab-5.4.0/modules/fftw/license.txt
scilab-5.4.0/modules/data_structures/license.txt
scilab-5.4.0/modules/external_objects/license.txt
scilab-5.4.0/modules/external_objects/gui/license.txt
scilab-5.4.0/modules/localization/license.txt
scilab-5.4.0/modules/output_stream/license.txt
scilab-5.4.0/modules/polynomials/license.txt
scilab-5.4.0/modules/scicos/src/scicos_sundials/LICENSE
scilab-5.4.0/modules/scicos/src/scicos_sundials/LICENSE
scilab-5.4.0/modules/special_functions/license.txt
scilab-5.4.0/modules/spreadsheet/license.txt
scilab-5.4.0/modules/spreadsheet/src/c/ripole/LICENSE.ripole
scilab-5.4.0/modules/symbolic/license.txt
scilab-5.4.0/modules/tclsci/tcl/sciGUI/license.txt
scilab-5.4.0/modules/umfpack/UMFPACK_license.txt
scilab-5.4.0/modules/umfpack/help/en_US/taucs_license.xml
scilab-5.4.0/modules/umfpack/help/en_US/umf_license.xml
scilab-5.4.0/modules/windows_tools/license.txt
scilab-5.4.0/modules/atoms/license.txt
scilab-5.4.0/modules/call_scilab/license.txt
scilab-5.4.0/modules/data_structures/license.txt


Question:

X11, LGPL, BSD License and Apple license (See scilab-5.4.0/modules/gui/license.txt) is CeCILL comaptible ? 

Is this is "External Module" ?



Seggests:

1. Remove non-free code and rebuild.

2. Replace fedora free (Fedora acceptable licensed) files.

3. Remove Fedora repo.


Thanks.


Reference:

https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Software_License_List
http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
http://www.cecill.info/faq.en.html
http://www.cecill.info/placer.en.html#emprunt
Comment 1 mejiko 2013-02-13 04:18:20 EST
Blocking FE-Legal, This is license problem.
Comment 2 mejiko 2013-02-14 06:57:21 EST
Additonal non-free files:

I tried:

"find . -type f |xargs egrep -i "copyright" |less" (current directory is scilab source root directory)

and

cat ACKNOWLEDGEMENTS


File:

scilab-5.4.0/modules/gui/src/java/org/scilab/modules/gui/bridge/filechooser/FileMask.java

Its non-free. (See jai-imageio-core bug 858890) 
design use restriction.


scilab-5.4.0/libs/libst/misc.c

This license is "freely redistributable", but do not allow modify.
Its non-free.


modules/polynomials/src/fortran/rpoly.f

This is based toms library. (See scilab-5.4.0/ACKNOWLEDGEMENTS)
This license is "non-commercial use" only.
Its non-free.

See: http://www.acm.org/publications/policies/softwarecrnotice

and Reference bug: bug 676858

thanks.


Reference:

http://lists.alioth.debian.org/pipermail/debian-science-maintainers/2010-February/002743.html

http://www.netlib.org/toms/
Comment 3 Sylvestre Ledru 2013-04-03 09:28:22 EDT
Sorry about the lag.
Many thanks for the feedback, it is always interesting! 

1) mt.c issue.
The mt.c should be replaced by the one describe here:
http://forge.scilab.org/index.php/p/distfun/issues/1057/

2) fsultra issue
I think this algorithm should be removed (anyway, the feature itself should be refreshed in term of new algorithm).

3) X11, LGPL, BSD License and Apple license (See scilab-5.4.0/modules/gui/license.txt) is CeCILL comaptible ? 
=> yes, they are

4) modules/gui/src/java/org/scilab/modules/gui/bridge/filechooser/FileMask.java
I think you are wrong here.
The part used in the code is not the same as in bug 858890 and there is not this restriction

5) libs/libst/*
The code has been rewritten and the new version of the code has been integrated in Scilab 5.4.1:
http://cgit.scilab.org/cgit.cgi/scilab/commit/?h=5.4&id=879e8f383ea90da1564128dbd86d81ef17441985

6) about the rpoly, I will need to have a look on this.


PS: As a disclaimer, I am part of upstream (it is obvious with my email address ;)
Comment 4 mejiko 2013-04-06 08:42:54 EDT
If used rpoly, I suggests that replace rpoly or contact rpoly author.
Its non-free. (commercial use restriction)

If unused rpoly, I suggests that removing rpoly.

Thanks.
Comment 5 mejiko 2013-08-04 22:39:58 EDT
Fedora 19 version is not resolved this problem.
Comment 6 mejiko 2014-03-15 06:00:43 EDT
Changed to rawhide. (2014-03-03)

Is this bug is resolved ?
How it this bug current status ? 

Thanks.
Comment 7 Clément DAVID 2014-06-11 06:17:31 EDT
Work in progress, I have added the upstream bug.
Comment 8 mejiko 2015-05-07 06:00:51 EDT
Add Reference URI:

https://codereview.scilab.org/#/c/15612/
Comment 9 Jan Kurik 2015-07-15 10:51:47 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23
Comment 10 Jan Kurik 2016-02-24 08:12:14 EST
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
Comment 11 mejiko 2016-02-25 03:50:36 EST
Is this bug is resolved ?

Thanks.
Comment 12 Clément DAVID 2016-02-29 11:43:13 EST
After some checking, the commit is not merged and does not seems to be complete nor ready yet.
Comment 13 mejiko 2016-10-27 05:46:05 EDT
Upstream resolved this problem.
Comment 14 mejiko 2016-12-15 02:08:31 EST
Is this bug is resolved ?

Thanks.
Comment 15 Sylvestre Ledru 2016-12-15 03:41:47 EST
Yes, it has been fixed the 6 branch.
Debian backported the patch to the 5 branch:
https://anonscm.debian.org/viewvc/debian-science/packages/scilab/branches/5.5/debian/patches/scilab.git-f1d7f06.patch?revision=47404&view=co
Comment 16 Fedora Update System 2017-02-26 05:44:45 EST
scilab-6.0.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b5dcb8891d
Comment 17 Clément DAVID 2017-02-26 05:47:04 EST
It is now fixed in the latest 6.0.0 release !
Comment 18 Fedora Update System 2017-02-26 18:19:00 EST
scilab-6.0.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b5dcb8891d
Comment 19 Fedora End Of Life 2017-02-28 04:33:26 EST
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.