Control: reassign -1 src:scilab
Hi,
Le 16/08/2025 à 15:05, Pierre Gruet a écrit :
libnum-ocaml-dev 1.6-1 stopped shipping
/usr/lib/DEB_HOST_MULTIARCH/ocaml/5.3/nums.cmxa, which caused scilab to FTBFS:
------------------------------------------
ocamlopt -o modelicac -I ./src/modelica_compiler nums.cmxa
./src/modelica_compiler/parseTree.ml ./src/modelica_compiler/linenum.ml
./src/modelica_compiler/parser.ml ./src/modelica_compiler/lexer.ml
./src/modelica_compiler/precompilation.ml
./src/modelica_compiler/compilation.ml ./src/modelica_compiler/instantiation.ml
./src/modelica_compiler/graphNodeSet.ml
./src/modelica_compiler/symbolicExpression.ml
./src/modelica_compiler/squareSparseMatrix.ml
./src/modelica_compiler/bipartiteGraph.ml
./src/modelica_compiler/hungarianMethod.ml
./src/modelica_compiler/causalityGraph.ml
./src/modelica_compiler/optimization.ml
./src/modelica_compiler/xMLCodeGeneration.ml
./src/modelica_compiler/optimizingCompiler.ml
./src/modelica_compiler/scicosCodeGeneration.ml
./src/modelica_compiler/scicosOptimizingCompiler.ml
File "./src/modelica_compiler/symbolicExpression.ml", line 23, characters 5-8:
23 | open Num
^^^
Error: Unbound module "Num"
------------------------------------------
I see the file /usr/lib/DEB_HOST_MULTIARCH/ocaml/5.3/num/num.cmxa is now
shipped (instead?), but substituting it in the above command line causes the
same error message than above, and anyway that new file is almost empty.
This is an upstream change in ocaml-num. It should be transparent to
packages using ocamlfind or dune.
Can you change your call to "ocamlopt" by "ocamlfind ocamlopt -package
num -linkpkg" ?
Cheers,
--
Stéphane