selftests: -e error: missing kernel header files. Please run this and try again

From: Naresh Kamboju
Date: Thu Jun 08 2023 - 04:21:40 EST


The make kselftest-install failed on Linux next 20230608.

make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build
INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 'HOSTCC=sccache clang'
'CC=sccache clang' LLVM=1 LLVM_IAS=1 kselftest-install

make[3]: Entering directory '/builds/linux/tools/testing/selftests/alsa'

-e error: missing kernel header files.
Please run this and try again:

cd /builds/linux/tools/testing/selftests/../../..
make headers

make[3]: Leaving directory '/builds/linux/tools/testing/selftests/alsa'
make[3]: *** [../lib.mk:77: kernel_header_files] Error 1

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Links,
===
https://storage.tuxsuite.com/public/linaro/lkft/builds/2QsWmEgSFF9iwodTUrWsdopV4Qp/

--
Linaro LKFT
https://lkft.linaro.org