[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-debian] Bug#790062: FTBFS with OCaml 4.02.2
From: |
Stéphane Glondu |
Subject: |
[Monotone-debian] Bug#790062: FTBFS with OCaml 4.02.2 |
Date: |
Sun, 28 Jun 2015 17:24:12 -0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
On Sat, 27 Jun 2015 16:56:22 +0200 Thomas Moschny
<address@hidden> wrote:
> I tried to fix monotone-viz's FTBFS for Fedora Rawhide (where we also
> have OCaml 4.02.2) with this patch, however compiling fails with this
> error:
>
> [...]
> ocamlc.opt -I /usr/lib/ocaml/lablgtk2 -I glib app_types.mli
> cd glib ; /usr/lib/ocaml/lablgtk2/varcc -static gspawn_tags.var
> File "app_types.mli", line 13, characters 23-33:
> Error: Unbound module Monotone
> Makefile:102: recipe for target 'app_types.cmi' failed
> [...]
>
> Any hint what goes on here?
The command line you quote looks suspicious. The "cd glib; ..." line
should not be there. Are you using -j (parallel build)? Is the full
build log available somewhere?
The build log for my successful build of monotone-viz using OCaml 4.02.2
can be found at:
http://ocaml.debian.net/debian/ocaml-4.02.2/pool/monotone-viz_1.0.2-3.1_amd64.build
As you can see, monotone.mli is compiled before app_types.mli. That
order is broken somehow on your side.
Cheers,
--
Stéphane