Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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:46)
From: Richard Jones <rich@a...>
Subject: Strange, occasional build failure with ocamlmklib / ranlib
I just want to post this here in case it rings a bell with anyone:

ocamlfind ocamlc -c guestfs.mli
ocamlfind ocamlc -c
ocamlfind ocamlopt -c
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.

We've seen the same bug happening on 3.09.3 and on 3.11.1+rc0.

There are more detailed build logs here:

Anyone got any ideas at all?


Richard Jones
Red Hat