hello dear ocaml maintainers,

I have zero knowledge of ocaml, but need to build it with changes as a
build dependency for something else I am experimenting with. doing that
I stumbled over something very puzzling, perhaps you could help me
understand it:

debian/rules in ocaml (3.12.1) calls dh_ocaml, from the package dh-ocaml
on which it depends. so far so good. dh_ocaml, more specifically
/usr/bin/ocaml-md5sums, then calls ocamlobjinfo which is part of
ocaml-nox, but dh-ocaml does not depend on ocaml-nox. not a problem, I
can set OCAMLOBJINFO in the environment to the ocamlobjinfo which just
got built by ocaml itself. 

but the shebang line on that calls /usr/bin/ocamlrun, which again would
required ocaml installed. I can even get around that by setting
OCAMLOBJINFO to "<somepath>/ocamlrun <somepath>/ocamlobjinfo",
circumventing the shebang.

but ocamlobjinfo seems to call /usr/lib/ocaml/objinfo_helper, which I
can't seem to find a way around.

so to me this looks a bit like dh-ocaml would need a dependency on
ocaml, which of course is terrible because of the chicken-and-egg
bootstrapping issue. But I do not understand how this can ever build in
the absence of ocaml on the build machine. what am I missing?

thanks  robert

-- 
Robert Lemmen                               http://www.semistable.com 

Attachment: signature.asc
Description: Digital signature

Reply via email to