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 4AD047ED46 for ; Mon, 2 Jul 2012 11:19:09 +0200 (CEST) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gildor478@gmail.com) identity=pra; client-ip=209.85.213.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail4-smtp-sop.national.inria.fr: domain of gildor478@gmail.com designates 209.85.213.182 as permitted sender) identity=mailfrom; client-ip=209.85.213.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-yx0-f182.google.com) identity=helo; client-ip=209.85.213.182; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="postmaster@mail-yx0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYBAM1m8U/RVdW2kGdsb2JhbAA0EbZUCCIBAQEBCQkNGwQjghgBAQEDEwIsAS0LAQMBDAUQByktEgEFAQ4UExsHh1sDBgWdUwkDjxQyEAKEGicNiUgBBQyRSQOVNIESiBSFAD6BVIIs X-IronPort-AV: E=Sophos;i="4.77,509,1336341600"; d="scan'208";a="149345540" Received: from mail-yx0-f182.google.com ([209.85.213.182]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 02 Jul 2012 11:19:00 +0200 Received: by yenl8 with SMTP id l8so5908992yen.27 for ; Mon, 02 Jul 2012 02:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=QfARQc4L4Aa1gt1SkJL2KRClAx+zItYoETD1pCZV0ro=; b=cNL8wEhFd5/l4WgioiF7jkd6HPnJpm+XeH6pR3iA++Kfb3407dA09Sbu7hTeWrDAL/ QuU+359PqzQmnxXpccEQbZn8t04FmUJU8UtbSkOF6IryO7L6jD83nmnXCEozv9D7Mxf+ 7m03oMuND0kvaazu9A8jrPuFFOuxMNn0xVafG3sJMmYpw3qJTfIi6T0e4yRsgc9g6Bu0 70VbwZd+8fUWjeWR1P/6QaevGHsMjfHMTumY9Enf0PQs9Th7XpUX82eXGqt59gf2C5cd 1BBv1vNDgBU7aWRNjXq5RE4v8zXsreWXhcUtEJwGbz+AQS9/3i/9HLcTuxyxU4s2eF0W O+pw== MIME-Version: 1.0 Received: by 10.43.92.67 with SMTP id bp3mr5571215icc.16.1341220737942; Mon, 02 Jul 2012 02:18:57 -0700 (PDT) Sender: gildor478@gmail.com Received: by 10.64.48.161 with HTTP; Mon, 2 Jul 2012 02:18:57 -0700 (PDT) Date: Mon, 2 Jul 2012 11:18:57 +0200 X-Google-Sender-Auth: N4PSrxDziqwNRAoJ1lJ0fP0bCAM Message-ID: From: Sylvain Le Gall To: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Cc: caml-list@inria.fr, ocaml-core@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [was: [Caml-list] [ANN] oasis v0.3.0: Architecture for building OCaml libraries and applications] Pb with type_conv Hi, 2012/7/2 Daniel B=FCnzli : > Hello, > > Trying to install with odb.ml and ocaml 4.00.0+beta2, with > > ocaml odb.ml --unstable oasis > > But typeconv fails with [1]. Is there a magic invocation to override that= warnings are errors flag ? > I think Jane Street Core team added the "-w @Aemr-28" flags. They did it in myocamlbuild.ml section not managed by OASIS. The only solution is to change by hand. I CC the core mailing list which will provide you more information about this issue (I have the same kind of issue because of "@" on Windows). > Thanks, > > Daniel > > [1] > > Configuration: > ocamlfind: ........................................... /usr/local/bin/oca= mlfind > ocamlc: .............................................. /usr/local/bin/oca= mlc.opt > ocamlopt: ............................................ /usr/local/bin/oca= mlopt.opt > ocamlbuild: .......................................... /usr/local/bin/oca= mlbuild > Package name: ........................................ type_conv > Package version: ..................................... 108.00.01 > os_type: ............................................. Unix > system: .............................................. macosx > architecture: ........................................ amd64 > ccomp_type: .......................................... cc > ocaml_version: ....................................... 4.00.0 > standard_library_default: ............................ /usr/local/lib/oca= ml > standard_library: .................................... /usr/local/lib/oca= ml > standard_runtime: .................................... /usr/local/bin/oca= mlrun > bytecomp_c_compiler: ................................. gcc -fno-defer-pop= -Wall -D_FILE_OFFSET_BITS=3D64 -D_REENTRANT > native_c_compiler: ................................... gcc -D_FILE_OFFSET= _BITS=3D64 -D_REENTRANT > model: ............................................... default > ext_obj: ............................................. .o > ext_asm: ............................................. .s > ext_lib: ............................................. .a > ext_dll: ............................................. .so > default_executable_name: ............................. a.out > systhread_supported: ................................. true > Install architecture-independent files dir: .......... /Users/dbuenzli/.o= db > Install architecture-dependent files in dir: ......... $prefix > User executables: .................................... $exec_prefix/bin > System admin executables: ............................ $exec_prefix/sbin > Program executables: ................................. $exec_prefix/libex= ec > Read-only single-machine data: ....................... $prefix/etc > Modifiable architecture-independent data: ............ $prefix/com > Modifiable single-machine data: ...................... $prefix/var > Object code libraries: ............................... $exec_prefix/lib > Read-only arch-independent data root: ................ $prefix/share > Read-only architecture-independent data: ............. $datarootdir > Info documentation: .................................. $datarootdir/info > Locale-dependent data: ............................... $datarootdir/locale > Man documentation: ................................... $datarootdir/man > Documentation root: .................................. $datarootdir/doc/$= pkg_name > HTML documentation: .................................. $docdir > DVI documentation: ................................... $docdir > PDF documentation: ................................... $docdir > PS documentation: .................................... $docdir > findlib_version: ..................................... 1.3.2 > is_native: ........................................... true > suffix_program: ...................................... > Remove a file.: ...................................... rm -f > Remove a directory.: ................................. rm -rf > Turn ocaml debug flag on: ............................ true > Turn ocaml profile flag on: .......................... false > Compiler support generation of .cmxs.: ............... true > OCamlbuild additional flags: ......................... > Create documentations: ............................... true > Compile tests executable and library and run them: ... false > camlp4o: ............................................. /usr/local/bin/cam= lp4o > pkg_camlp4_quotations: ............................... /usr/local/lib/oca= ml/camlp4 > pkg_camlp4_extend: ................................... /usr/local/lib/oca= ml/camlp4 > ocamldoc: ............................................ /usr/local/bin/oca= mldoc > Finished, 1 target (0 cached) in 00:00:00. > getconf: no such configuration parameter `LFS64_CFLAGS' > + ocamlfind ocamlc -c -g -w @Aemr-28 -strict-sequence -package camlp4.quo= tations -package camlp4.extend -syntax camlp4o -I lib -o lib/pa_type_conv.c= mo lib/pa_type_conv.ml > File "lib/pa_type_conv.ml", line 275, characters 19-1267: > Warning 8: this pattern-matching is not exhaustive. > Here is an example of a value that is not matched: > (TyTypePol (_, _, _)|TyAnP _|TyAnM _) > File "lib/pa_type_conv.ml", line 4, characters 0-11: > Warning 33: unused open Lexing. > File "lib/pa_type_conv.ml", line 12, characters 4-8: > Warning 32: unused value both. > File "lib/pa_type_conv.ml", line 1: > Error: Error-enabled warnings (3 occurrences) > Command exited with code 2. > Compilation unsuccessful after building 4 targets (0 cached) in 00:00:01. > E: Failure("Command '/usr/local/bin/ocamlbuild lib/pa_type_conv.cma -tag = debug' terminated with error code 10") > Exception: Failure "Could not build type_conv". > > >