cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@inria.fr>
To: Michael Stefaniuc <mstefani@mykolab.com>
Cc: Coccinelle <cocci@systeme.lip6.fr>
Subject: Re: [Cocci] Regression finding standard.iso
Date: Thu, 22 Jul 2021 09:44:08 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2107220943100.3118@hadrien> (raw)
In-Reply-To: <f2dcf263-6c6b-9bd5-7f60-2baeb64947b4@mykolab.com>



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

      reply	other threads:[~2021-07-22  7:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-21 21:44 [Cocci] Regression finding standard.iso Michael Stefaniuc
2021-07-22  7:44 ` Julia Lawall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.22.394.2107220943100.3118@hadrien \
    --to=julia.lawall@inria.fr \
    --cc=cocci@systeme.lip6.fr \
    --cc=mstefani@mykolab.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).