[mingo-tip:sched/headers 1597/2384] ./usr/include/linux/netlink.h:5:10: fatal error: 'uapi/linux/types.h' file not found
From: kernel test robot
Date: Sat Jan 15 2022 - 16:51:47 EST
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 4c707c1c0de83967079b4e385012fa5b00e2cd11
commit: 394a7895e7b5aeef5c98d7fbe21f09107b515d19 [1597/2384] headers/deps: net: Optimize <uapi/linux/netlink.h>
config: i386-randconfig-a006 (https://download.01.org/0day-ci/archive/20220116/202201160519.Yztp2bjA-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d1021978b8e7e35dcc30201ca1731d64b5a602a8)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=394a7895e7b5aeef5c98d7fbe21f09107b515d19
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 394a7895e7b5aeef5c98d7fbe21f09107b515d19
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
In file included from <built-in>:1:
In file included from ./usr/include/linux/fib_rules.h:6:
In file included from ./usr/include/linux/rtnetlink.h:6:
>> ./usr/include/linux/netlink.h:5:10: fatal error: 'uapi/linux/types.h' file not found
#include <uapi/linux/types.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx