This is not a bug with the kernel, but with the build process for kernels in the mainline ppa. As such, logs from my machine are not relevant, and the original report links to the relevant build logs, and has relevant extracts from those logs.
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1885267 Title: Amd64 ppa kernel mainline build failing self test. Status in linux package in Ubuntu: Confirmed Bug description: Since kernel 5.6.18 / 5.7.2 and onwards, the amd64 kernel builds (and the s390x builds) in the kernel ppa at https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D are failing self tests "Test amd64/self-tests failed (rc=2, on=amd64, time=0:00:57, log=amd64 /self-tests/log)" The log shows: ++++++++++++++++++ INSTALL headers CC test_stub.o BINARY test_verifier test_verifier.c:25:10: fatal error: sys/capability.h: No such file or directory 25 | #include <sys/capability.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:398: /home/kernel/COD/linux/tools/testing/selftests/bpf/test_verifier] Error 1 make[2]: Leaving directory '/home/kernel/COD/linux/tools/testing/selftests/bpf' make[1]: *** [Makefile:157: all] Error 2 make[1]: Leaving directory '/home/kernel/COD/linux/tools/testing/selftests' make: *** [debian/rules.d/1-maintainer.mk:170: compileselftests] Error 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1885267/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp