On Mon, Oct 05, 2009 at 12:25:46PM +0200, Jim Meyering wrote:
Bingo.
This fixes it for me:
>From 842c0ea5a954250828bbe765365c7b52430d8e10 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Mon, 5 Oct 2009 12:25:15 +0200
Subject: [PATCH libguestfs] build: avoid parallel ocaml/... build failure
A parallel build could fail due to the use in ocaml/examples
of ocaml/guestfs.cmi before it was built.
* Makefile.am (SUBDIRS): Add both ocaml and ocaml/examples,
to ensure they're built in this order, and not in parallel.
* ocaml/Makefile.am (SUBDIRS): Don't define.
Thanks - please push.
But note that's an earlier bug with parallel builds, also in
the OCaml directory:
https://bugzilla.redhat.com/show_bug.cgi?id=502309
http://git.et.redhat.com/?p=libguestfs.git;a=commitdiff;h=76711b7e918f6dc...
It seems like your fix will NOT break this earlier fix. Is that
right?
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my programming blog:
http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora