[opam-devel] opam bulk builds linked in experimentally to opam.ocaml.org

Anil Madhavapeddy anil at recoil.org
Fri Apr 3 16:54:09 BST 2015

On 3 Apr 2015, at 15:06, Török Edwin <edwin+ml-ocaml at etorok.net> wrote:
> On 04/03/2015 04:35 PM, Anil Madhavapeddy wrote:
>> I've left the OPAM bulk builder rsyncing to a new logging volume on opam.ocaml.org (separate volume so if it gets full, it wont affect the rest of the infrastructure at all):
>>    http://opam.ocaml.org/builds/
> Quite a lot of failures on centos-7, looks like you are missing a '-y' from the yum invocation, for example:
> http://opam.ocaml.org/builds/9dca6ff98e94c70115863c7f4de47d18ca5a7a93/logs/local-centos-7-ocaml-4.02.1/raw/xapi-netdev.html
> Is this ok [y/d/N]: Exiting on user command
> Your transaction was saved, rerun it with:
> yum load-transaction /tmp/yum_save_tx.2015-04-01.07-56.DJFz0P.yumtx

It should have `-y` in there, so I'm a bit stumped.

I've swapped the next run to use `opam depext -d` to log the exact command being run...

> Also beware of yum's exitcode, I was surprised to find out that if you ask it to install multiple packages and some succeed and others fail (perhaps because they don't even exist) then (not sure if all versions) it still exits with code 0.
> In my scripts I usually do this then to be sure:
> yum -y install $PKG && rpm -q $PKG

That's useful, thanks! I've created:


More information about the opam-devel mailing list