Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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

Rich.

-- 
Richard Jones
Red Hat