caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] If you distribute oasis' setup.ml with your software, please use a recent (>= 0.3.0) version of Oasis
@ 2013-03-10 16:26 Gabriel Scherer
  2013-03-10 19:25 ` Wojciech Meyer
  2013-03-13 20:18 ` [Caml-list] " Sylvain Le Gall
  0 siblings, 2 replies; 5+ messages in thread
From: Gabriel Scherer @ 2013-03-10 16:26 UTC (permalink / raw)
  To: caml-list

The number of packages available through OPAM that list "oasis" as a
dependency (see list below) is too high -- oasis being designed to let
developers pre-generate setup.ml to avoid any actual dependency on it.

The reason for this is a glitch in old versions of Oasis (< 0.3.0)
that makes the generated setup.ml break with OCaml >= 4.00.0; OPAM
packagers list oasis as a dependency to regenerate a fixed setup.ml at
compilation time. This is the case in particular for the latest
versions of the following packages:
- ANSITerminal*
- bench*
- ocaml-expect
- ocaml-posix-resource
- ocaml-radixtree
- ocaml-sqlexpr
- optimization1d*
- root1d*

(*): oasis is the only dependency besides the ubiquitous ocamlfind

If you distribute setup.ml in your source releases, please make sure
that it is generated with a recent version of Oasis (>= 0.3.0). This
allows to remove oasis (and its four own dependencies) from the
dependencies of your package.

You can check which version of Oasis a given setup.ml comes from with
the command:
  ocaml setup.ml -version

If your package provides a setup.ml with version >= 0.3.0, and "oasis
setup" is still present in the "build" field of OPAM metadata
description (or "oasis" marked as a dependency for no other reason),
this is a packaging bug that you should report to the relevant package
maintainer or on the opam repository bugtracker (
https://github.com/OCamlPro/opam-repository/issues/ ).

PS: I learned about the bad interaction between Oasis < 0.3.0 and
OCaml >= 4.00.0 from Anil Madhavapeddy in the following bugtracker
item: https://github.com/OCamlPro/opam-repository/issues/496

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-13 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-10 16:26 [Caml-list] If you distribute oasis' setup.ml with your software, please use a recent (>= 0.3.0) version of Oasis Gabriel Scherer
2013-03-10 19:25 ` Wojciech Meyer
2013-03-10 20:55   ` Gabriel Scherer
2013-03-11  7:42   ` Maxence Guesdon
2013-03-13 20:18 ` [Caml-list] " Sylvain Le Gall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).