caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] OASIS help : odb.ml oasis fails
@ 2012-05-17  2:33 Francois Berenger
  2012-05-17  8:25 ` Philippe Veber
  0 siblings, 1 reply; 3+ messages in thread
From: Francois Berenger @ 2012-05-17  2:33 UTC (permalink / raw)
  To: caml-list

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] OASIS help : odb.ml oasis fails
  2012-05-17  2:33 [Caml-list] OASIS help : odb.ml oasis fails Francois Berenger
@ 2012-05-17  8:25 ` Philippe Veber
  2012-05-17 10:24   ` Francois Berenger
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Veber @ 2012-05-17  8:25 UTC (permalink / raw)
  To: Francois Berenger; +Cc: caml-list

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] OASIS help : odb.ml oasis fails
  2012-05-17  8:25 ` Philippe Veber
@ 2012-05-17 10:24   ` Francois Berenger
  0 siblings, 0 replies; 3+ messages in thread
From: Francois Berenger @ 2012-05-17 10:24 UTC (permalink / raw)
  Cc: caml-list

On 05/17/2012 05:25 PM, Philippe Veber wrote:
> HI François,
>
> I remember seeing this last week. I switched to the unstable version,
> which compiled fine, so:
>
> odb.ml <http://odb.ml> --unstable oasis
>
> should do it.

Yes it does, oasis was installed then. Thanks!

 > 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 <mailto:berenger@riken.jp>>
>
>     Hello,
>
>     With odb.ml <http://odb.ml> as installed by ocamlbrew,
>     'odb.ml <http://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>
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-17 10:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-17  2:33 [Caml-list] OASIS help : odb.ml oasis fails Francois Berenger
2012-05-17  8:25 ` Philippe Veber
2012-05-17 10:24   ` Francois Berenger

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).