From: Anil Madhavapeddy <anil@recoil.org>
To: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamlbuild circular dependencies
Date: Wed, 26 Oct 2011 14:22:14 +0100 [thread overview]
Message-ID: <20111026132214.GA31354@dark.recoil.org> (raw)
In-Reply-To: <20111026125804.GP2061@localhost>
On Wed, Oct 26, 2011 at 02:58:04PM +0200, Guillaume Yziquel wrote:
> Hi.
>
> I have some weird circular dependencies build issue using ocamlbuild.
> Something like:
>
> Circular dependencies: "A.cmo" already seen in
> [ "A/C.cmi"; "A.cmo"; "B/D.cmo" ]
>
> I haven't been able to trim it down to a simpler reproducible example.
> How are circular dependencies determined and how are dependency
> information managed inside the _build/ folder?
>
> More specifically, A and B are module packs (for-pack tag in _tags) and
> I do not see a .depends file for the top pack module, so I'd like to
> know where this information is kept.
I see this happen if I forget to specify a sub-module in an .mlpack
file, but use it anyway (so it's pulled in as a dependency to the pack,
but not actually explicitly part of the pack).
So just try listing all the modules you use explicitly in the .mlpack and
see if the issue goes away.
--
Anil Madhavapeddy http://anil.recoil.org
next prev parent reply other threads:[~2011-10-26 13:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 12:58 Guillaume Yziquel
2011-10-26 13:22 ` Anil Madhavapeddy [this message]
2011-10-26 13:45 ` Guillaume Yziquel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111026132214.GA31354@dark.recoil.org \
--to=anil@recoil.org \
--cc=caml-list@inria.fr \
--cc=guillaume.yziquel@citycable.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox