From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 4E8797ED1A for ; Thu, 17 May 2012 12:25:03 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmYFAAHRtE+GoCGimWdsb2JhbABEgx2eD5EZgSsBAQEBAQgLCwcUJ4IVAQEEATIBBTYKARALGAkEEggHCQMCAQIBMwEREwEFAgEBDoduAwYFC7IJA4ldixOFVwOIYY0ZgRGEZI1D X-IronPort-AV: E=Sophos;i="4.75,608,1330902000"; d="scan'208";a="144154542" Received: from postman2.riken.jp (HELO postman.riken.jp) ([134.160.33.162]) by mail4-smtp-sop.national.inria.fr with ESMTP; 17 May 2012 12:25:01 +0200 Received: from postman.riken.jp (postman2.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id C914C1260426 for ; Thu, 17 May 2012 19:24:58 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id 2DBD01270063 for ; Thu, 17 May 2012 19:24:58 +0900 (JST) Message-ID: <4FB4D1FA.1020707@riken.jp> Date: Thu, 17 May 2012 19:24:58 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 CC: caml-list@inria.fr References: <4FB4635E.8000508@riken.jp> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.5.17.100915 Subject: Re: [Caml-list] OASIS help : odb.ml oasis fails 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 --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 > > > 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 > > Beginner's list: http://groups.yahoo.com/group/__ocaml_beginners > > Bug reports: http://caml.inria.fr/bin/caml-__bugs > > >