Regression finding standard.iso
Hello,
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:/usr/local/packages/coccinelle-1.1.0-50-g9e111ad5/bin/lib/coccinelle/standard.iso
standard.iso is searched now under $prefix/bin/lib instead of the correct $prefix/lib.
Reverting this commit fixes the issue for me:
commit 5016596228804588c96f0059818dd937e636d7ab
Author: Thierry Martinez <[email protected]> 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.
bye
michael
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
Quoted 6 lines · Michael Stefaniuc
Hello,
to configure coccinelle I'm using:
./configure --prefix=/usr/local/packages/coccinelle-git describeAfter make install I just link the binaries to/usr/bin/.
Quoted 8 lines
Now I'm getting following warning when running spatch:
warning: Can't find default iso file:/usr/local/packages/coccinelle-1.1.0-50-g9e111ad5/bin/lib/coccinelle/standard.isostandard.iso is searched now under $prefix/bin/lib instead of the correct $prefix/lib.
Reverting this commit fixes the issue for me:
Thanks for the report. Maybe Thierry can find a better way to address the issue.
julia
Quoted 13 lines
commit
5016596228804588c96f0059818dd937e636d7abAuthor: Thierry Martinez <[email protected]> Date: Tue May 25 14:26:18 2021 +0200Fix 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.
Quoted 7 lines
bye
michael
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci