lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251020110540.GF281971@e132581.arm.com>
Date: Mon, 20 Oct 2025 12:05:40 +0100
From: Leo Yan <leo.yan@....com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Namhyung Kim <namhyung@...nel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Ingo Molnar <mingo@...hat.com>,
	Arnaldo Carvalho de Melo <acme@...nel.org>,
	Mark Rutland <mark.rutland@....com>,
	Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
	Jiri Olsa <jolsa@...nel.org>, Ian Rogers <irogers@...gle.com>,
	Adrian Hunter <adrian.hunter@...el.com>,
	linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] perf build: Add Debian/Ubuntu python-is-python3

Hi Geert,

On Mon, Oct 20, 2025 at 12:15:22PM +0200, Geert Uytterhoeven wrote:

[...]

> > Can we explicitly suggest that developers install python3-devel or
> > python3-dev instead?  Two reasons:
> >
> > - python-dev-is-python3 is specific to Ubuntu/Debian; some distros do
> >   not provide this package and even advocate against using unversioned
> >   "/usr/bin/python" shebangs [1].
> >
> > - As Namhyung mentioned, perf has removed Python 2 support (at least
> >   this is claimed), it is straightforward to install only the Python3
> >   packages.
> 
> Suggesting python3-dev sounds good to me.

It is good to mention both python3-devel / python3-dev (one is for Fedora
and another is for Debian/Ubuntu).  Sorry for confusion.

> None of the two checks:
> 
>     ifndef PYTHON
>       $(call disable-python,No python interpreter was found: disables
> Python support - please install python-devel/python-dev)
> 
>     ifndef PYTHON
>       $(error ERROR: No python interpreter found for jevents
> generation. Install python or build with NO_JEVENTS=1.)
> 
> seem to be about the python interpreter anyway, but about the python
> development environment.

Either is fine for me.

Thanks,
Leo

> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> -- 
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ