cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
* [Cocci] Build issue after stdcompat upgrade
@ 2018-12-10 14:29 Oliver Schwahn
  2018-12-10 14:55 ` Julia Lawall
  0 siblings, 1 reply; 7+ messages in thread
From: Oliver Schwahn @ 2018-12-10 14:29 UTC (permalink / raw)
  To: cocci

Hi,

I am trying to build Coccinelle from the latest Github version (commit 
163d2058). My OCaml version is 4.05.0 on an Ubuntu 18.10.

I do the following from a clean repo checkout:
./autogen
./configure
make

and get the error:
ocamlfind ocamlc -c  -no-alias-deps -I . stdcompat__pervasives.ml -o 
stdcompat__pervasives.cmo
File "stdcompat__pervasives.ml", line 1:
Error: The implementation stdcompat__pervasives.ml
        does not match the interface stdcompat__pervasives.cmi:
        Type declarations do not match:
          type ('a, 'b) result = ('a, 'b) result = Ok of 'a | Error of 'b
        is not included in
          type ('a, 'b) result =
            ('a, 'b) Stdcompat__init.result =
              Ok of 'a
            | Error of 'b
make[2]: *** [Makefile:1370: stdcompat__pervasives.cmo] Error 2
make[2]: Leaving directory '/v/coccinelle/bundles/stdcompat/stdcompat-7'
make[1]: *** [Makefile:3: all] Error 2
make[1]: Leaving directory '/v/coccinelle/bundles/stdcompat'

Apparently this issues appeared after the upgrade of stdcompat to 
version 7. The last commit that builds on my system is 890e385a, being 
the last commit before the update.

Do you have any suggestion for a workaround?

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

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

end of thread, other threads:[~2018-12-14  8:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10 14:29 [Cocci] Build issue after stdcompat upgrade Oliver Schwahn
2018-12-10 14:55 ` Julia Lawall
2018-12-10 15:42   ` Oliver Schwahn
2018-12-10 16:13     ` Julia Lawall
2018-12-10 17:42     ` Himanshu Jha
2018-12-13 18:06       ` Flykt, Patrik
2018-12-13 18:32         ` Himanshu Jha

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