to configure coccinelle I'm using:
./configure --prefix=/usr/local/packages/coccinelle-`git describe`
After make install I just link the binaries to /usr/bin/.

Now I'm getting following warning when running spatch:
warning: Can't find default iso file:

standard.iso is searched now under $prefix/bin/lib instead of the correct

Reverting this commit fixes the issue for me:

commit 5016596228804588c96f0059818dd937e636d7ab
Author: Thierry Martinez <thierry.marti...@inria.fr>
Date:   Tue May 25 14:26:18 2021 +0200

    Fix GH#259: Use @libdir@ for path, substituting ${exec_prefix}

    Substitution is performed in OCaml since it enables tool relocation.
    Looking for "${exec_dir}/standard.iso" first is kept since it is the
    expected behavior for running the tool without installing it.

Cocci mailing list

Reply via email to