From: me@tobin.cc (Tobin C. Harding) Date: Thu, 16 Mar 2017 09:10:54 +1100 Subject: [Cocci] coccicheck run error In-Reply-To: References: <20170315103555.GA27181@eros> Message-ID: <20170315221054.GA13587@eros> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Wed, Mar 15, 2017 at 12:01:24PM +0100, Julia Lawall wrote: > > > On Wed, 15 Mar 2017, Tobin C. Harding wrote: > > > I am running coccinelle using > > > > $ make coccicheck MODE=report DEBUG_FILE=cocci-err.log M=drivers/staging/ks7010 > > Please check for false positives in the output before submitting a patch. > > When using "patch" mode, carefully review the patch before submitting it. > > > > coccicheck failed > > > > $ cat cocci-err.log > > 3 files match > > Fatal error: exception Sys_error("alloc_cast: No such file or directory") > > > > Using V=1 gives no additional indication of the error. > > > > Any suggestions on how to proceed please? > > What version of Coccinelle do you have? If you are not using the github > version, perhaps you could try with that. Am having trouble building from the github repository. I tried $ ./autogen $ ./configure $ make -j9 >/dev/null File "pyml-current/pyml_compat.ml", line 11, characters 20-38: Warning 3: deprecated: Lazy.lazy_from_fun Use Lazy.from_fun instead. File "unparse_c.ml", line 2367, characters 6-18: Warning 3: deprecated: String.unsafe_set make[3]: *** No rule to make target '/usr/lib/ocaml/parmap/parmap.cmxa', needed by 'spatch.opt'. Stop. make[2]: *** [opt-compil] Error 2 make[1]: *** [all-release] Error 2 make: *** [all] Error 2 I tried make all-dev also with the same result. thanks for you patience, Tobin.