[mingo-tip:master 1527/2335] ./usr/include/linux/socket.h:5:10: fatal error: uapi/linux/socket_types.h: No such file or directory

From: kernel test robot
Date: Wed Mar 16 2022 - 13:26:00 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git master
head: 85293bf3fca6d85608cff1447ce3097583f15fab
commit: d66072bb2f7b14c08b75d3d344151386141b27a1 [1527/2335] headers/deps: net: Split <linux/socket_types.h> out of <linux/socket.h>
config: i386-randconfig-a006-20220314 (https://download.01.org/0day-ci/archive/20220317/202203170120.b2FHH2Pm-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=d66072bb2f7b14c08b75d3d344151386141b27a1
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 d66072bb2f7b14c08b75d3d344151386141b27a1
# save the config file to linux build tree
mkdir build_dir
make 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 ./usr/include/linux/netlink.h:6,
from ./usr/include/linux/netconf.h:6,
from <command-line>:32:
>> ./usr/include/linux/socket.h:5:10: fatal error: uapi/linux/socket_types.h: No such file or directory
5 | #include <uapi/linux/socket_types.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

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