From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 005BABBAF for ; Tue, 2 Jun 2009 16:58:58 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkwBANjaJEpCbwQaemdsb2JhbACYEQEBFCQEt1aECwU X-IronPort-AV: E=Sophos;i="4.41,291,1241388000"; d="scan'208";a="40952260" Received: from out2.smtp.messagingengine.com ([66.111.4.26]) by mail4-smtp-sop.national.inria.fr with ESMTP; 02 Jun 2009 16:58:58 +0200 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 1795F34C4F8; Tue, 2 Jun 2009 10:58:57 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 02 Jun 2009 10:58:57 -0400 X-Sasl-enc: JozPimRagfQQ2UgEeWlNcpvpaLKnSQRHbqagJ7NvWv6W 1243954736 Received: from [192.168.1.10] (ALyon-157-1-60-225.w81-251.abo.wanadoo.fr [81.251.27.225]) by mail.messagingengine.com (Postfix) with ESMTPSA id 62C774A110; Tue, 2 Jun 2009 10:58:56 -0400 (EDT) Message-ID: <4A253D07.40103@ens-lyon.org> Date: Tue, 02 Jun 2009 16:53:59 +0200 From: Martin Jambon User-Agent: Thunderbird 2.0.0.17 (X11/20081008) MIME-Version: 1.0 To: Richard Jones Cc: caml-list@inria.fr Subject: Re: [Caml-list] Strange, occasional build failure with ocamlmklib / ranlib References: <20090602144627.GA20574@annexia.org> In-Reply-To: <20090602144627.GA20574@annexia.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; ens-lyon:01 ocamlmklib:01 ranlib:01 ocamlfind:01 ocamlc:01 mli:01 ocamlfind:01 ocamlc:01 ocamlopt:01 ocamlmklib:01 cmo:01 libs:01 cmx:01 libs:01 ranlib:01 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. Martin > 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. > -- http://mjambon.com/