Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error 6.0.x #334

Closed
Xaekai opened this issue Nov 3, 2022 · 2 comments · Fixed by #336
Closed

Build error 6.0.x #334

Xaekai opened this issue Nov 3, 2022 · 2 comments · Fixed by #336

Comments

@Xaekai
Copy link

Xaekai commented Nov 3, 2022

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?

@Xaekai
Copy link
Author

Xaekai commented Nov 3, 2022

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.

@fabianishere fabianishere linked a pull request Nov 3, 2022 that will close this issue
@fabianishere
Copy link
Owner

Thanks for reporting the issue! It should be resolved by 0a29a29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants