English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Strange, occasional build failure with ocamlmklib / ranlib
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2009-06-02 (14:53)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Strange, occasional build failure with ocamlmklib / ranlib
On Tue, Jun 02, 2009 at 03:46:27PM +0100, Richard Jones wrote:
> I just want to post this here in case it rings a bell with anyone:
> ocamlfind ocamlc -c guestfs.mli
> ocamlfind ocamlc -c guestfs.ml
> ocamlfind ocamlopt -c guestfs.ml
> ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmo
> -L../src/.libs -lguestfs
> ocamlmklib -o mlguestfs guestfs_c.o guestfs_c_actions.o guestfs.cmx
> -L../src/.libs -lguestfs
> ranlib: './libmlguestfs.a': No such file

I think I've solved this -- the therapeutic effect of posting on
caml-list works!

I think those two invocations of ocamlmklib are being run in parallel,
so one is deleting the output file of the other.

> https://bugzilla.redhat.com/show_bug.cgi?id=502309


Richard Jones
Red Hat