[mingo-tip:master 1565/2335] ./usr/include/linux/netlink.h:5:10: fatal error: 'uapi/linux/types.h' file not found

From: kernel test robot
Date: Sun Mar 20 2022 - 18:08:39 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 85293bf3fca6d85608cff1447ce3097583f15fab
commit: a2b0e0550eec5116e11bfda2877f58a8082b0909 [1565/2335] headers/deps: net: Optimize <uapi/linux/netlink.h>
config: i386-randconfig-a012-20220314 (https://download.01.org/0day-ci/archive/20220321/202203210621.FuQPmWFx-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a6ec1e3d798f8eab43fb3a91028c6ab04e115fcb)
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=a2b0e0550eec5116e11bfda2877f58a8082b0909
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip master
git checkout a2b0e0550eec5116e11bfda2877f58a8082b0909
# 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:
>> ./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
https://01.org/lkp