[opam-devel] Travis CI failures

Anil Madhavapeddy anil at recoil.org
Tue Sep 30 09:27:07 BST 2014


On 29 Sep 2014, at 19:46, Ashish Agarwal <agarwal1975 at gmail.com> wrote:

> Thanks. I now have it working on Ubuntu. The issue is that several OS packages have to be installed, not just "ocaml" and "camlp4". Thus, the instructions [1,2] we've been linking people to are incomplete.

That's right -- this has always been the case historically on Debian (somewhat suboptimally I think, but it fits in with their distribution criteria).  I usually do "ocaml ocaml-native-compilers camlp4-extra" to get everything.

> 
> I still don't know what to do on CentOS to get ocamldoc. Does anyone have the full list of packages for each OS?

You should have got ocamldoc with just ocaml there.  I believe you just need "ocaml" and "ocaml-camlp4" on CentOS, but please correct me if that's wrong.  I don't regularly use it and so could have missed something in the packaging.

> 
> Why are multiple packages needed? I would expect "apt-get install ocaml" or "yum install ocaml" to install everything that one gets from installing the source distribution of OCaml.
> 
> [1] http://software.opensuse.org/download.html?project=home:ocaml&package=opam
> [2] http://software.opensuse.org/download.html?project=home:ocaml&package=ocaml

That's just following upstream packaging practises.  I think it's better to do that and to document what packages are needed, rather than changing it for our local efforts.

However, it could be easier.  I'll take a look at making the Travis scripts a bit more automated by sourcing a central copy of the script from somewhere on GitHub.  That'll reduce the rate of cut and pastes..

-anil

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20140930/3f4e75ed/attachment.html>


More information about the opam-devel mailing list