[mingo-tip:sched/headers 1595/2383] ./usr/include/linux/if_link.h:5:10: fatal error: uapi/linux/netlink.h: No such file or directory

From: kernel test robot
Date: Fri Jan 14 2022 - 15:49:09 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: d772004cd069a1947a890ccc8346e922f866ba1e
commit: 60d16930c980493906092825024aebd0235c0f37 [1595/2383] headers/deps: net: Optimize <uapi/linux/if_link.h>
config: x86_64-randconfig-a015 (https://download.01.org/0day-ci/archive/20220115/202201150439.Rc5HIAEq-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=60d16930c980493906092825024aebd0235c0f37
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 60d16930c980493906092825024aebd0235c0f37
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 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 <command-line>:32:
>> ./usr/include/linux/if_link.h:5:10: fatal error: uapi/linux/netlink.h: No such file or directory
5 | #include <uapi/linux/netlink.h>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx