caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Philippe Veber <philippe.veber@gmail.com>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] OASIS help : odb.ml oasis fails
Date: Thu, 17 May 2012 10:25:44 +0200	[thread overview]
Message-ID: <CAOOOohQ8sH53mCOkyp+764V9Tpp9caXBV7F0RGV1w7b4XFC2Mw@mail.gmail.com> (raw)
In-Reply-To: <4FB4635E.8000508@riken.jp>

[-- Attachment #1: Type: text/plain, Size: 3236 bytes --]

HI François,

I remember seeing this last week. I switched to the unstable version, which
compiled fine, so:

odb.ml --unstable oasis

should do it. Bonus: you'll get the 0.3 version of oasis, which supports
the Pack option for libraries (among other good surprises).

ph.

2012/5/17 Francois Berenger <berenger@riken.jp>

> Hello,
>
> With odb.ml as installed by ocamlbrew,
> 'odb.ml oasis' doesn't terminate correctly:
>
> ---
> W: Cannot find source file matching module 'OASISData' in library oasis
> I: Running command '/home/berenger/ocamlbrew/**ocaml-3.12.1/bin/ocamlbuild
> src/oasis/oasis.cma src/oasis/oasis.cmxa src/oasis/oasis.a
> src/base/base.cma src/base/base.cmxa src/base/base.a
> src/builtin-plugins.cma src/builtin-plugins.cmxa src/builtin-plugins.a
> src/cli/cli.cma test/test.byte src/cli/Main.byte -tag debug'
> Finished, 1 target (0 cached) in 00:00:00.
> + ocamlfind ocamlc -c -g -annot -I src/oasis -I src/base -I src -package
> unix -package pcre -package odn -package ocamlgraph -package oUnit -package
> findlib -package fileutils -package extlib -package expect.pcre -I test -I
> src -I src/base -I src/cli -I src/oasis -I src/plugins/none -I
> src/plugins/ocamlbuild -I src/plugins/internal -I src/plugins/custom -I
> src/plugins/extra/stdfiles -I src/plugins/extra/devfiles -I
> src/plugins/extra/META -o test/TestFileTemplate.cmo test/TestFileTemplate.ml
> File "test/TestFileTemplate.ml", line 172, characters 13-31:
> Warning 5: this function application is partial,
> maybe some arguments are missing.
> + ocamlfind ocamlc -c -g -annot -I src/oasis -I src/base -I src -package
> unix -package pcre -package odn -package ocamlgraph -package oUnit -package
> findlib -package fileutils -package extlib -package expect.pcre -I test -I
> src -I src/base -I src/cli -I src/oasis -I src/plugins/none -I
> src/plugins/ocamlbuild -I src/plugins/internal -I src/plugins/custom -I
> src/plugins/extra/stdfiles -I src/plugins/extra/devfiles -I
> src/plugins/extra/META -o test/TestMETA.cmo test/TestMETA.ml
> File "test/TestMETA.ml", line 118, characters 12-1952:
> Error: This expression has type (string * Fl_metascanner.pkg_expr) option
>       but an expression was expected of type unit
> Command exited with code 2.
> Compilation unsuccessful after building 451 targets (0 cached) in 00:00:19.
> E: Command '/home/berenger/ocamlbrew/**ocaml-3.12.1/bin/ocamlbuild
> src/oasis/oasis.cma src/oasis/oasis.cmxa src/oasis/oasis.a
> src/base/base.cma src/base/base.cmxa src/base/base.a
> src/builtin-plugins.cma src/builtin-plugins.cmxa src/builtin-plugins.a
> src/cli/cli.cma test/test.byte src/cli/Main.byte -tag debug' terminated
> with error code 10
> Exception: Failure "Could not build oasis".
> ---
>
> I understand some unit test is failing.
>
> Regards,
> F.
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/**wws/info/caml-list<https://sympa-roc.inria.fr/wws/info/caml-list>
> Beginner's list: http://groups.yahoo.com/group/**ocaml_beginners<http://groups.yahoo.com/group/ocaml_beginners>
> Bug reports: http://caml.inria.fr/bin/caml-**bugs<http://caml.inria.fr/bin/caml-bugs>
>
>

[-- Attachment #2: Type: text/html, Size: 3883 bytes --]

  reply	other threads:[~2012-05-17  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17  2:33 Francois Berenger
2012-05-17  8:25 ` Philippe Veber [this message]
2012-05-17 10:24   ` Francois Berenger

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=CAOOOohQ8sH53mCOkyp+764V9Tpp9caXBV7F0RGV1w7b4XFC2Mw@mail.gmail.com \
    --to=philippe.veber@gmail.com \
    --cc=berenger@riken.jp \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).