Skip to content

perf build: Ubuntu LTS fixes

Geert Uytterhoeven linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perf build: Fix confusing "No python interpreter needed" messagetools/perf/Makefile.config+1 -10 replies
2/2perf build: Add Debian/Ubuntu python-is-python3tools/perf/Makefile.config+2 -26 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] perf build: Ubuntu LTS fixes

Hi all,

This patch series is the result of getting "make tools/perf" working on Ubuntu 24.04.3 LTS.

There was one remaining issue, which I could fix manually, but I don't know a good way to auto-suggest this to the user when needed. Initially, I was greeted with:

Makefile.config:1161: No openjdk development package found, please install JDK package, e.g. openjdk-8-jdk, java-latest-openjdk-devel

However, installing openjdk-8-jdk (or the latest version) did not help. Apparently tools/perf/Makefile.config sets JDIR to the first Java environment found. Hence if a Java environment was already installed, but it is not a full environment (e.g. just openjdk-21-jre) and lacks the <jvmti.h> header file, the build always fails. Only installing the matching full jdk version (i.e. openjdk-21-jdk in my case) can fix that.

Thanks for your comments!

Geert Uytterhoeven (2):
perf build: Fix confusing "No python interpreter needed" message perf build: Add Debian/Ubuntu python-is-python3

 tools/perf/Makefile.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 12 lines
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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