[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b14e6d1d-afa0-5c28-547a-9bb1a987f6fd@infradead.org>
Date: Sat, 13 Jun 2020 21:07:24 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>, cocci@...teme.lip6.fr,
Julia Lawall <julia.lawall@...6.fr>
Subject: coccinelle issues
Hi,
OK, I've not used Coccinelle and now I am trying to use it.
It seems that I am having a few issues.
The primary one is when I run spatch (via 'make coccicheck' in
the kernel source tree), it tells me:
Python error: No module named coccilib.elems
I do see "elems.py" in /usr/local/lib64/coccinelle/python/coccilib.
I am using coccinelle-master downloaded from github on
Friday June 12, 2020.
I have also made the following notes while building/installing it.
Note1: The latest coccinelle tarball is not actually available
at the coccinelle home page although the kernel documentation says it is.
Note2: https://github.com/coccinelle/coccinelle/blob/master/install.txt
says that 'spatch' is a script, but it seems to be a binary executable
file.
Note3: https://github.com/coccinelle/coccinelle/blob/master/install.txt
probably should say to use 'sudo make install' instead of just
'make install', just like 'coccinelle.rst' file in the kernel tree says.
thanks for any help that you can provide.
--
~Randy
Powered by blists - more mailing lists