tree: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git testing3 head: e04a6f917656dc5aab2a15a6bc3a8debb158e3d2 commit: e04a6f917656dc5aab2a15a6bc3a8debb158e3d2 [3/3] kbuild: prefix $(srctree)/ to included Makefiles in the source tree config: x86_64-randconfig-a012-20210121 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 22b68440e1647e16b5ee24b924986207173c02d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?id=e04a6f917656dc5aab2a15a6bc3a8debb158e3d2 git remote add kbuild https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git git fetch --no-tags kbuild testing3 git checkout e04a6f917656dc5aab2a15a6bc3a8debb158e3d2 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> scripts/Makefile.headersinst:15: scripts/Kbuild.include: No such file or directory >> make[2]: *** No rule to make target 'scripts/Kbuild.include'. make[2]: Failed to remake makefile 'scripts/Kbuild.include'. make[1]: *** [Makefile:1285: headers] Error 2 make[1]: Target 'headers_install' not remade because of errors. make: *** [Makefile:176: __sub-make] Error 2 make: Target 'headers_install' not remade because of errors. vim +15 scripts/Makefile.headersinst 8d730cfb50cc77da David Woodhouse 2006-06-18 11 05d8cba4a1e8c7e2 Masahiro Yamada 2017-05-16 12 PHONY := __headers 05d8cba4a1e8c7e2 Masahiro Yamada 2017-05-16 13 __headers: 05d8cba4a1e8c7e2 Masahiro Yamada 2017-05-16 14 05d8cba4a1e8c7e2 Masahiro Yamada 2017-05-16 @15 include scripts/Kbuild.include 05d8cba4a1e8c7e2 Masahiro Yamada 2017-05-16 16 :::::: The code at line 15 was first introduced by commit :::::: 05d8cba4a1e8c7e2d1f91a24a2f3d26852938a04 kbuild: skip install/check of headers right under uapi directories :::::: TO: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> :::::: CC: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip