Hi,
kalzium doesn't build with ocaml 4.04, see:
https://bugs.kde.org/show_bug.cgi?id=372671
cfeck |
KDE Edu |
Hi,
kalzium doesn't build with ocaml 4.04, see:
https://bugs.kde.org/show_bug.cgi?id=372671
The proposed patch was tested in our work in progress kubuntu's packaging; it fixes the build with ocaml 4.04 and apparently it doesn't break compilation against earlier ocaml versions.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I'd gladly give you a +1 but I have no idea about ocaml, maybe you can point us to the documentation?
Apparently this is something that changed in ocaml eventually...
The referenced bug report has a link that documents the ocaml change (in a rather too verbose way).
EDIT: What has to be tested is if this change still allows it to be built with previous ocaml versions. Test plan included this test.
This seems to fix this specific error, but now the build fails with a different error (using ocaml 4.05)
File "/build/kalzium/src/kalzium-17.04.3/src/solver/chem.ml", line 1:
Error: The files /usr/lib/ocaml/pervasives.cmi
and /usr/lib/ocaml/facile/facile.cmi make inconsistent assumptions over interface Pervasives
make[2]: * [src/CMakeFiles/kalzium.dir/build.make:182: src/chem.cmx] Error 2
make[2]: * Waiting for unfinished jobs....
make[1]: * [CMakeFiles/Makefile2:3087: src/CMakeFiles/kalzium.dir/all] Error 2
make[1]: * Waiting for unfinished jobs....
Have you tried to rebuild facile on top of your latest ocaml 4.05 before building kalzium?
That was it, sorry for the noise. I can confirm that the patch fixes the build of the solver.