[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221108095425.6x6hkyzzm3yuofi6@pengutronix.de>
Date: Tue, 8 Nov 2022 10:54:25 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Nicolas Palix <nicolas.palix@...v-grenoble-alpes.fr>
Cc: Julia Lawall <julia.lawall@...ia.fr>,
nicolas palix <nicolas.palix@...g.fr>,
kernel-janitors <kernel-janitors@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Markus Elfring <Markus.Elfring@....de>, kernel@...gutronix.de,
cocci@...ia.fr
Subject: Re: [cocci] [PATCH] coccinelle: api: Don't use
devm_platform_get_and_ioremap_resource with res==NULL
Hello,
On Tue, Nov 08, 2022 at 08:55:04AM +0100, Nicolas Palix wrote:
> On 08/11/2022 06:51, Julia Lawall wrote:
> >
> > > After uninstalling python2 this ends in:
> > >
> > > Cannot find Python library
> > > coccicheck failed
> > > make: *** [Makefile:2076: coccicheck] Error 255
> > >
> > > Didn't try to debug that any further. Is that worth a bug report against
> > > coccinelle (which is shipped by my distribution)?
> > >
> > > I tried to adapt the org and report modes from other patches in the same
> > > directory. So a critical glimpse by someone more knowledgable than me is
> > > recommended. However I don't know how to react to "I doubt ... is
> > > appropriate", I'd need a more constructive feedback to act on.
> >
> > I'm not a python expert, so I'm not sure what to do about this python2 vs python3 problem. Is there some strategy for printing that works in both of them?
>
> It sounds like a missing dependency in the package system of the
> distribution. Coccinelle has been build with Python support, but
> some libraries are missing.
>
> Which distribution is it ?
> Can you install some packages that provide the two missing shared librairies
> ?
After installing python-is-python3 (which provides a symlink
/usr/bin/python -> python3) it works. This is on Debian testing.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists