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

kernel test robot
2022-03-21T01:51:32Z

tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 85293bf3fca6d85608cff1447ce3097583f15fab
commit: d7d9f2ea99cbf84ff17c9ece920e5fe9102a6892 [1894/2335] headers/deps: net: Optimize <uapi/linux/if_addr.h> dependencies
config: i386-randconfig-a012-20220314 (https://download.01.org/0day-ci/archive/20220321/202203210958.W2be4Wwn-lkp@intel.com/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=d7d9f2ea99cbf84ff17c9ece920e5fe9102a6892
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 d7d9f2ea99cbf84ff17c9ece920e5fe9102a6892
# 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@intel.com>

All errors (new ones prefixed by >>):

In file included from <built-in>:1:
>> ./usr/include/linux/if_addr.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