Web lists-archives.com

kernel build error on install-perf




Hi.

Way at the end of the build process, when I already have the linux-image deb ready to install, it stops with the following error message:

-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
install -m 644 Documentation/tips.txt -t '/home/storage/no-backup/kernel-debian/linux-4.19.12/debian/linux-perf-4.19/usr/share/doc/linux-perf-4.19'
dh_builddeb -- -Zxz
make[5]: uscita dalla directory "/home/storage/no-backup/kernel-debian/linux-4.19.12/tools/perf" make[4]: Leaving directory '/home/storage/no-backup/kernel-debian/linux-4.19.12/tools/perf' rm -f /home/storage/no-backup/kernel-debian/linux-4.19.12/debian/linux-perf-4.19/usr/bin/trace_4.19 mkdir -p /home/storage/no-backup/kernel-debian/linux-4.19.12/debian/linux-perf-4.19/usr/share/bash-completion/ mv /home/storage/no-backup/kernel-debian/linux-4.19.12/debian/linux-perf-4.19/etc/bash_completion.d \
	/home/storage/no-backup/kernel-debian/linux-4.19.12/debian/linux-perf-4.19/usr/share/bash-completion/completions
rmdir --ignore-fail-on-non-empty /home/storage/no-backup/kernel-debian/linux-4.19.12/debian/linux-perf-4.19/etc cd /home/storage/no-backup/kernel-debian/linux-4.19.12/debian/linux-perf-4.19 && ! find \! -type d \! -path '*[_-]4.19*' | grep .
./usr/lib64/libperf-jvmti.so
make[3]: *** [/home/storage/no-backup/kernel-debian/linux-4.19.12/debian/rules.d/tools/perf/Makefile:70: install] Error 1 make[3]: Leaving directory '/home/storage/no-backup/kernel-debian/linux-4.19.12/debian/build/build-tools/tools/perf'
make[2]: *** [debian/rules.real:688: install-perf] Error 2
make[2]: *** Attesa per i processi non terminati....
dpkg-deb: building package 'linux-libc-dev' in '../linux-libc-dev_4.19.12-1a~test_amd64.deb'. make[3]: Leaving directory '/home/storage/no-backup/kernel-debian/linux-4.19.12' make[2]: uscita dalla directory "/home/storage/no-backup/kernel-debian/linux-4.19.12"
make[1]: *** [debian/rules.gen:34: binary-arch_amd64_real] Error 2
make[1]: uscita dalla directory "/home/storage/no-backup/kernel-debian/linux-4.19.12"
make: *** [debian/rules:58: binary-arch] Error 2
-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-

I have followed the documentation[1] and the build-dep for linux are installed.

As I wrote, I'm already good to go but it annoys me that there was an error! Could it be an undeclared build-dep? Or just a case of PBCAK?


Thanks,
Andrea.


[1] https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html