Building Scilab fails on Arch Linux
Building Scilab fails on Arch Linux with the following message
Building the Scilab manual master document for ru_RU.
Building the scilab manual file [javaHelp]
Warning: Overwrite image interp1_1.png from line 291 in interp1.xml. Check
the code or use scilab:localized="true" attribute.
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Bcast.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Bcast.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Create_comm.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Create_comm.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Create_comm.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Create_comm.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Create_comm.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Create_comm.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Finalize.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Finalize.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Init.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Init.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Irecv.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Irecv.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Irecv.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Isend.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Isend.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Isend.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Recv.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Recv.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Send.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Send.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (mpi_technical.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (mpi_technical.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (mpi_technical.xml).
Warning: the command MPI_Comm_rank is used in an example and is
undocumented (MPI_Wait.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Wait.xml).
Warning: the command MPI_Comm_size is used in an example and is
undocumented (MPI_Wait.xml).
Total files without example: 909
Total generated html files: 2721
Generate image ./interp1_1.png from Scilab code from file interp1.xml
terminate called after throwing an instance of
'GiwsException::JniCallMethodException'
what(): Exception when calling Java method :
at
org.scilab.modules.renderer.JoGLView.axes.ruler.AxesRulerSpriteFactory.createSimpleSprite(Unknown
Source)
at
org.scilab.modules.renderer.JoGLView.axes.ruler.AxesRulerSpriteFactory.create(Unknown
Source)
at
org.scilab.forge.scirenderer.ruler.RulerDrawer$OneShotRulerDrawer.computeSprite(Unknown
Source)
at
org.scilab.forge.scirenderer.ruler.RulerDrawer$OneShotRulerDrawer.computeAutoGraduation(Unknown
Source)
at
org.scilab.forge.scirenderer.ruler.RulerDrawer$OneShotRulerDrawer.computeRuler(Unknown
Source)
at org.scilab.forge.scirenderer.ruler.RulerDrawer.computeRuler(Unknown
Source)
at
org.scilab.modules.renderer.JoGLView.axes.ruler.AxesRulerDrawer.computeRulers(Unknown
Source)
at
org.scilab.modules.renderer.JoGLView.axes.AxesDrawer.computeRulers(Unknown
Source)
at org.scilab.modules.renderer.JoGLView.DrawerVisitor.needUpdate(Unknown
Source)
at org.scilab.modules.graphic_export.Export$3.updateObject(Unknown Source)
at
org.scilab.modules.graphic_objects.graphicController.GraphicController$2.run(Unknown
Source)
at
org.scilab.modules.graphic_objects.graphicController.GraphicController.objectUpdate(Unknown
Source)
at
org.scilab.modules.graphic_objects.graphicController.GraphicController.setProperty(Unknown
Source)
at
org.scilab.modules.graphic_objects.CallGraphicController.setGraphicObjectProperty(Unknown
Source)
at
org.scilab.modules.graphic_objects.CallGraphicController.setGraphicObjectProperty(Unknown
Source)
at
org.scilab.modules.renderer.JoGLView.axes.ruler.AxesRulerSpriteFactory.createSimpleSprite(Unknown
Source)
at
org.scilab.modules.renderer.JoGLView.axes.ruler.AxesRulerSpriteFactory.create(Unknown
Source)
at
org.scilab.forge.scirenderer.ruler.RulerDrawer$OneShotRulerDrawer.computeSprite(Unknown
Source)
at
org.scilab.forge.scirenderer.ruler.RulerDrawer$OneShotRulerDrawer.computeAutoGraduation(Unknown
Source)
at
org.scilab.forge.scirenderer.ruler.RulerDrawer$OneShotRulerDrawer.computeRuler(Unknown
Source)
at org.scilab.forge.scirenderer.ruler.RulerDrawer.computeRuler(Unknown
Source)
at
org.scilab.modules.renderer.JoGLView.axes.ruler.AxesRulerDrawer.computeRulers(Unknown
Source)
at
org.scilab.modules.renderer.JoGLView.axes.AxesDrawer.computeRulers(Unknown
Source)
at org.scilab.modules.renderer.JoGLView.DrawerVisitor.needUpdate(Unknown
Source)
at org.scilab.modules.graphic_export.Export$3.updateObject(Unknown Source)
at
org.scilab.modules.graphic_objects.graphicController.GraphicController$2.run(Unknown
Source)
at
org.scilab.modules.graphic_objects.graphicController.GraphicController.objectUpdate(Unknown
Source)
at
org.scilab.modules.graphic_objects.graphicController.GraphicController.setProperty(Unknown
Source)
at
org.scilab.modules.graphic_objects.CallGraphicController.setGraphicObjectProperty(Unknown
Source)
at
org.scilab.modules.graphic_objects.CallGraphicController.setGraphicObjectProperty(Unknown
Source)
A fatal error has been detected by Scilab.
Please check your user-defined functions (or external module ones) should
they appear in the stack trace.
Otherwise you can report a bug on http://bugzilla.scilab.org/ with:
* a sample code which reproduces the issue
* the result of [a, b] = getdebuginfo()
* the following information:
[d39f85713b41:334190] Signal: Aborted (6)
[d39f85713b41:334190] Signal code: (-6)
Call stack:
1: 0x8864c < > (/usr/lib/libc.so.6)
2: 0x38958 <gsignal> (/usr/lib/libc.so.6)
3: 0x2253d <abort> (/usr/lib/libc.so.6)
4: 0x99833 < > (/usr/lib/libstdc++.so.6)
5: 0xa5cfc < > (/usr/lib/libstdc++.so.6)
6: 0xa5d69 < > (/usr/lib/libstdc++.so.6)
7: 0xa5fcd < > (/usr/lib/libstdc++.so.6)
8: 0x17051 < >
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/graphic_objects/.libs/libscigraphic_objects.so.6)
9: 0x268d3 <setGraphicObjectPropertyAndWarn>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/graphic_objects/.libs/libscigraphic_objects.so.6)
10: 0x67010 <strflag2axes_properties>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/graphics/.libs/libscigraphics.so.6)
11: 0x675e2 <plot2dn>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/graphics/.libs/libscigraphics.so.6)
12: 0x60d4e <Objplot2d>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/graphics/.libs/libscigraphics.so.6)
13: 0x2f22c <sci_plot2d>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/graphics/.libs/libscigraphics.so.6)
14: 0x4a76d9 <types::WrapFunction::call(std::vector<types::InternalType*,
std::allocator<types::InternalType*> >&,
std::unordered_map<std::__cxx11::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*,
std::hash<std::__cxx11:>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/ast/.libs/libsciast.so.6)
15: 0x4a9731
<types::DynamicFunction::call(std::vector<types::InternalType*,
std::allocator<types::InternalType*> >&,
std::unordered_map<std::__cxx11::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*,
std::hash<std::__cxx>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/ast/.libs/libsciast.so.6)
16: 0x49d250 <types::Callable::invoke(std::vector<types::InternalType*,
std::allocator<types::InternalType*> >&,
std::unordered_map<std::__cxx11::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*,
std::hash<std::__cxx11::b>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/ast/.libs/libsciast.so.6)
17: 0x1de927
<ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::CallExp const&)>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/ast/.libs/libsciast.so.6)
18: 0x1cac83
<ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::SeqExp const&)>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/ast/.libs/libsciast.so.6)
19: 0x11896 <sci_execstr>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/functions/.libs/libscifunctions.so.6)
20: 0x4a9731
<types::DynamicFunction::call(std::vector<types::InternalType*,
std::allocator<types::InternalType*> >&,
std::unordered_map<std::__cxx11::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*,
std::hash<std::__cxx>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/ast/.libs/libsciast.so.6)
21: 0x49d250 <types::Callable::invoke(std::vector<types::InternalType*,
std::allocator<types::InternalType*> >&,
std::unordered_map<std::__cxx11::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >, types::InternalType*,
std::hash<std::__cxx11::b>
(/home/scilaber/scilab/src/scilab-6.1/scilab/modules/ast/.libs/libsciast.so.6)
22: 0x1de927
<ast::RunVisitorT<ast::ExecVisitor>::visitprivate(ast::CallExp con
make: *** [Makefile:2286: doc] Error 1
Notes
- The installed packages as dependencies (
pacman -Qd
) is attached - Building Scilab branch 6.1 (latest)
- installed_packages.txt
- A Dockerfile that reproduces the error exists at https://github.com/weshouman/dpl-docker-scilab/blob/master/DockerfileArchBuildReduced
Edited by Walid