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:58)
From: Martin Jambon <martin.jambon@e...>
Subject: Re: [Caml-list] Strange, occasional build failure with ocamlmklib / ranlib
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
> There's no other error visible.
> The error is intermittent, and fairly rare.  Usually if we just run
> the build again it succeeds.

Similar problem here (ocaml 3.09.2, amd64, Linux).  Because the error is
intermittent, I never took the pain to look at it further.  All I remember is
the pattern of the error message:

   ranlib: './your_ocaml_library_here.a': No such file

and the fact that it is infrequent and seems to occur randomly.


> We've seen the same bug happening on 3.09.3 and on 3.11.1+rc0.
> There are more detailed build logs here:
> https://bugzilla.redhat.com/show_bug.cgi?id=502309
> Anyone got any ideas at all?
> Rich.