cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Coccinelle <cocci@systeme.lip6.fr>
Subject: [Cocci] Checking dependencies for current OCaml compiler version
Date: Sat, 22 Jun 2019 11:11:47 +0200	[thread overview]
Message-ID: <5e66ab8c-2232-ca87-b5bf-c93b3c1a1406@web.de> (raw)

Hello,

I have tried out to build the current Coccinelle software again based on
the OPAM switch “4.08.0”.
Unfortunately, I stumble on the following error message.


…
ocamlfind ocamlc -c  -no-alias-deps -I . stdcompat__pervasives.ml -o stdcompat__pervasives.cmo
File "stdcompat__pervasives.ml", line 1, characters 8-18:
1 | include Pervasives
            ^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "stdcompat__pervasives.ml", line 1:
Error: The implementation stdcompat__pervasives.ml
       does not match the interface stdcompat__pervasives.cmi:
       The value `protect' is required but not provided
       File "stdcompat__pervasives_s.mli", line 55, characters 2-60:
         Expected declaration
make[2]: *** [Makefile:1370: stdcompat__pervasives.cmo] Fehler 2
make[2]: Verzeichnis „/home/elfring/Projekte/Coccinelle/20160205/bundles/stdcompat/stdcompat-8“ wird verlassen
make[1]: *** [Makefile:3: all] Fehler 2
…


How will the software situation be improved then?

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

                 reply	other threads:[~2019-06-22  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5e66ab8c-2232-ca87-b5bf-c93b3c1a1406@web.de \
    --to=markus.elfring@web.de \
    --cc=cocci@systeme.lip6.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).