caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Sylvain Le Gall <sylvain@le-gall.net>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: caml-list@inria.fr, ocaml-core@googlegroups.com
Subject: [was: [Caml-list] [ANN] oasis v0.3.0: Architecture for building OCaml libraries and applications] Pb with type_conv
Date: Mon, 2 Jul 2012 11:18:57 +0200	[thread overview]
Message-ID: <CAOCAUGNz5cTXk1dRqKVUr_-ky_kOBF0TswQhC059+UG3rwNCKQ@mail.gmail.com> (raw)

Hi,

2012/7/2 Daniel Bünzli <daniel.buenzli@erratique.ch>:
> 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/ocamlfind
> ocamlc: .............................................. /usr/local/bin/ocamlc.opt
> ocamlopt: ............................................ /usr/local/bin/ocamlopt.opt
> ocamlbuild: .......................................... /usr/local/bin/ocamlbuild
> 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/ocaml
> standard_library: .................................... /usr/local/lib/ocaml
> standard_runtime: .................................... /usr/local/bin/ocamlrun
> bytecomp_c_compiler: ................................. gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT
> native_c_compiler: ................................... gcc -D_FILE_OFFSET_BITS=64 -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/.odb
> Install architecture-dependent files in dir: ......... $prefix
> User executables: .................................... $exec_prefix/bin
> System admin executables: ............................ $exec_prefix/sbin
> Program executables: ................................. $exec_prefix/libexec
> 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/camlp4o
> pkg_camlp4_quotations: ............................... /usr/local/lib/ocaml/camlp4
> pkg_camlp4_extend: ................................... /usr/local/lib/ocaml/camlp4
> ocamldoc: ............................................ /usr/local/bin/ocamldoc
> 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.quotations -package camlp4.extend -syntax camlp4o -I lib -o lib/pa_type_conv.cmo 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".
>
>
>

             reply	other threads:[~2012-07-02  9:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-02  9:18 Sylvain Le Gall [this message]
2012-07-02 13:01 ` Gabriel Scherer
2012-07-09 16:05   ` Damien Doligez
2012-07-02 13:59 ` [was: [Caml-list] [ANN] oasis v0.3.0: Architecture for building OCaml libraries and applications] Pb with type_conv & odb Daniel Bünzli
2012-07-02 14:04   ` Wojciech Meyer
2012-07-02 14:31     ` Daniel Bünzli
2012-07-02 14:52       ` Wojciech Meyer
2012-07-02 14:29   ` Edgar Friendly
2012-07-13  3:29     ` Francois Berenger
2012-07-09  1:49   ` 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=CAOCAUGNz5cTXk1dRqKVUr_-ky_kOBF0TswQhC059+UG3rwNCKQ@mail.gmail.com \
    --to=sylvain@le-gall.net \
    --cc=caml-list@inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    --cc=ocaml-core@googlegroups.com \
    /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).