cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: "Flykt, Patrik" <patrik.flykt@intel.com>
To: "schwahn@cs.tu-darmstadt.de" <schwahn@cs.tu-darmstadt.de>,
	"himanshujha199640@gmail.com" <himanshujha199640@gmail.com>,
	"Ceolin, Flavio" <flavio.ceolin@intel.com>
Cc: "cocci@systeme.lip6.fr" <cocci@systeme.lip6.fr>
Subject: Re: [Cocci] Build issue after stdcompat upgrade
Date: Thu, 13 Dec 2018 18:06:28 +0000	[thread overview]
Message-ID: <d94f90c42069e3fca6075fcff761d5070012daea.camel@intel.com> (raw)
In-Reply-To: <20181210174227.GA2063@himanshu-Vostro-3559>

On Mon, 2018-12-10 at 23:12 +0530, Himanshu Jha wrote:
> On Mon, Dec 10, 2018 at 04:42:05PM +0100, Oliver Schwahn wrote:
> > > > Do you have any suggestion for a workaround?
> > > 
> > > Can you upgrade to 4.06?  I also have this problem with 4.05.
> > 
> > Thanks for the suggestion. OCaml 4.05 was indeed the problem. I
> > upgraded to 4.07 and that worked fine.
> > I also had the chance to check on configurations with OCaml 4.01.0
> > and 4.02.3, which also work as expected.
> 
> FYI Patrik & Flavio,
> 
> You too need to Upgrade and try again.
> 
> https://lore.kernel.org/cocci/ecaf70fe-1194-9457-ad0c-5f029343b2d4@cs.tu-darmstadt.de/

Debian testing with ocaml from stable, i.e. ocaml 4.02.3-9, stops with:

OCAMLOPT  parsing_c/ast_c.ml
OCAMLOPT  parsing_c/includes.ml
File "parsing_c/includes.ml", line 159, characters 9-22:
Error: Unbound module Parmap
make: *** [Makefile:424: parsing_c/includes.cmx] Error 2
rm parsing_cocci/parser_cocci_menhir.ml.d parsing_cocci/lexer_script.ml parsing_cocci/lexer_cocci.ml

Here Ubuntu OCaml seems to have a difference against Debian. Ocaml
4.05.0-10+b1 is unfortunately the latest in Debian testing and
unstable. It seems I have to sit and wait until also Debian gets
updated.

Cheers,

	Patrik

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

  reply	other threads:[~2018-12-14  8:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-12-13 18:32         ` Himanshu Jha

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=d94f90c42069e3fca6075fcff761d5070012daea.camel@intel.com \
    --to=patrik.flykt@intel.com \
    --cc=cocci@systeme.lip6.fr \
    --cc=flavio.ceolin@intel.com \
    --cc=himanshujha199640@gmail.com \
    --cc=schwahn@cs.tu-darmstadt.de \
    /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).