ocaml / opam-repository

Main public package repository for opam, the source package manager of OCaml.
https://opam.ocaml.org
Creative Commons Zero v1.0 Universal
516 stars 1.12k forks source link

ocamlot triage 20130830 mainly for Linux 4.00.1 and some 4.1 #1029

Closed avsm closed 10 years ago

avsm commented 11 years ago

Triage results to keep track of issues before fixing them all. Note that the link URLs will break later (we need a permalink mechanism for these -- I'll edit the issue with the version of ocamlot-state required to reconstruct these links later).

pdonadeo commented 11 years ago

Anil, can you elaborate more about ocaml-lua failure? I just installed the package with opam using OCaml 3.12.1, 4.00.1 and 4.01.0 on my Linux box and everything seems to run smoothly. It's an Ubuntu 13.04 and the three versions of OCaml have been installed via opam, no Debian packages.

avsm commented 11 years ago

I believe this happens only on the system compiler:

stdout

Cannot find file topfind.

stderr

Unknown directive `require'. E: Failure("Command './post_conf.ml' terminated with error code 2")

It happens across the board on 4.00.1 and 4.01.0 in the test runs. See: https://ocamlot.recoil.org/github/OCamlPro/opam-repository (temporary url, will disappear later today as I restart tests with RC1)

On 2 Sep 2013, at 21:37, Paolo Donadeo notifications@github.com wrote:

Anil, can you elaborate more about ocaml-lua failure? I just installed the package with opam using OCaml 3.12.1, 4.00.1 and 4.01.0 on my Linux box and everything seems to run smoothly. It's an Ubuntu 13.04 and the three versions of OCaml have been installed via opam, no Debian packages.

— Reply to this email directly or view it on GitHub.

pdonadeo commented 11 years ago

The script post_conf.ml assumes the presence of ocamlfind, because it's a dependancy of the package ocaml-lua. And topfind comes with ocamlfind, I believe.

If all this story is wrong, I have to find a workaround.

avsm commented 11 years ago

I've just confirmed that it doesn't work if it's using the 'system' compiler switch (with the earlier error), but does work fine if it's using a custom switch.

On 3 Sep 2013, at 09:20, Paolo Donadeo notifications@github.com wrote:

The script post_conf.ml assumes the presence of ocamlfind, because it's a dependancy of the package ocaml-lua. And topfind comes with ocamlfind, I believe.

If all this story is wrong, I have to find a workaround.

— Reply to this email directly or view it on GitHub.

samoht commented 11 years ago

btw, for the system compiler switch, "topfind" is stored into ~/.opam/system/lib/toplevel/topfind.

avsm commented 11 years ago

Right, and the environment variable OCAML_TOPLEVEL_PATH points to it, so that needs to be searched if it's set.

On 3 Sep 2013, at 09:32, Thomas Gazagnaire notifications@github.com wrote:

btw, for the system compiler switch, "topfind" is stored into ~/.opam/system/toplevel/topfind.

— Reply to this email directly or view it on GitHub.

pdonadeo commented 11 years ago

Ok, very easy to fix. I'll submit the patch ASAP.

avsm commented 11 years ago

thanks for the fix @pdonadeo; I'll let you know if it reappears; marked as fixed here.

samoht commented 10 years ago

Could we close this triaging run ?

avsm commented 10 years ago

Still a lot of failures, but I think it's easier to re-triage due to several version upgrades.