Closed Xaekai closed 2 years ago
root@ubuntu22-packager:~/src/pve-edge-kernel# cd linux/tools/perf && make -j64 "INSTALL=install --strip-program=true" prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPLUS_DEMANGLE_SUPPORT=1 NO_LIBPYTHON=1 NO_LIBPERL=1 NO_LIBCRYPTO=1 PYTHON=python3
BUILD: Doing 'make -j64' parallel build
Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h'
diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/msr-index.h' differs from latest version at 'arch/x86/include/asm/msr-index.h'
diff -u tools/arch/x86/include/asm/msr-index.h arch/x86/include/asm/msr-index.h
Warning: Kernel ABI header at 'tools/arch/arm64/include/uapi/asm/perf_regs.h' differs from latest version at 'arch/arm64/include/uapi/asm/perf_regs.h'
diff -u tools/arch/arm64/include/uapi/asm/perf_regs.h arch/arm64/include/uapi/asm/perf_regs.h
Warning: Kernel ABI header at 'tools/include/linux/build_bug.h' differs from latest version at 'include/linux/build_bug.h'
diff -u tools/include/linux/build_bug.h include/linux/build_bug.h
Makefile.config:259: *** python3-config not found. Stop.
make[1]: *** [Makefile.perf:240: sub-make] Error 2
make: *** [Makefile:70: all] Error 2
root@ubuntu22-packager:~/src/pve-edge-kernel/linux/tools/perf#
root@ubuntu22-packager:~/src/pve-edge-kernel/linux/tools/perf#
root@ubuntu22-packager:~/src/pve-edge-kernel/linux/tools/perf# python3-config
Command 'python3-config' not found, but can be installed with:
apt install python3-dev
Seems python3-dev
should be accounted for in the dependencies.
Thanks for reporting the issue! It should be resolved by https://github.com/fabianishere/pve-edge-kernel/commit/0a29a29503150fb25bd3593a03d0e29d46c0b45b.
dh_auto_build: error: cd linux/tools/perf && make -j64 "INSTALL=install --strip-program=true" prefix=/usr HAVE_NO_LIBBFD=1 HAVE_CPLUS_DEMANGLE_SUPPORT=1 NO_LIBPYTHON=1 NO_LIBPERL=1 NO_LIBCRYPTO=1 PYTHON=python3 returned exit code 2
Complete log here
Tried on the deb11 packaging CT I used last time I built a kernel, and again on a fresh ubuntu2210 CT. Same result in both. Any ideas?