* [Cocci] Regression finding standard.iso
@ 2021-07-21 21:44 Michael Stefaniuc
2021-07-22 7:44 ` Julia Lawall
0 siblings, 1 reply; 2+ messages in thread
From: Michael Stefaniuc @ 2021-07-21 21:44 UTC (permalink / raw)
To: Coccinelle, Thierry Martinez
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 <Thierry.Martinez@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.
bye
michael
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Cocci] Regression finding standard.iso
2021-07-21 21:44 [Cocci] Regression finding standard.iso Michael Stefaniuc
@ 2021-07-22 7:44 ` Julia Lawall
0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2021-07-22 7:44 UTC (permalink / raw)
To: Michael Stefaniuc; +Cc: Coccinelle
On Wed, 21 Jul 2021, Michael Stefaniuc wrote:
> 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:
Thanks for the report. Maybe Thierry can find a better way to address the
issue.
julia
>
> commit 5016596228804588c96f0059818dd937e636d7ab
> Author: Thierry Martinez <Thierry.Martinez@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.
>
>
>
> bye
> michael
> _______________________________________________
> Cocci mailing list
> Cocci@systeme.lip6.fr
> https://systeme.lip6.fr/mailman/listinfo/cocci
>
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-22 7:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 21:44 [Cocci] Regression finding standard.iso Michael Stefaniuc
2021-07-22 7:44 ` Julia Lawall
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).