Bug#955694: scilab: FTBFS: Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).

Gilles Filippini pini at debian.org
Wed Apr 22 18:35:40 BST 2020


Gilles Filippini a écrit le 22/04/2020 à 09:59 :
> Hi,
> 
> Matthias Klose a écrit le 20/04/2020 à 12:49 :
>> On 4/20/20 11:52 AM, Gilles Filippini wrote:
>>> I'd like to do a bisect between openjdk-11 11.0.6+10-2 and 11.0.7+9-1 to
>>> better understand the problem but I can't find the corresponding branch
>>> on the openjdk Mercurial repo.
>>
>> http://hg.openjdk.java.net/jdk-updates/jdk11u/
>>
> 
> This commit is the culprit:
> http://hg.openjdk.java.net/jdk-updates/jdk11u/rev/21710e014d7f
> 
> It makes sense since it is related to System.loadLibrary().
> 
> Because Scilab loads Java from C++ code I guess moving usr_paths ans
> sys_paths initialization out of System.loadLibrary might have some
> consequences.
> 
> Applying the attached patch to openjdk-11 solves the problem. Not sure
> this is the right thing to do, but it keeps the deadlock fix brought by
> the jdk changeset and allows for sys_paths and usr_paths initialization
> in System.loadLibrary() when needed.
> 
> @doko, please consider adding this patch to the openjdk-11 source
> package until a proper fix is found for Scilab.

I think I've eventually found a fix for Scilab. Please hold.

_g.



More information about the debian-science-maintainers mailing list