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=1.8 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 83527BBAF for ; Tue, 2 Jun 2009 16:53:35 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8CAIbZJErRVZK1m2dsb2JhbACXUj8BAQEBAQgJCgkRp1uPfgEDAgSEBwWHDw X-IronPort-AV: E=Sophos;i="4.41,291,1241388000"; d="scan'208";a="27202964" Received: from wa-out-1112.google.com ([209.85.146.181]) by mail2-smtp-roc.national.inria.fr with ESMTP; 02 Jun 2009 16:53:34 +0200 Received: by wa-out-1112.google.com with SMTP id j37so1857906waf.9 for ; Tue, 02 Jun 2009 07:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=OLgIHxU3CsNXnETRMw2FLa6E0/l17e+bnul+bjAGIl4=; b=e4JznErIQCvNRBbOTqMXLiqRDL9gN+XcEJd8NA1QyDoujk0Y+DgUE4ZwtUbExnqbB3 RQz/Mby74w7/LU4NoSvzY9OqqpSCQkKuO/4EpIQuBbwahDxUPZ6J2SdQR+ArMr7ZpjL0 dUhXiFmEYtkPp7PKHkZY7Ozjzzh2Tlj7wWAQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=XlvaR1YndixBadgpilFfcVMTVLGRMWkRdwT9HMGxYTvuri+9iVieWxZzDXkqaG9jUc pvN6I3QwYtNil8p3oyCw0k0TVCFDkjqBGRKKk1j5NwJxST5Ro0gxgnaBPRhYwX4IbPF1 FxwITTeHORsixEcF/D1bwL9RPTB87m1QbdaB0= MIME-Version: 1.0 Sender: oandrieu@gmail.com Received: by 10.114.93.17 with SMTP id q17mr6488964wab.38.1243954413651; Tue, 02 Jun 2009 07:53:33 -0700 (PDT) In-Reply-To: <20090602144627.GA20574@annexia.org> References: <20090602144627.GA20574@annexia.org> Date: Tue, 2 Jun 2009 16:53:33 +0200 X-Google-Sender-Auth: 62b138a49c0d7ca7 Message-ID: <95513600906020753x32538883g9c520718e2b5f2b7@mail.gmail.com> Subject: Re: [Caml-list] Strange, occasional build failure with ocamlmklib / ranlib From: Olivier Andrieu To: Richard Jones Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; ocamlmklib:01 ranlib:01 andrieu:01 oandrieu:01 ocamlfind:01 ocamlc:01 mli:01 ocamlfind:01 ocamlc:01 ocamlopt:01 ocamlmklib:01 cmo:01 libs:01 cmx:01 libs:01 On Tue, Jun 2, 2009 at 16:46, 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. =A0Usually 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: > > https://bugzilla.redhat.com/show_bug.cgi?id=3D502309 > > Anyone got any ideas at all? Is it a parallel make ? If so, the concurrent ocamlmklib are probably stepping on each other's toes ... You could try either calling ocamlklib once, or 3 times (with the .o, the .cmo and the .cmx); --=20 Olivier