Open glondu opened 1 year ago
Is this using a Debian-patched version of OCaml? Could you try with a vanilla opam install of OCaml instead as a first step?
Yes. Actually, the problem comes from building with NO_CUSTOM=y
. However, without it, camlpdf.cma
has the Force custom
flag on... I've disabled building the toplevel for the time being.
Is there anything for me to fix here? Is this an OCamlmakefile problem? Are these flags new in recent versions of OCaml?
An OCamlMakefile problem, I would say.
-custom
has an history, which I can summarize (from memory) as follows:
-custom
and pristine ocaml cannot be stripped, because the stripping process removes the bytecode and leaves only the runtime in the binary, making it mostly useless-custom
compatible with strip-custom
is deprecated and should no longer be usedThis is why the package is built with NO_CUSTOM=y
.
By the way, #load
-ing camlpdf in the standard toplevel (or utop) seems to work. I do not see the value of building camlpdf.top.
Thanks for the explanation. I've removed the building of camlpdf.top, and I'll leave this bug open to remind me to have another think about -custom for the next release.
Hi,
When updating the Debian package from 2.4 to 2.5.3, I get the following error: